File subsvscan.spec of Package subsvscan

# norootforbuild

Name:      subsvscan
Version:   200511041029
Release:   0
#
Group:     System/Base
License:   GPL
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define _sbindir /sbin
#
URL:       http://gpl.internetconnection.net/
Source:    http://gpl.internetconnection.net/files/subsvscan.tar.gz
Patch:     subsvscan_implicit_declarations.patch
#
Summary:   Sub supervise support
%description
Run svscan under supervise, allowing svc -t the parent supervise to kill all of
the children under the sub-supervise

Authors:
--------
    http://gpl.internetconnection.net/


%debug_package
%prep
%setup -n %{name}
%patch

%build
gcc %{optflags} -DUSE_FCNTL lock.c  subsvscan.c -o subsvscan

%install
%{__install} -D -m 0755 subsvscan   %{buildroot}%{_bindir}/subsvscan
%{__install} -D -m 0644 subsvscan.8 %{buildroot}%{_mandir}/man8/subsvscan.8

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-,root,root,-)
%{_bindir}/subsvscan
%{_mandir}/man8/subsvscan.8*
%doc CHANGELOG

%changelog
* Sat Oct 07 2006 - mrueckert@suse.de
- initial package
openSUSE Build Service is sponsored by