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-%{version}.tgz
12 Requires: /sbin/chkconfig
15 BuildRoot: /tmp/%{name}-%{version}-root
18 LPRng is the "next generation" printing system for UNIX, featuring
19 enhanced reliability and security.
22 LPRng jest systemem drukowania nowej generacji zwiêkszaj±cym niezawodno¶æ
30 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
33 # --with-lpddir=/usr/sbin \
34 # --with-admindir=/usr/sbin
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
43 prefix=$RPM_BUILD_ROOT/usr \
44 INSTALL_LIB=$RPM_BUILD_ROOT/usr/sbin \
45 INSTALL_MAINT=$RPM_BUILD_ROOT/usr/sbin \
48 install $RPM_SOURCE_DIR/lpd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/lpd
49 install lpd.conf lpd.perms $RPM_BUILD_ROOT/etc
50 # /etc/printcap is in the setup package
51 # touch $RPM_BUILD_ROOT/etc/printcap
53 gzip -9nf $RPM_BUILD_ROOT/usr/man/man*/* \
54 ANNOUNCE Artistic.license CHANGES CONTRIBUTORS \
55 Commercial.license HOWTO README* TESTSUPPORT
58 rm -rf $RPM_BUILD_ROOT
61 if test -r /etc/rc.d/init.d/lpd
62 then /etc/rc.d/init.d/lpd stop
65 if test -r /etc/rc.d/init.d/lpd.init
66 then /etc/rc.d/init.d/lpd.init stop
70 test "$1" = 1 && /sbin/chkconfig lpd on
75 /etc/rc.d/init.d/lpd stop
76 /sbin/chkconfig lpd off
80 %defattr(644,root,root,755)
81 # /etc/printcap is in the setup package
82 # %config /etc/printcap
84 %config /etc/lpd.perms
85 %doc {ANNOUNCE,Artistic.license,CHANGES,CONTRIBUTORS}.gz
86 %doc {Commercial.license,HOWTO,README*,TESTSUPPORT}.gz
87 %attr(755,root,root) /etc/rc.d/init.d/lpd
88 %attr(755,root,root) /usr/bin/*
89 %attr(755,root,root) /usr/sbin/*
93 * Tue Feb 9 1999 Micha³ Kuratczyk <kurkens@polbox.com>
95 - added pl translations
97 - added gzipping man pages and documentation
99 * Tue Dec 1 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
101 - added -q %setup parameter,
102 - added gzipping man pages,
103 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
104 - removed INSTALL and COPYING from %doc,
105 - added using %%{name} and %%{version} in Source,
106 - added %attr and %defattr macros in %files (allow build package from
109 * Thu Jan 29 1998 Jan "Yenya" Kasprzak <kas@fi.muni.cz
111 - Merged LPRng and LPRng-lpd packages - if you don't need lpd, chkconfig it off.
112 - Changed /etc/rc.d/init.d/lpd script to be chkconfig-compatible for RH5.0
114 * Thu Jun 5 1997 Timo Karjalainen <timok@iki.fi>
115 - Upgraded to version 3.2.6
117 * Sat May 31 1997 Timo Karjalainen <timok@iki.fi>
118 - Upgraded to version 3.2.5
119 - Some minor changes to specfile