85 lines
2.7 KiB
RPMSpec
85 lines
2.7 KiB
RPMSpec
Summary: Simple program for reading/writing BIOS chips content
|
|
Name: flashrom
|
|
Version: 0
|
|
Release: 0.6.20080109svn3036%{?dist}
|
|
License: GPLv2+
|
|
Group: Applications/System
|
|
# svn -r 3036 export svn://linuxbios.org/repos/trunk/util/flashrom flashrom
|
|
# tar -cjvf flashrom-3036.tar.bz2 flashrom
|
|
Source0: flashrom-3036.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
|
|
|
|
%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 $RPM_BUILD_ROOT%{_mandir}/man8/%{name}.8
|
|
|
|
%clean
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc COPYING README
|
|
%{_sbindir}/%{name}
|
|
%{_mandir}/man8/%{name}.*
|
|
|
|
%changelog
|
|
|
|
* Wed Jan 9 2008 Peter Lemenkov <lemenkov@gmail.com> 0-0.6.20080109svn3036
|
|
- support for SST25VF040B flash chip
|
|
- enable ga_2761gxdk board
|
|
- support for EN29F002(A)(N)B chips
|
|
- support for EON EN29F002AT flash chip
|
|
- support for 25VF016B flash chip
|
|
- support for ST M25P05-A, M25P10-A, M25P20, M25P40, M25P16, M25P32,
|
|
M25P64 and M25P128 flash chips
|
|
- support for ST M25P80 flash chip
|
|
- support for AT49F002, AT49F002N, AT49F002T and AT49F002NT flash chips
|
|
- enable Acorp 6A815EPD board
|
|
|
|
* Sun Nov 18 2007 Peter Lemenkov <lemenkov@gmail.com> 0-0.5.20071118svn2967
|
|
- svn ver. 2967 (support for Intel 440MX systems, Fujitsu MBM29F400TC,
|
|
AMD Geode CS5536)
|
|
|
|
* 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
|