]> git.pld-linux.org Git - packages/daemontools.git/blob - daemontools.spec
fd758d957d1fc88a79b7bac49bb47700615cf597
[packages/daemontools.git] / daemontools.spec
1 # $Revision: 1.2 $
2 Summary:        DJB daemontools
3 Name:           daemontools
4 Version:        0.53
5 Release:        1
6 Copyright:      D. J. Bernstein
7 Group:          Networking/Admin
8 Source:         ftp://koobera.math.uic.edu/www/software/daemontools-0.53.tar.gz
9 Buildroot:      /tmp/%{name}-root
10
11 %description
12 supervise monitors a service. It starts the service and restarts the
13 service if it dies. The companion svc program stops, pauses, or restarts
14 the service on sysadmin request. The svstat program prints a one-line
15 status report.
16
17 cyclog writes a log to disk. It automatically synchronizes the log every
18 100KB (by default) to guarantee data integrity after a crash. It
19 automatically rotates the log to keep it below 1MB (by default). If the
20 disk fills up, cyclog pauses and then tries again, without losing any
21 data.
22
23 accustamp puts a precise timestamp on each line of input. The timestamp
24 is a numeric TAI timestamp with microsecond precision. The companion
25 tailocal program converts TAI timestamps to local time.
26
27 usually watches a log for lines that do not match specified patterns,
28 copying those lines to stderr. The companion errorsto program redirects
29 stderr to a file.
30
31 setuser runs a program under a user's uid and gid. Unlike su, setuser
32 does not gain privileges; it does not check passwords, and it cannot be
33 run except by root.
34
35
36 %prep
37 %setup -q
38
39 %build
40 echo %{_bindir} >conf-bin
41 echo %{_mandir} >conf-man
42
43 make; make man
44
45 %install
46 install -d              $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
47
48 install accustamp       $RPM_BUILD_ROOT%{_bindir}
49 install cyclog          $RPM_BUILD_ROOT%{_bindir}
50 install errorsto        $RPM_BUILD_ROOT%{_bindir}
51 install fifo            $RPM_BUILD_ROOT%{_bindir}
52 install supervise       $RPM_BUILD_ROOT%{_bindir}
53 install svc             $RPM_BUILD_ROOT%{_bindir}
54 install svstat          $RPM_BUILD_ROOT%{_bindir}
55 install tailocal        $RPM_BUILD_ROOT%{_bindir}
56 install testfilelock    $RPM_BUILD_ROOT%{_bindir}
57 install usually         $RPM_BUILD_ROOT%{_bindir}
58 install setuser         $RPM_BUILD_ROOT%{_bindir}
59 install *.1             $RPM_BUILD_ROOT%{_mandir}/man1
60
61 gzip -9nf BLURB CHANGES INSTALL README THANKS TODO VERSION $RPM_BUILD_ROOT%{_mandir}/man1/*.1
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %doc {BLURB,CHANGES,INSTALL,README,THANKS,TODO,VERSION}.gz
69 %attr(644,root,root) %{_mandir}/*
70 %attr(755,root,root) %{_bindir}/*
This page took 0.090517 seconds and 3 git commands to generate.