Ver. 0.9.0
This commit is contained in:
parent
638530a4a6
commit
3064ad25c2
@ -1 +1 @@
|
|||||||
flashrom-4107.tar.bz2
|
flashrom-0.9.0.tar.bz2
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
--- Makefile.orig 2009-01-26 09:42:02.000000000 +0300
|
--- Makefile~ 2009-05-04 03:37:07.000000000 +0400
|
||||||
+++ Makefile 2009-03-11 15:46:46.227346626 +0300
|
+++ Makefile 2009-05-05 10:00:38.680942737 +0400
|
||||||
@@ -9,14 +9,14 @@
|
@@ -9,9 +9,9 @@
|
||||||
CC = gcc
|
CC ?= gcc
|
||||||
STRIP = strip
|
STRIP = strip
|
||||||
INSTALL = /usr/bin/install
|
INSTALL = /usr/bin/install
|
||||||
-PREFIX = /usr/local
|
-PREFIX = /usr/local
|
||||||
@ -12,19 +12,7 @@
|
|||||||
LDFLAGS =
|
LDFLAGS =
|
||||||
|
|
||||||
OS_ARCH = $(shell uname)
|
OS_ARCH = $(shell uname)
|
||||||
ifneq ($(OS_ARCH), SunOS)
|
@@ -43,7 +43,6 @@
|
||||||
-STRIP_ARGS = -s
|
|
||||||
+#STRIP_ARGS = -s
|
|
||||||
endif
|
|
||||||
ifeq ($(OS_ARCH), Darwin)
|
|
||||||
CFLAGS += -I/usr/local/include
|
|
||||||
@@ -40,12 +40,11 @@
|
|
||||||
|
|
||||||
# Set the flashrom version string from the highest revision number
|
|
||||||
# of the checked out flashrom files.
|
|
||||||
-SVNDEF := -D'FLASHROM_VERSION="$(shell svnversion -cn . \
|
|
||||||
+#SVNDEF := -D'FLASHROM_VERSION="$(shell svnversion -cn . \
|
|
||||||
| sed -e "s/.*://" -e "s/\([0-9]*\).*/\1/")"'
|
|
||||||
|
|
||||||
$(PROGRAM): $(OBJS)
|
$(PROGRAM): $(OBJS)
|
||||||
$(CC) -o $(PROGRAM) $(OBJS) $(LDFLAGS)
|
$(CC) -o $(PROGRAM) $(OBJS) $(LDFLAGS)
|
||||||
|
@ -1,15 +1,12 @@
|
|||||||
%define svnver 4107
|
|
||||||
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.9.0
|
||||||
Release: 0.18.20090414svn%{svnver}%{?dist}
|
Release: 1%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
# svn -r %{svnver} export svn://coreboot.org/repos/trunk/util/flashrom flashrom
|
URL: http://coreboot.org/flashrom
|
||||||
# tar -cjvf flashrom-%{svnver}.tar.bz2 flashrom
|
Source0: http://qa.coreboot.org/releases/%{name}-%{version}.tar.bz2
|
||||||
Source0: flashrom-%{svnver}.tar.bz2
|
|
||||||
Patch0: flashrom--Makefile_cleanup.diff
|
Patch0: flashrom--Makefile_cleanup.diff
|
||||||
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)
|
||||||
@ -22,12 +19,11 @@ Utility which can be used to detect BIOS chips (DIP, PLCC), read their contents
|
|||||||
and write new contents on the chips ("flash the chip").
|
and write new contents on the chips ("flash the chip").
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}
|
%setup -q
|
||||||
%patch0 -b .Makefile_cleanup
|
%patch0 -p0 -b .Makefile_cleanup
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# currently disabling DiscOnChip due to instability
|
CFLAGS="%{optflags}" %{__make} %{?_smp_mflags}
|
||||||
CFLAGS="%{optflags} -D'FLASHROM_VERSION=\"%{svnver}\"'" %{__make} %{?_smp_mflags}
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
@ -45,6 +41,9 @@ install -D -p -m644 %{name}.8 $RPM_BUILD_ROOT%{_mandir}/man8/%{name}.8
|
|||||||
%{_mandir}/man8/%{name}.*
|
%{_mandir}/man8/%{name}.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue May 5 2009 Peter Lemenkov <lemenkov@gmail.com> 0.9.0-1
|
||||||
|
- Ver. 0.9.0
|
||||||
|
|
||||||
* Tue Apr 14 2009 Peter Lemenkov <lemenkov@gmail.com> 0-0.18.20090414svn4107
|
* Tue Apr 14 2009 Peter Lemenkov <lemenkov@gmail.com> 0-0.18.20090414svn4107
|
||||||
- Various manpage / README fixes
|
- Various manpage / README fixes
|
||||||
- Board enable support for HP DL145 G3
|
- Board enable support for HP DL145 G3
|
||||||
|
@ -4,3 +4,4 @@ flashrom-0-0_14_20081103svn3723_fc9:HEAD:flashrom-0-0.14.20081103svn3723.fc9.src
|
|||||||
flashrom-0-0_15_20090112svn3852_fc10:HEAD:flashrom-0-0.15.20090112svn3852.fc10.src.rpm:1231410331
|
flashrom-0-0_15_20090112svn3852_fc10:HEAD:flashrom-0-0.15.20090112svn3852.fc10.src.rpm:1231410331
|
||||||
flashrom-0-0_17_20090311svn3984_fc10:HEAD:flashrom-0-0.17.20090311svn3984.fc10.src.rpm:1236776289
|
flashrom-0-0_17_20090311svn3984_fc10:HEAD:flashrom-0-0.17.20090311svn3984.fc10.src.rpm:1236776289
|
||||||
flashrom-0-0_18_20090414svn4107_fc10:HEAD:flashrom-0-0.18.20090414svn4107.fc10.src.rpm:1239696789
|
flashrom-0-0_18_20090414svn4107_fc10:HEAD:flashrom-0-0.18.20090414svn4107.fc10.src.rpm:1239696789
|
||||||
|
flashrom-0_9_0-1_fc10:HEAD:flashrom-0.9.0-1.fc10.src.rpm:1241503535
|
||||||
|
Loading…
Reference in New Issue
Block a user