]> git.pld-linux.org Git - packages/giflib.git/commitdiff
- bcond_without x
authorareq <areq@pld-linux.org>
Sat, 3 Feb 2007 23:52:26 +0000 (23:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    giflib.spec -> 1.19

giflib.spec

index cb06b4f0ad004ed73d503df7389f7258552772da..f981ea6f3c566c291255f4a7334090be50a98553 100644 (file)
@@ -1,3 +1,7 @@
+#
+# 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
@@ -22,7 +26,7 @@ BuildRequires:        libtool
 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
@@ -159,7 +163,7 @@ cd util
 %{__autoheader}
 %{__autoconf}
 %{__automake}
-%configure
+%configure %{!?with_x:--without-x}
 %{__make}
 
 %install
This page took 1.464318 seconds and 4 git commands to generate.