packages: cups/cups.spec - ldap, gssapi and slp bconds, for minimal build

jajcus jajcus at pld-linux.org
Fri Apr 16 22:18:20 CEST 2010


Author: jajcus                       Date: Fri Apr 16 20:18:20 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- ldap,gssapi and slp bconds, for minimal build

---- Files affected:
packages/cups:
   cups.spec (1.283 -> 1.284) 

---- Diffs:

================================================================
Index: packages/cups/cups.spec
diff -u packages/cups/cups.spec:1.283 packages/cups/cups.spec:1.284
--- packages/cups/cups.spec:1.283	Mon Apr 12 14:27:04 2010
+++ packages/cups/cups.spec	Fri Apr 16 22:18:14 2010
@@ -3,9 +3,12 @@
 # Conditional build:
 %bcond_with	gnutls		# use GNU TLS for SSL/TLS support (instead of OpenSSL)
 %bcond_without	dnssd
+%bcond_without	ldap		# do not include LDAP support
+%bcond_without	gssapi		# do not include GSSAPI support
 %bcond_without	php		# don't build PHP extension/support in web interface
 %bcond_without	perl		# don't build Perl extension/support in web interface
 %bcond_without	python		# don't build Python support in web interface
+%bcond_without	slp		# do not include SLP support
 %bcond_without	static_libs	# don't build static library
 #
 %include	/usr/lib/rpm/macros.perl
@@ -46,7 +49,7 @@
 %{?with_dnssd:BuildRequires:	avahi-compat-libdns_sd-devel}
 BuildRequires:	dbus-devel
 BuildRequires:	glibc-headers
-BuildRequires:	heimdal-devel
+%{?with_gssapi:BuildRequires:	heimdal-devel}
 %{?with_gnutls:BuildRequires:	gnutls-devel}
 %{?with_java:BuildRequires:	jar}
 %{?with_java:BuildRequires:	jdk}
@@ -58,8 +61,8 @@
 BuildRequires:	libtiff-devel
 BuildRequires:	libusb-devel
 BuildRequires:	libusb-compat-devel
-BuildRequires:	openldap-devel
-BuildRequires:	openslp-devel
+%{?with_ldap:BuildRequires:	openldap-devel}
+%{?with_slp:BuildRequires:	openslp-devel}
 %{!?with_gnutls:BuildRequires:	openssl-devel}
 BuildRequires:	pam-devel
 %{?with_php:BuildRequires:	php-devel >= 4:5.0.0}
@@ -352,8 +355,11 @@
 	--enable-ssl \
 	%{?debug:--enable-debug} \
 	--%{!?with_dnssd:dis}%{?with_dnssd:en}able-dnssd \
+	--%{!?with_ldap:dis}%{?with_ldap:en}able-ldap \
+	--%{!?with_gssapi:dis}%{?with_gssapi:en}able-gssapi \
 	--%{!?with_gnutls:dis}%{?with_gnutls:en}able-gnutls \
 	--%{?with_gnutls:dis}%{!?with_gnutls:en}able-openssl \
+	--%{!?with_slp:dis}%{?with_slp:en}able-slp \
 	%{?with_static_libs:--enable-static} \
 	--with-cups-user=lp \
 	--with-cups-group=lp \
@@ -745,6 +751,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.284  2010/04/16 20:18:14  jajcus
+- ldap,gssapi and slp bconds, for minimal build
+
 Revision 1.283  2010/04/12 12:27:04  baggins
 - rel 8
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cups/cups.spec?r1=1.283&r2=1.284&f=u



More information about the pld-cvs-commit mailing list