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