flashrom/flashrom.spec
Peter Lemenkov c2e3ecd8b9 typo fix
2007-10-28 07:28:44 +00:00

70 lines
2.1 KiB
RPMSpec

Summary: Simple program for reading/writing BIOS chips content
Name: flashrom
Version: 0
Release: 0.4.20071028svn2897%{?dist}
License: GPLv2+
Group: Applications/System
# svn -r 2897 export svn://linuxbios.org/repos/trunk/util/flashrom flashrom
# tar -cjvf flashrom-2897.tar.bz2 flashrom
Source0: flashrom-2897.tar.bz2
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
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
gzip %{name}.8
%build
# currently disabling DiscOnChip due to instability
CFLAGS="%{optflags} -DDISABLE_DOC" %{__make} %{?_smp_mflags}
%install
%{__rm} -rf $RPM_BUILD_ROOT
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
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc COPYING README
%{_sbindir}/%{name}
%{_mandir}/man8/%{name}.8.gz
%changelog
* Sun Oct 28 2007 Peter Lemenkov <lemenkov@gmail.com> 0-0.4.20071028svn2897
- typo fix
* 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)
* 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