Group :: System/Servers
RPM: p910nd
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%def_without tcpwrapper
Name: p910nd
Version: 0.91
Release: alt0.1
Summary: Small printer daemon
License: %gpl2only
Group: System/Servers
URL: http://etherboot.sourceforge.net/%name/
Source0: %url/%name-%version.tar.bz2
Source1: %name.init
# Automatically added by buildreq on Sat Sep 22 2007
%{?_with_tcpwrapper:BuildRequires: libwrap-devel}
BuildRequires: rpm-build-licenses
%description
%name is a small printer daemon intended for diskless workstations
that does not spool to disk but passes the job directly to the printer.
%prep
%setup
%{?_with_tcpwrapper:subst 's/^#[[:blank:]]*\(LIBWRAP[[:blank:]]=\)/\1/' Makefile}
%build
%define _optlevel s
%make_build CFLAGS="%optflags"
%install
install -d -m 0755 %buildroot{%_sbindir,%_man8dir,%_datadir/%name,%_initdir}
install -m 0755 %name %buildroot%_sbindir/
install -m 0644 %name.8 %buildroot%_man8dir/
install -m 0755 *.pl %buildroot%_datadir/%name/
install -m 0755 %SOURCE1 %buildroot%_initdir/%name
%post
%post_service %name
%preun
%preun_service %name
%files
%_sbindir/*
%_man8dir/*
%_datadir/%name
%_initdir/*
%changelog
…
Full changelog you can see here
Name: p910nd
Version: 0.91
Release: alt0.1
Summary: Small printer daemon
License: %gpl2only
Group: System/Servers
URL: http://etherboot.sourceforge.net/%name/
Source0: %url/%name-%version.tar.bz2
Source1: %name.init
# Automatically added by buildreq on Sat Sep 22 2007
%{?_with_tcpwrapper:BuildRequires: libwrap-devel}
BuildRequires: rpm-build-licenses
%description
%name is a small printer daemon intended for diskless workstations
that does not spool to disk but passes the job directly to the printer.
%prep
%setup
%{?_with_tcpwrapper:subst 's/^#[[:blank:]]*\(LIBWRAP[[:blank:]]=\)/\1/' Makefile}
%build
%define _optlevel s
%make_build CFLAGS="%optflags"
%install
install -d -m 0755 %buildroot{%_sbindir,%_man8dir,%_datadir/%name,%_initdir}
install -m 0755 %name %buildroot%_sbindir/
install -m 0644 %name.8 %buildroot%_man8dir/
install -m 0755 *.pl %buildroot%_datadir/%name/
install -m 0755 %SOURCE1 %buildroot%_initdir/%name
%post
%post_service %name
%preun
%preun_service %name
%files
%_sbindir/*
%_man8dir/*
%_datadir/%name
%_initdir/*
%changelog
…
Full changelog you can see here