svn ver. 2817 (support for IT8716F added, added COPYING)
This commit is contained in:
parent
f5e9ecfaf6
commit
3fe99615e8
@ -1 +1 @@
|
|||||||
flashrom-2753.tar.bz2
|
flashrom-2817.tar.bz2
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
-PREFIX = /usr/local
|
-PREFIX = /usr/local
|
||||||
-#CFLAGS = -O2 -g -Wall -Werror
|
-#CFLAGS = -O2 -g -Wall -Werror
|
||||||
-CFLAGS = -Os -Wall -Werror -DDISABLE_DOC # -DTS5300
|
-CFLAGS = -Os -Wall -Werror -DDISABLE_DOC # -DTS5300
|
||||||
+PREFIX = /usr/
|
+PREFIX = /usr
|
||||||
OS_ARCH = $(shell uname)
|
OS_ARCH = $(shell uname)
|
||||||
-ifeq ($(OS_ARCH), SunOS)
|
-ifeq ($(OS_ARCH), SunOS)
|
||||||
LDFLAGS = -lpci -lz
|
LDFLAGS = -lpci -lz
|
||||||
|
@ -1,19 +1,19 @@
|
|||||||
Summary: Simple program for reading/writing BIOS chips content
|
Summary: Simple program for reading/writing BIOS chips content
|
||||||
Name: flashrom
|
Name: flashrom
|
||||||
Version: 0
|
Version: 0
|
||||||
Release: 0.1.20070830svn2753%{?dist}
|
Release: 0.2.20071003svn2817%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
# svn -r 2753 export svn://linuxbios.org/repos/trunk/util/flashrom flashrom
|
# svn -r 2817 export svn://linuxbios.org/repos/trunk/util/flashrom flashrom
|
||||||
# tar -cjvf flashrom-2753.tar.bz2 flashrom
|
# tar -cjvf flashrom-2817.tar.bz2 flashrom
|
||||||
Source0: flashrom-2753.tar.bz2
|
Source0: flashrom-2817.tar.bz2
|
||||||
Patch0: flashrom--Makefile_cleanup.diff
|
Patch0: flashrom--Makefile_cleanup.diff
|
||||||
URL: http://linuxbios.org/Flashrom
|
URL: http://linuxbios.org/Flashrom
|
||||||
BuildRequires: pciutils-devel
|
BuildRequires: pciutils-devel
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
# Lacks of <sys/io.h>
|
# Lacks of <sys/io.h>, see BZ# 283491
|
||||||
ExcludeArch: ppc ppc64
|
ExcludeArch: ppc ppc64
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -22,7 +22,7 @@ and write new contents on the chips ("flash the chip").
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}
|
%setup -q -n %{name}
|
||||||
%patch0
|
%patch0 -b .Makefile_cleanup
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# currently disabling DiscOnChip due to instability
|
# currently disabling DiscOnChip due to instability
|
||||||
@ -31,7 +31,7 @@ CFLAGS="%{optflags} -DDISABLE_DOC" %{__make} %{?_smp_mflags}
|
|||||||
%install
|
%install
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
||||||
install %{name} $RPM_BUILD_ROOT%{_bindir}
|
install -p %{name} $RPM_BUILD_ROOT%{_bindir}
|
||||||
install -D -p -m644 %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1
|
install -D -p -m644 %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -39,12 +39,17 @@ install -D -p -m644 %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README
|
%doc COPYING README
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_mandir}/man1/%{name}.1.gz
|
%{_mandir}/man1/%{name}.1.gz
|
||||||
|
|
||||||
%changelog
|
%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)
|
||||||
|
|
||||||
* Thu Sep 6 2007 Peter Lemenkov <lemenkov@gmail.com> 0-0.1.20070830svn2753
|
* Thu Sep 6 2007 Peter Lemenkov <lemenkov@gmail.com> 0-0.1.20070830svn2753
|
||||||
- svn ver. 2753 (support for W29C040P and W29EE011 chips added)
|
- svn ver. 2753 (support for W29C040P and W29EE011 chips added)
|
||||||
- New naming scheme
|
- New naming scheme
|
||||||
|
Loading…
Reference in New Issue
Block a user