Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37890795
en ru br
ALT Linux repos
D:0.91-alt0.1
5.0: 0.92-alt1
4.1: 0.8-alt0.1
4.0: 0.8-alt0.1

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

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin