packages: flashrom/flashrom.spec - BR: libftdi-devel
qboosh
qboosh at pld-linux.org
Tue Aug 16 20:42:54 CEST 2011
Author: qboosh Date: Tue Aug 16 18:42:54 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- BR: libftdi-devel
---- Files affected:
packages/flashrom:
flashrom.spec (1.15 -> 1.16)
---- Diffs:
================================================================
Index: packages/flashrom/flashrom.spec
diff -u packages/flashrom/flashrom.spec:1.15 packages/flashrom/flashrom.spec:1.16
--- packages/flashrom/flashrom.spec:1.15 Tue Aug 16 20:05:51 2011
+++ packages/flashrom/flashrom.spec Tue Aug 16 20:42:49 2011
@@ -1,4 +1,8 @@
# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without ftdi # FTDI chips
+#
Summary: Tool Flashing your BIOS from the Unix/Linux command line
Summary(pl.UTF-8): Narzędzie do aktualizacji BIOS-u z linii poleceń Uniksa/Linuksa
Name: flashrom
@@ -9,6 +13,7 @@
Source0: http://download.flashrom.org/releases/%{name}-%{version}.tar.bz2
# Source0-md5: d739a91aece12cc1e622038bb199541c
URL: http://www.flashrom.org/Flashrom
+%{?with_ftdi:BuildRequires: libftdi-devel}
BuildRequires: pciutils-devel
BuildRequires: zlib-devel
ExclusiveArch: %{ix86} %{x8664} mips ppc ppc64
@@ -80,7 +85,8 @@
%{__make} \
CC='%{__cc}' \
CFLAGS="%{rpmcflags}" \
- LDFLAGS="%{rpmldflags}"
+ LDFLAGS="%{rpmldflags}" \
+ %{!?with_ftdi:CONFIG_FT2232_SPI=no}
%install
rm -rf $RPM_BUILD_ROOT
@@ -103,6 +109,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.16 2011/08/16 18:42:49 qboosh
+- BR: libftdi-devel
+
Revision 1.15 2011/08/16 18:05:51 qboosh
- updated URL
- pl fixes
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/flashrom/flashrom.spec?r1=1.15&r2=1.16&f=u
More information about the pld-cvs-commit
mailing list