]> git.pld-linux.org Git - packages/LPRng.git/commitdiff
- updated to 3.6.13, LPRng-3_6_13-1
authorkloczek <kloczek@pld-linux.org>
Thu, 2 Mar 2000 17:36:50 +0000 (17:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- spec adapterized,
- more rpm macros.

Changed files:
    LPRng.spec -> 1.20

LPRng.spec

index 2a215914340dc71a0a515f03d1b0af9d140e913f..1f599c15f58204132d17463886b2d41c23647f96 100644 (file)
@@ -1,9 +1,9 @@
 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
@@ -17,7 +17,8 @@ Provides:     lpr
 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
@@ -32,21 +33,21 @@ authorization mechanism.
 
 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
@@ -71,8 +72,8 @@ install -d  $RPM_BUILD_ROOT/etc/rc.d/init.d
 
 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
 
@@ -103,13 +104,13 @@ rm -rf $RPM_BUILD_ROOT
 
 %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]/*
This page took 0.078271 seconds and 4 git commands to generate.