1 Summary: A next-generation printing system for UNIX
2 Summary(pl): System drukowania nowej generacji
7 Group: Applications/System
8 Group(de): Applikationen/System
9 Group(pl): Aplikacje/System
10 Source0: ftp://ftp.astart.com/pub/LPRng/LPRng/%{name}-%{version}.tgz
13 Source3: %{name}.printcap
14 Patch0: %{name}-jobfilescan.patch
15 Patch1: %{name}-ac_fixes.patch
16 Patch2: %{name}-manpage.patch
17 Patch3: %{name}-shutdown.patch
18 URL: http://www.astart.com/lprng/LPRng.html
19 BuildRequires: autoconf
20 BuildRequires: automake
21 BuildRequires: gettext-devel
22 BuildRequires: libtool
23 BuildRequires: ncurses-devel >= 5.0
24 Prereq: /sbin/chkconfig
25 Prereq: rc-scripts >= 0.2.0
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 The LPRng software is an enhanced, extended, and portable
33 implementation of the Berkeley LPR print spooler functionality. While
34 providing the same interface and meeting RFC1179 requirements, the
35 implementation is completely new and provides support for the
36 following features: lightweight (no databases needed) lpr, lpc, and
37 lprm programs; dynamic redirection of print queues; automatic job
38 holding; highly verbose diagnostics; multiple printers serving a
39 single queue; client programs do not need to run SUID root; greatly
40 enhanced security checks; and a greatly improved permission and
41 authorization mechanism.
43 The source software compiles and runs on a wide variety of UNIX
44 systems, and is compatible with other print spoolers and network
45 printers that use the LPR interface and meet RFC1179 requirements.
46 LPRng provides emulation packages for the SVR4 lp and lpstat programs,
47 eliminating the need for another print spooler package. These
48 emulation packages can be modified according to local requirements, in
49 order to support vintage printing systems.
51 For users that require secure and/or authenticated printing support,
52 LPRng supports Kerberos V, MIT Kerberos IV Print Support, and PGP
53 authentication. LPRng is being adopted by MIT for use as their Campus
54 Wide printing support system. Additional authentication support is
55 extremely simple to add. LPRng is Open Source Software, and the
56 current public distribution is available from the listed FTP and Web
60 LPRng jest rozszerzon±, ulepszon± i portowaln± implementacj±
61 Berkeley'owskiego LPR print spooler'a. Dostarcza ten sam interfejs
62 oraz jest zgodny z wymaganiami RFC1179. Jednocze¶nie wykonanie jest
63 ca³kowicie nowe i dostarcza nastêpuj±ce rzeczy:
64 - programy - "lekki" lpr (nie s± potrzebne ¿adne bazy danych),
66 - dynamiczna redyrekcja do kolejek;
67 - automatyczne wstrzymywanie zadañ;
68 - "gadatliwa" diagnostyka;
69 - obs³ugê wielu drukarek na jednej kolejce;
70 - programy klienckie nie musz± byæ SUID root;
71 - mocno rozszerzona kontrola bezpieczeñstwa;
72 - mocno rozszerzone mechanizmy bezpieczeñstwa i kontroli uprawnieñ.
74 Oprogramowanie to kompiluje siê i dzia³a na wielu systemach UNIX'owych
75 i jest kompatybilne z innymi print spoolami oraz drukarkami sieciowymi,
76 które u¿ywaj± interfejsu LPR oraz spe³niaj± wymagania RFC1179. LPRng
77 dostarcza pakiety emulacyjne dla programów SVR4 lp oraz lpstat,
78 eliminuj±c w ten sposób konieczno¶æ posiadania jeszcze jednego pakietu
79 print spoola. Te pakiety mog± byæ modyfikowane zgodnie z lokalnymi
82 Dla u¿ytkowników, którzy potrzebuj± bezpiecznej i autentyfikowanej
83 obs³ugi drukowania LPRng wspiera Kerberos V, MIT Kerberos IV Print
87 Summary: Static LPRng libraries
88 Summary(pl): Statyczne biblioteki dla LPRng
89 Group: X11/Development/Libraries
90 Group(de): X11/Entwicklung/Libraries
91 Group(es): X11/Desarrollo/Bibliotecas
92 Group(fr): X11/Development/Librairies
93 Group(pl): X11/Programowanie/Biblioteki
94 Group(pt_BR): X11/Desenvolvimento/Bibliotecas
95 Group(ru): X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
96 Group(uk): X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
99 Static LPRng libraries.
101 %description -l pl static
102 Biblioteki statyczne LPRng.
113 rm -f missing acinclude.m4
114 gettextize --copy --force
115 libtoolize --copy --force
118 (cd gdbm-1.8.0 ; aclocal ; autoconf )
123 --with-filterdir=%{_libdir}/lpfilters \
124 --with-lockfile=%{_var}/spool/lpd/lpd
129 rm -rf $RPM_BUILD_ROOT
130 install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,%{_var}/spool/lpd}
133 DESTDIR=$RPM_BUILD_ROOT \
136 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/lpd
137 # yes, overwrite distribution lpd.conf
138 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/lpd.conf
139 echo "default_printer = lp" >>$RPM_BUILD_ROOT%{_sysconfdir}/lpd.conf
140 install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/printcap
141 install lpd.perms $RPM_BUILD_ROOT%{_sysconfdir}/
143 install -d $RPM_BUILD_ROOT%{_var}/spool/lpd/lp
145 rm -fr TESTSUPPORT/{Makefile*,LPD}
146 mv -f lpd.conf TESTSUPPORT/lpd.conf.distrib
148 gzip -9nf CHANGES CONTRIBUTORS README* TESTSUPPORT/*
153 rm -rf $RPM_BUILD_ROOT
156 /sbin/chkconfig --add lpd
157 if [ -f /var/lock/subsys/lpd ]; then
158 /etc/rc.d/init.d/lpd restart 1>&2
160 echo "Run \"/etc/rc.d/init.d/lpd start\" to start LPRng lpd daemon."
164 if [ "$1" = "0" ]; then
165 if [ -f /var/lock/subsys/lpd ]; then
166 /etc/rc.d/init.d/lpd stop 1>&2
168 /sbin/chkconfig --del lpd
171 %files -f %{name}.lang
172 %defattr(644,root,root,755)
173 %doc *.gz TESTSUPPORT HOWTO/LPRng-HOWTO.html HOWTO/CHANGES
174 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/lpd.conf
175 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/lpd.perms
176 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/printcap
177 %attr(754,root,root) /etc/rc.d/init.d/lpd
178 %attr(755,root,root) %{_bindir}/*
179 %attr(755,root,root) %{_sbindir}/*
180 %attr(755,root,root) %{_libdir}/*.so*
181 %attr(755,root,root) %{_libdir}/*.la
182 %dir %{_libdir}/lpfilters
183 %attr(755,root,root) %{_libdir}/lpfilters/*
184 %dir %attr(750,root,lp) %{_var}/spool/lpd
185 %dir %attr(770,root,lp) %{_var}/spool/lpd/lp
186 %{_mandir}/man[158]/*