flashrom/flashrom.spec

67 lines
2.0 KiB
RPMSpec
Raw Normal View History

2007-09-07 18:40:42 +00:00
Summary: Simple program for reading/writing BIOS chips content
Name: flashrom
Version: 0
2007-10-27 22:21:01 +00:00
Release: 0.3.20071028svn2897%{?dist}
2007-09-07 18:40:42 +00:00
License: GPLv2+
Group: Applications/System
2007-10-27 22:21:01 +00:00
# svn -r 2897 export svn://linuxbios.org/repos/trunk/util/flashrom flashrom
# tar -cjvf flashrom-2897.tar.bz2 flashrom
Source0: flashrom-2897.tar.bz2
2007-09-07 18:40:42 +00:00
Patch0: flashrom--Makefile_cleanup.diff
URL: http://linuxbios.org/Flashrom
BuildRequires: pciutils-devel
BuildRequires: zlib-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# Lacks of <sys/io.h>, see BZ# 283491
2007-09-07 18:40:42 +00:00
ExcludeArch: ppc ppc64
%description
Utility which can be used to detect BIOS chips (DIP, PLCC), read their contents
and write new contents on the chips ("flash the chip").
%prep
%setup -q -n %{name}
%patch0 -b .Makefile_cleanup
2007-10-27 22:21:01 +00:00
gzip %{name}.8
2007-09-07 18:40:42 +00:00
%build
# currently disabling DiscOnChip due to instability
CFLAGS="%{optflags} -DDISABLE_DOC" %{__make} %{?_smp_mflags}
%install
%{__rm} -rf $RPM_BUILD_ROOT
2007-10-27 22:21:01 +00:00
mkdir -p $RPM_BUILD_ROOT%{_sbindir}
install -p %{name} $RPM_BUILD_ROOT%{_sbindir}
install -D -p -m644 %{name}.8.gz $RPM_BUILD_ROOT%{_mandir}/man8/%{name}.8.gz
2007-09-07 18:40:42 +00:00
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc COPYING README
2007-09-07 18:40:42 +00:00
%{_bindir}/%{name}
2007-10-27 22:21:01 +00:00
%{_mandir}/man8/%{name}.8.gz
2007-09-07 18:40:42 +00:00
%changelog
2007-10-27 22:21:01 +00:00
* Sun Oct 28 2007 Peter Lemenkov <lemenkov@gmail.com> 0-0.3.20071028svn2897
- svn ver. 2897 (support for Gigabyte M61P-S3 SPI m/b, Am29LV040B chip)
- flashrom executable now sits in sbindir since it's administrator's tool
* Wed Oct 3 2007 Peter Lemenkov <lemenkov@gmail.com> 0-0.2.20071003svn2817
- Added correct BZ# for ExludeArch issue
- Preserved timestamp then installing flashrom
- svn ver. 2817 (support for IT8716F added, added COPYING)
2007-09-07 18:40:42 +00:00
* Thu Sep 6 2007 Peter Lemenkov <lemenkov@gmail.com> 0-0.1.20070830svn2753
- svn ver. 2753 (support for W29C040P and W29EE011 chips added)
- New naming scheme
* Wed Aug 22 2007 Peter Lemenkov <lemenkov@gmail.com> 0.0-1.2744svn
- svnver. 2744
* Sun Aug 5 2007 Peter Lemenkov <lemenkov@gmail.com> 0.0-1.2742svn
- Initial build for FC-Extras