Summary: A next-generation printing system for UNIX
Summary(pl): System drukowania nowej generacji
Name: LPRng
-Version: 3.6.18
-Release: 4
+Version: 3.6.21
+Release: 1
License: GPL
Group: Utilities/System
Group(pl): Narzêdzia/System
Source1: LPRng.init
Source2: LPRng.conf
Patch0: LPRng-autoconf.patch
+Patch1: LPRng-filter.patch
BuildRequires: ncurses-devel >= 5.0
Requires: /sbin/chkconfig
Requires: rc-scripts >= 0.2.0
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
gettextize --copy --force
install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/lpd
# yes, overwrite distribution lpd.conf
-install %{SOURCE2} $RPM_BUILD_ROOT/etc/lpd.conf
-install printcap $RPM_BUILD_ROOT/etc/
+install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/lpd.conf
+install printcap $RPM_BUILD_ROOT%{_sysconfdir}/
rm -fr TESTSUPPORT/{Makefile*,LPD}
mv -f lpd.conf TESTSUPPORT/lpd.conf.distrib