]> git.pld-linux.org Git - packages/daemontools.git/commitdiff
- spec adaptedized, daemontools-0_70-2
authorkloczek <kloczek@pld-linux.org>
Mon, 7 May 2001 15:00:37 +0000 (15:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- simplifications in %install,
- do not compress man pages.

Changed files:
    daemontools.spec -> 1.10

daemontools.spec

index cc759b10c4da177315d98a8a111d1d165ea948e8..b2816c1a7df5fa599c71792426b8c5256b7de3ed 100644 (file)
@@ -4,24 +4,25 @@ Version:      0.70
 Release:       2
 Copyright:     D. J. Bernstein
 Group:         Networking/Admin
-Group(pl):     Sieciowe/Administacyjne
+Group(de):     Netzwerkwesen/Administration
+Group(pl):     Sieciowe/Administracyjne
 Source0:       http://cr.yp.to/%{name}/%{name}-%{version}.tar.gz
 Source1:       ftp://ftp.innominate.org/pub/pape/djb/%{name}-%{version}-man.tar.gz
 Source2:       %{name}.sysconfig
-Source3:        %{name}.init
-Patch0:                daemontools-time.patch
+Patch0:                %{name}-time.patch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 daemontools is a collection of tools for managing UNIX services.
 
-supervise monitors a service. It starts the service and restarts the service if it dies.
-Setting up a new service is easy: all supervise needs is a directory with a run script
-that runs the service.
+supervise monitors a service. It starts the service and restarts the
+service if it dies. Setting up a new service is easy: all supervise
+needs is a directory with a run script that runs the service.
 
-multilog saves error messages to one or more logs. It optionally timestamps each line and,
-for each log, includes or excludes lines matching specified patterns. It automatically
-rotates logs to limit the amount of disk space used. If the disk fills up, it pauses and
+multilog saves error messages to one or more logs. It optionally
+timestamps each line and, for each log, includes or excludes lines
+matching specified patterns. It automatically rotates logs to limit
+the amount of disk space used. If the disk fills up, it pauses and
 tries again, without losing any data.
 
 %prep
@@ -33,39 +34,25 @@ tar zxf %{SOURCE1}
 %build
 echo %{_bindir} >conf-home
 
-make
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8} \
+$RPM_BUILD_ROOT%{_sysconfdir}/{rc.d/init.d,sysconfig} \
+       $RPM_BUILD_ROOT/var/{run/service,lib/service}
 
-install -d             $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
-install -d             $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig}
-install        -d              $RPM_BUILD_ROOT/var/run/service
-install -d             $RPM_BUILD_ROOT/var/lib/service
-
-install envdir         $RPM_BUILD_ROOT%{_sbindir}
-install envuidgid      $RPM_BUILD_ROOT%{_sbindir}
-install fghack          $RPM_BUILD_ROOT%{_sbindir}
-install multilog        $RPM_BUILD_ROOT%{_sbindir}
-install setlock         $RPM_BUILD_ROOT%{_sbindir}
-install setuidgid       $RPM_BUILD_ROOT%{_sbindir}
-install softlimit       $RPM_BUILD_ROOT%{_sbindir}
-install supervise      $RPM_BUILD_ROOT%{_sbindir}
-install svc            $RPM_BUILD_ROOT%{_sbindir}
-install svok           $RPM_BUILD_ROOT%{_sbindir}
-install svscan         $RPM_BUILD_ROOT%{_sbindir}
-install svstat         $RPM_BUILD_ROOT%{_sbindir}
-install        tai64n          $RPM_BUILD_ROOT%{_sbindir}
-install tai64nlocal    $RPM_BUILD_ROOT%{_sbindir}
-install ../%{name}-%{version}-man/*.8  $RPM_BUILD_ROOT%{_mandir}/man8
+install envdir envuidgid fghack multilog setlock setuidgid softlimit \
+       supervise supervise svc svok svscan svstat tai64n tai64nlocal \
+       $RPM_BUILD_ROOT%{_sbindir}
+install ../%{name}-%{version}-man/*.8 $RPM_BUILD_ROOT%{_mandir}/man8
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/svscan
 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/svscan
 
-gzip -9nf CHANGES README TODO VERSION $RPM_BUILD_ROOT%{_mandir}/man8/*.8
+gzip -9nf CHANGES README TODO
 
 %clean
 rm -rf $RPM_BUILD_ROOT
-#rm -rf ../%{name}-%{version}-man
 
 %post
 /sbin/chkconfig --add svscan
@@ -85,10 +72,10 @@ fi
 
 %files
 %defattr(644,root,root,755)
-%doc {CHANGES,README,TODO,VERSION}.gz
-%attr(644,root,root) %{_mandir}/man8/*
+%doc *.gz
 %attr(755,root,root) %{_sbindir}/*
 %attr(700,root,root) /var/run/service
 %attr(700,root,root) /var/lib/service
 %attr(754,root,root) /etc/rc.d/init.d/svscan
 %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/svscan
+%{_mandir}/man8/*
This page took 0.172599 seconds and 4 git commands to generate.