SPECS: gtk+2.spec - added cups bcond

qboosh qboosh at pld-linux.org
Thu Jul 20 23:41:48 CEST 2006


Author: qboosh                       Date: Thu Jul 20 21:41:48 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added cups bcond

---- Files affected:
SPECS:
   gtk+2.spec (1.221 -> 1.222) 

---- Diffs:

================================================================
Index: SPECS/gtk+2.spec
diff -u SPECS/gtk+2.spec:1.221 SPECS/gtk+2.spec:1.222
--- SPECS/gtk+2.spec:1.221	Mon Jul 10 22:43:51 2006
+++ SPECS/gtk+2.spec	Thu Jul 20 23:41:39 2006
@@ -2,6 +2,7 @@
 #
 # Conditional build:
 %bcond_without	apidocs		# disable gtk-doc
+%bcond_without	cups		# disable CUPS support
 %bcond_without	static_libs	# don't build static library
 #
 Summary:	The Gimp Toolkit
@@ -26,7 +27,7 @@
 BuildRequires:	autoconf >= 2.54
 BuildRequires:	automake >= 1:1.7
 BuildRequires:	cairo-devel >= 1.2.0
-BuildRequires:	cups-devel
+%{?with_cups:BuildRequires:	cups-devel}
 BuildRequires:	docbook-dtd412-xml
 BuildRequires:	docbook-style-xsl
 BuildRequires:	gettext-devel
@@ -187,6 +188,7 @@
 %{__automake}
 LDFLAGS="%{rpmldflags} -Wl,--as-needed"
 %configure \
+	%{!?with_cups:ac_cv_path_CUPS_CONFIG=no} \
 	%{?debug:--enable-debug=yes} \
 	--%{?with_apidocs:en}%{!?with_apidocs:dis}able-gtk-doc \
 	--enable-man \
@@ -317,6 +319,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.222  2006/07/20 21:41:39  qboosh
+- added cups bcond
+
 Revision 1.221  2006/07/10 20:43:51  freetz
 - --as-needed support, updated deps
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gtk+2.spec?r1=1.221&r2=1.222&f=u



More information about the pld-cvs-commit mailing list