r5265: ensure that the Fedora RPMS build with cups support
authorGerald Carter <jerry@samba.org>
Mon, 7 Feb 2005 19:39:15 +0000 (19:39 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:55:35 +0000 (10:55 -0500)
(This used to be commit c3f760bea97abd80aab27c125042584b4c243c7c)

packaging/Fedora/samba.spec.tmpl

index f587232a0cdb748cae8b9ac0baa2424a36de0495..e381dd0bc3d00a2efc91cf94f384cf2486b234b4 100644 (file)
@@ -32,7 +32,7 @@ Requires: logrotate >= 3.4 initscripts >= 5.54-1
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 Prereq: /sbin/chkconfig /bin/mktemp /usr/bin/killall
 Prereq: fileutils sed /etc/init.d 
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 Prereq: /sbin/chkconfig /bin/mktemp /usr/bin/killall
 Prereq: fileutils sed /etc/init.d 
-BuildRequires: pam-devel, readline-devel, ncurses-devel, fileutils, libacl-devel, openldap-devel, krb5-devel
+BuildRequires: pam-devel, readline-devel, ncurses-devel, fileutils, libacl-devel, openldap-devel, krb5-devel, cups-devel
 
 
 # Working around perl dependency problem from docs
 
 
 # Working around perl dependency problem from docs
@@ -120,7 +120,8 @@ CFLAGS="$RPM_OPT_FLAGS" ./configure \
        --with-sambabook=%{_datadir}/swat/using_samba \
        --with-swatdir=%{_datadir}/swat \
        --with-libsmbclient \
        --with-sambabook=%{_datadir}/swat/using_samba \
        --with-swatdir=%{_datadir}/swat \
        --with-libsmbclient \
-       --with-acl-support 
+       --with-acl-support \
+       --enable-cups=yes
 make showlayout
 make proto
 make %{?_smp_mflags} all nsswitch/libnss_wins.so debug2html 
 make showlayout
 make proto
 make %{?_smp_mflags} all nsswitch/libnss_wins.so debug2html