1 Summary: A next-generation printing system for UNIX
6 Group: Utilities/System
7 Source0: ftp://ftp.astart.com/pub/LPRng/LPRng/%{name}-%{version}.tgz
8 Source1: ftp://ftp.astart.com/pub/LPRng/LPRng/%{name}_DOC-%{version}.tgz
10 Requires: /sbin/chkconfig
11 BuildRoot: /tmp/%{name}-%{version}-root
16 LPRng is the "next generation" printing system for UNIX, featuring
17 enhanced reliability and security.
24 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
27 # --with-lpddir=/usr/sbin \
28 # --with-admindir=/usr/sbin
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
37 prefix=$RPM_BUILD_ROOT/usr \
38 INSTALL_LIB=$RPM_BUILD_ROOT/usr/sbin \
39 INSTALL_MAINT=$RPM_BUILD_ROOT/usr/sbin \
42 install $RPM_SOURCE_DIR/lpd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/lpd
43 install lpd.conf lpd.perms $RPM_BUILD_ROOT/etc
44 # /etc/printcap is in the setup package
45 # touch $RPM_BUILD_ROOT/etc/printcap
48 rm -rf $RPM_BUILD_ROOT
51 if test -r /etc/rc.d/init.d/lpd
52 then /etc/rc.d/init.d/lpd stop
54 if test -r /etc/rc.d/init.d/lpd.init
55 then /etc/rc.d/init.d/lpd.init stop
59 test "$1" = 1 && /sbin/chkconfig lpd on
64 /etc/rc.d/init.d/lpd stop
65 /sbin/chkconfig lpd off
69 %defattr(644, root, root, 755)
70 # /etc/printcap is in the setup package
71 # %config /etc/printcap
73 %config /etc/lpd.perms
74 %doc ABOUT-NLS.LPRng ANNOUNCE Artistic.license CHANGES CONTRIBUTORS
75 %doc Commercial.license HOWTO INSTALL LICENSE README* TESTSUPPORT
76 %attr(755,root,root) /etc/rc.d/init.d/lpd
77 %attr(755,root,root) /usr/bin/*
78 %attr(755,root,root) /usr/sbin/*
79 %attr(644,root, man) /usr/man/man[158]/*
82 * Tue Dec 1 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
84 - added -q %setup parameter,
85 - added gzipping man pages,
86 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
87 - removed INSTALL and COPYING from %doc,
88 - added using %%{name} and %%{version} in Source,
89 - added %attr and %defattr macros in %files (allow build package from
92 * Thu Jan 29 1998 Jan "Yenya" Kasprzak <kas@fi.muni.cz
94 - Merged LPRng and LPRng-lpd packages - if you don't need lpd, chkconfig it off.
95 - Changed /etc/rc.d/init.d/lpd script to be chkconfig-compatible for RH5.0
97 * Thu Jun 5 1997 Timo Karjalainen <timok@iki.fi>
98 - Upgraded to version 3.2.6
100 * Sat May 31 1997 Timo Karjalainen <timok@iki.fi>
101 - Upgraded to version 3.2.5
102 - Some minor changes to specfile