1 Summary: A next-generation printing system for UNIX
2 Summary(pl): System drukowania nowej generacji
7 Group: Utilities/System
8 Group(pl): Narzêdzia/System
9 Source0: ftp://ftp.astart.com/pub/LPRng/LPRng/%{name}-%{version}.tgz
10 Source1: ftp://ftp.astart.com/pub/LPRng/LPRng/%{name}_DOC-3.5.3.tgz
12 Requires: /sbin/chkconfig
13 URL: http://www.astart.com/lprng/LPRng.html
16 BuildRoot: /tmp/%{name}-%{version}-root
19 LPRng is the "next generation" printing system for UNIX, featuring
20 enhanced reliability and security.
23 LPRng jest systemem drukowania nowej generacji zwiêkszaj±cym niezawodno¶æ
31 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
32 ./configure %{_target} \
34 # --with-lpddir=/usr/sbin \
35 # --with-admindir=/usr/sbin
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
44 prefix=$RPM_BUILD_ROOT/usr \
45 INSTALL_LIB=$RPM_BUILD_ROOT/usr/sbin \
46 INSTALL_MAINT=$RPM_BUILD_ROOT/usr/sbin \
49 install $RPM_SOURCE_DIR/lpd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/lpd
50 install lpd.conf lpd.perms $RPM_BUILD_ROOT/etc
51 # /etc/printcap is in the setup package
52 # touch $RPM_BUILD_ROOT/etc/printcap
54 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
55 ANNOUNCE Artistic.license CHANGES CONTRIBUTORS \
56 Commercial.license HOWTO README* TESTSUPPORT
59 rm -rf $RPM_BUILD_ROOT
62 if test -r /etc/rc.d/init.d/lpd
63 then /etc/rc.d/init.d/lpd stop
66 if test -r /etc/rc.d/init.d/lpd.init
67 then /etc/rc.d/init.d/lpd.init stop
71 test "$1" = 1 && /sbin/chkconfig lpd on
76 /etc/rc.d/init.d/lpd stop
77 /sbin/chkconfig lpd off
81 %defattr(644,root,root,755)
82 # /etc/printcap is in the setup package
83 # %config /etc/printcap
85 %config /etc/lpd.perms
86 %doc {ANNOUNCE,Artistic.license,CHANGES,CONTRIBUTORS}.gz
87 %doc {Commercial.license,HOWTO,README*,TESTSUPPORT}.gz
88 %attr(755,root,root) /etc/rc.d/init.d/lpd
89 %attr(755,root,root) /usr/bin/*
90 %attr(755,root,root) /usr/sbin/*
94 * Tue Feb 9 1999 Micha³ Kuratczyk <kurkens@polbox.com>
96 - added pl translations
98 - added gzipping man pages and documentation
100 * Tue Dec 1 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
102 - added -q %setup parameter,
103 - added gzipping man pages,
104 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
105 - removed INSTALL and COPYING from %doc,
106 - added using %%{name} and %%{version} in Source,
107 - added %attr and %defattr macros in %files (allow build package from
110 * Thu Jan 29 1998 Jan "Yenya" Kasprzak <kas@fi.muni.cz
112 - Merged LPRng and LPRng-lpd packages - if you don't need lpd, chkconfig it off.
113 - Changed /etc/rc.d/init.d/lpd script to be chkconfig-compatible for RH5.0
115 * Thu Jun 5 1997 Timo Karjalainen <timok@iki.fi>
116 - Upgraded to version 3.2.6
118 * Sat May 31 1997 Timo Karjalainen <timok@iki.fi>
119 - Upgraded to version 3.2.5
120 - Some minor changes to specfile