SPECS: LPRng.spec - killed ancient lpd.conf and printcap, use patc...
baggins
baggins at pld-linux.org
Wed Oct 31 15:35:53 CET 2007
Author: baggins Date: Wed Oct 31 14:35:53 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- killed ancient lpd.conf and printcap, use patched default
- enabled Kerberos support (NEW)
- don't regenerate every autocrap that can be regenerated
- use tcp_wrappers
- make is capable to build all by itself, no need to call it more than once
- updated docs
- reordered sources
---- Files affected:
SPECS:
LPRng.spec (1.131 -> 1.132)
---- Diffs:
================================================================
Index: SPECS/LPRng.spec
diff -u SPECS/LPRng.spec:1.131 SPECS/LPRng.spec:1.132
--- SPECS/LPRng.spec:1.131 Wed Oct 31 14:06:10 2007
+++ SPECS/LPRng.spec Wed Oct 31 15:35:48 2007
@@ -12,11 +12,9 @@
Group: Applications/System
Source0: ftp://ftp.lprng.com/pub/LPRng/LPRng/%{name}-%{version}.tgz
# Source0-md5: edbd3a381a0cc6843df7507e8f9103f1
-Source1: %{name}.init
-Source2: %{name}.conf
-Source3: %{name}.printcap
-Source4: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-pl-man-pages.tar.bz2
-# Source4-md5: 4771b1c3598677a8201a9e203235dff3
+Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-pl-man-pages.tar.bz2
+# Source1-md5: 4771b1c3598677a8201a9e203235dff3
+Source2: %{name}.init
Patch0: %{name}-ac_fixes.patch
Patch1: %{name}-lpd-perms.patch
Patch2: %{name}-ngettext.patch
@@ -25,10 +23,13 @@
Patch5: %{name}-types.patch
Patch6: %{name}-shell.patch
Patch7: %{name}-as-needed.patch
+Patch8: %{name}-DESTDIR.patch
+Patch9: %{name}-lpd.conf.patch
URL: http://www.lprng.com/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gettext-devel
+BuildRequires: krb5-devel
BuildRequires: libtool
BuildRequires: openssl-devel >= 0.9.7d
BuildRequires: rpmbuild(macros) >= 1.315
@@ -167,20 +168,17 @@
%patch5 -p1
%patch6 -p1
%patch7 -p1
+%patch8 -p1
+%patch9 -p1
-rm -rf autom4te.cache
mv PrintingCookbook/{HTML,PrintingCookbook}
%build
-%{__gettextize}
-%{__libtoolize}
-%{__aclocal}
%{__autoconf}
-cp -f /usr/share/automake/{config.*,missing} .
# now it wants to use /etc/lpd/lpd.{conf,perms} - stick to old values?
%configure \
OPENSSL=/usr/bin/openssl \
- PSHOWALL="-ax" \
+ PSHOWALL="ax" \
--disable-setuid \
--enable-shared \
--with-userid=lp \
@@ -190,10 +188,12 @@
--with-lpd_conf_path=%{_sysconfdir}/lpd.conf \
--with-lpd_perms_path=%{_sysconfdir}/lpd.perms \
--with-done_jobs=0 \
- --disable-werror
+ --disable-werror \
+ --enable-kerberos \
+ --enable-tcpwrappers \
+ --enable-ssl
-%{__make} -j1
-%{__make} -C man
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
@@ -203,19 +203,12 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT \
POSTINSTALL="NO"
-%{__make} install -C man \
- DESTDIR=$RPM_BUILD_ROOT
-install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/lpd
-# yes, overwrite distribution lpd.conf
-install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/lpd.conf
-echo "default_printer = lp" >> $RPM_BUILD_ROOT%{_sysconfdir}/lpd.conf
-install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/printcap
-install lpd.perms $RPM_BUILD_ROOT%{_sysconfdir}
+install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/lpd
-bzip2 -dc %{SOURCE4} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
+bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
-rm -f $RPM_BUILD_ROOT%{_libdir}/liblpr.{la,a}
+rm $RPM_BUILD_ROOT%{_libdir}/liblpr.{la,a}
%find_lang %{name}
@@ -238,7 +231,8 @@
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc CHANGES CONTRIBUTORS COPYRIGHT README README.SSL* TODO
-%doc DOCS/LPRng-Reference-Multipart PrintingCookbook/PrintingCookbook
+%doc DOCS/LPRng-Reference.{html,pdf} DOCS/*.jpg DOCS/*.png
+%doc PrintingCookbook/PrintingCookbook PrintingCookbook/PDF/*.pdf
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lpd.conf
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lpd.perms
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/printcap
@@ -264,6 +258,15 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.132 2007/10/31 14:35:48 baggins
+- killed ancient lpd.conf and printcap, use patched default
+- enabled Kerberos support (NEW)
+- don't regenerate every autocrap that can be regenerated
+- use tcp_wrappers
+- make is capable to build all by itself, no need to call it more than once
+- updated docs
+- reordered sources
+
Revision 1.131 2007/10/31 13:06:10 baggins
- 3.8.32
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/LPRng.spec?r1=1.131&r2=1.132&f=u
More information about the pld-cvs-commit
mailing list