File svscanuser.spec of Package svscanuser
# norootforbuild
Name: svscanuser
Version: 200507150802
Release: 0
#
Group: System/Base
License: GPL
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: svc subsvscan
%define _sbindir /sbin
#
URL: http://gpl.internetconnection.net/
Source: http://gpl.internetconnection.net/files/svscanuser.tar.gz
Patch: svscanuser_implicit_declarations.patch
#
Summary: per user service dir support for daemon tools
%description
Use daemontools to allow regular users to have ~/.service/ directories
(requires subsvscan and svc)
Authors:
--------
http://gpl.internetconnection.net/
%debug_package
%prep
%setup -n %{name}
%patch
%build
gcc %{optflags} -DUSE_FCNTL lock.c svscanuser.c -o svscanuser
%install
%{__install} -D -m 0755 svscanuser %{buildroot}%{_bindir}/svscanuser
%{__install} -D -m 0644 svscanuser.8 %{buildroot}%{_mandir}/man8/svscanuser.8
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_bindir}/svscanuser
%{_mandir}/man8/svscanuser.8*
%doc CHANGELOG
%changelog
* Sat Oct 07 2006 - mrueckert@suse.de
- initial package