Summary: A next-generation printing system for UNIX
Summary(pl): System drukowania nowej generacji
Name: LPRng
-Version: 3.6.12
+Version: 3.6.13
Release: 1
-Copyright: GPL
+License: GPL
Group: Utilities/System
Group(pl): Narzêdzia/System
Source0: ftp://ftp.astart.com/pub/LPRng/LPRng/%{name}-%{version}.tgz
Obsoletes: lpr
BuildRoot: /tmp/%{name}-%{version}-root
-%define _libdir %{_sbindir}
+%define _libdir %{_sbindir}
+%define _sysconfdir /etc
%description
The LPRng software is an enhanced, extended, and portable implementation of
The source software compiles and runs on a wide variety of UNIX systems, and
is compatible with other print spoolers and network printers that use the
-LPR interface and meet RFC1179 requirements. LPRng provides emulation
+LPR interface and meet RFC1179 requirements. LPRng provides emulation
packages for the SVR4 lp and lpstat programs, eliminating the need for
another print spooler package. These emulation packages can be modified
according to local requirements, in order to support vintage printing
systems.
For users that require secure and/or authenticated printing support, LPRng
-supports Kerberos V, MIT Kerberos IV Print Support, and PGP authentication.
+supports Kerberos V, MIT Kerberos IV Print Support, and PGP authentication.
LPRng is being adopted by MIT for use as their Campus Wide printing support
-system. Additional authentication support is extremely simple to add. LPRng
+system. Additional authentication support is extremely simple to add. LPRng
is Open Source Software, and the current public distribution is available
from the listed FTP and Web Sites.
%description -l pl
-LPRng jest systemem drukowania nowej generacji zwiêkszaj±cym niezawodno¶æ
+LPRng jest systemem drukowania nowej generacji zwiêkszaj±cym niezawodno¶æ
i bezpieczeñstwo.
%prep
make install \
DESTDIR=$RPM_BUILD_ROOT \
- LPD_CONF_PATH=$RPM_BUILD_ROOT/etc/lpd.conf \
- LPD_PERMS_PATH=$RPM_BUILD_ROOT/etc/lpd.perms
+ LPD_CONF_PATH=$RPM_BUILD_ROOT%{_sysconfdir}/lpd.conf \
+ LPD_PERMS_PATH=$RPM_BUILD_ROOT%{_sysconfdir}/lpd.perms
install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/lpd
%files -f %{name}.lang
%defattr(644,root,root,755)
-%config(noreplace) /etc/lpd.conf
-%config(noreplace) /etc/lpd.perms
+%config(noreplace) %{_sysconfdir}/lpd.conf
+%config(noreplace) %{_sysconfdir}/lpd.perms
%doc {ANNOUNCE,CHANGES,CONTRIBUTORS}.gz
%doc {HOWTO/LPRng-HOWTO.txt,README*}.gz TESTSUPPORT
%attr(754,root,root) /etc/rc.d/init.d/lpd
%attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_sbindir}/*
+%attr(755,root,root) %{_libdir}/*
%dir %{_libexecdir}/filters
%attr(755,root,root) %{_libexecdir}/filters/*
%{_mandir}/man[158]/*