]> git.pld-linux.org Git - packages/cups.git/commitdiff
- ldap,gssapi and slp bconds, for minimal build
authorJacek Konieczny <jajcus@pld-linux.org>
Fri, 16 Apr 2010 20:18:14 +0000 (20:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cups.spec -> 1.284

cups.spec

index 21b36698a3799cb6583a9ee1f4bf14324e5508b2..a4e0c95bdccf19c480f2f0e6952a1438fded95bd 100644 (file)
--- a/cups.spec
+++ b/cups.spec
@@ -2,9 +2,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
@@ -45,7 +48,7 @@ BuildRequires:        automake
 %{?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}
@@ -57,8 +60,8 @@ BuildRequires:        libstdc++-devel
 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}
@@ -351,8 +354,11 @@ Wsparcie dla LPD w serwerze wydruków CUPS.
        --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 \
This page took 0.156546 seconds and 4 git commands to generate.