]> git.pld-linux.org Git - packages/LPRng.git/blobdiff - LPRng.spec
- release 2
[packages/LPRng.git] / LPRng.spec
index 2641e0c80b29a867ff7950b10da034094b8e724b..599c62becf45396aa2f3d02edf4a06b2fde8b942 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_with    kerberos5       # build with kerberos5 support
+#
 Summary:       A next-generation printing system for UNIX
 Summary(pl.UTF-8):     System drukowania nowej generacji
 Summary(pt_BR.UTF-8):  Gerenciador de impressão para UNIX e NT
@@ -5,12 +9,12 @@ Summary(ru.UTF-8):    Спулер печати LPRng
 Summary(uk.UTF-8):     Спулер друку LPRng
 Summary(zh_CN.UTF-8):  LPRng--打印程序
 Name:          LPRng
-Version:       3.8.33
-Release:       0.1
+Version:       3.8.35
+Release:       2
 License:       GPL v2 with OpenSSL exception or Artistic
 Group:         Applications/System
 Source0:       ftp://ftp.lprng.com/pub/LPRng/LPRng/%{name}-%{version}.tgz
-# Source0-md5: d467786ca51ade0faeb6e41430e8f208
+# Source0-md5: aaf76e4a94300352514d23bdfa66f0e7
 Source1:       http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-pl-man-pages.tar.bz2
 # Source1-md5: 4771b1c3598677a8201a9e203235dff3
 Source2:       %{name}.init
@@ -27,7 +31,7 @@ URL:          http://www.lprng.com/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: gettext-devel
-BuildRequires: heimdal-devel
+%{?with_kerberos5:BuildRequires:       heimdal-devel}
 BuildRequires: libtool
 BuildRequires: libwrap-devel
 BuildRequires: openssl-devel >= 0.9.7d
@@ -188,18 +192,19 @@ rm -f po/stamp-po
        --with-lpd_perms_path=%{_sysconfdir}/lpd.perms \
        --with-done_jobs=0 \
        --disable-werror \
-       --enable-kerberos \
+       %{?with_kerberos5:--enable-kerberos} \
+       %{!?with_kerberos5:--disable-kerberos} \
        --enable-tcpwrappers \
        --enable-ssl
 
-%{__make}
+%{__make} -j1
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,%{_var}/spool/lpd/lp} \
        $RPM_BUILD_ROOT%{_sysconfdir}/lpd/ssl.{ca,crl,server}
 
-%{__make} install \
+%{__make} -j1 install \
        DESTDIR=$RPM_BUILD_ROOT \
        POSTINSTALL="NO"
 
This page took 0.051712 seconds and 4 git commands to generate.