svn ver. 1180

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
This commit is contained in:
Peter Lemenkov 2010-09-21 13:34:26 +04:00
parent b85974cf4b
commit ebb066d53a
3 changed files with 3505 additions and 1086 deletions

File diff suppressed because it is too large Load Diff

View File

@ -5,7 +5,7 @@
# Note to packagers: Any tree exported with "make export" or "make tarball"
# will not require subversion. The downloadable snapshots are already exported.
-SVNVERSION := 1001
+SVNVERSION := 1158
+SVNVERSION := 1180
RELEASE := 0.9.2
VERSION := $(RELEASE)-r$(SVNVERSION)

View File

@ -1,9 +1,9 @@
%global svnrev 1158
%global svnrev 1180
Summary: Simple program for reading/writing BIOS chips content
Name: flashrom
Version: 0.9.2
Release: 3.svn1158%{?dist}
Release: 5.svn1180%{?dist}
License: GPLv2
Group: Applications/System
URL: http://flashrom.org
@ -14,12 +14,14 @@ Patch1: flashrom-svn_ver.diff
Patch2: flashrom-0001-Define-dmidecode-path-at-a-build-stage.patch
BuildRequires: pciutils-devel
BuildRequires: zlib-devel
%ifnarch ppc ppc64
BuildRequires: dmidecode
Requires: dmidecode
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# see BZ# 283491, 450273, 495226
ExclusiveArch: %{ix86} x86_64
# see rhbz #450273, #495226
ExclusiveArch: %{ix86} x86_64 ppc ppc64
%description
Utility which can be used to detect BIOS chips (DIP, PLCC), read their contents
@ -32,11 +34,19 @@ and write new contents on the chips ("flash the chip").
%patch2 -p1
%build
%ifarch ppc ppc64
CFLAGS="%{optflags}" make %{?_smp_mflags} CONFIG_RAYER_SPI=no CONFIG_NIC3COM=no CONFIG_NICREALTEK=no
%else
CFLAGS="%{optflags}" make %{?_smp_mflags}
%endif
%install
rm -rf $RPM_BUILD_ROOT
%ifarch ppc ppc64
make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} CONFIG_RAYER_SPI=no CONFIG_NIC3COM=no CONFIG_NICREALTEK=no
%else
make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix}
%endif
%clean
rm -rf $RPM_BUILD_ROOT
@ -48,6 +58,13 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man8/%{name}.*
%changelog
* Tue Sep 21 2010 Peter Lemenkov <lemenkov@gmail.com> 0.9.2-5.svn1180
- Patch no.3 merged upstream
* Fri Sep 17 2010 Peter Lemenkov <lemenkov@gmail.com> 0.9.2-4.svn1158
- Enable building on PowerPC (only external flashers enabled so far).
See rhbz #283491.
* Sun Sep 12 2010 Peter Lemenkov <lemenkov@gmail.com> 0.9.2-3.svn1158
- Clean up spec-file
- Updated to latest svn ver. 1158