SPECS: giflib.spec - bcond_without x
areq
areq at pld-linux.org
Sun Feb 4 00:52:31 CET 2007
Author: areq Date: Sat Feb 3 23:52:31 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- bcond_without x
---- Files affected:
SPECS:
giflib.spec (1.18 -> 1.19)
---- Diffs:
================================================================
Index: SPECS/giflib.spec
diff -u SPECS/giflib.spec:1.18 SPECS/giflib.spec:1.19
--- SPECS/giflib.spec:1.18 Tue Jan 9 14:46:45 2007
+++ SPECS/giflib.spec Sun Feb 4 00:52:26 2007
@@ -1,4 +1,8 @@
# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without x # without X11
+#
Summary: GIF-manipulation library
Summary(es): Biblioteca de manipulación de archivos GIF
Summary(pl): Biblioteka do obróbki plików GIF
@@ -23,7 +27,7 @@
BuildRequires: netpbm-devel
BuildRequires: rpmbuild(macros) >= 1.213
BuildRequires: urt-devel
-BuildRequires: xorg-lib-libX11-devel
+%{?with_x:BuildRequires: xorg-lib-libX11-devel}
%ifarch %{x8664} ia64 ppc64 s390x sparc64
Provides: libungif.so.4()(64bit)
%else
@@ -160,7 +164,7 @@
%{__autoheader}
%{__autoconf}
%{__automake}
-%configure
+%configure %{!?with_x:--without-x}
%{__make}
%install
@@ -216,6 +220,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.19 2007/02/03 23:52:26 areq
+- bcond_without x
+
Revision 1.18 2007/01/09 13:46:45 glen
- add segfault patch; rel 4
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/giflib.spec?r1=1.18&r2=1.19&f=u
More information about the pld-cvs-commit
mailing list