flashrom/flashrom.spec

62 lines
1.8 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
Release: 0.2.20071003svn2817%{?dist}
2007-09-07 18:40:42 +00:00
License: GPLv2+
Group: Applications/System
# svn -r 2817 export svn://linuxbios.org/repos/trunk/util/flashrom flashrom
# tar -cjvf flashrom-2817.tar.bz2 flashrom
Source0: flashrom-2817.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-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
mkdir -p $RPM_BUILD_ROOT%{_bindir}
install -p %{name} $RPM_BUILD_ROOT%{_bindir}
2007-09-07 18:40:42 +00:00
install -D -p -m644 %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc COPYING README
2007-09-07 18:40:42 +00:00
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1.gz
%changelog
* 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