1 Summary: at job spooler
2 Summary(de): at-Job-Spooler
3 Summary(fr): Gestionnaire de taches at.
4 Summary(pl): Demon kontroli zadañ
5 Summary(tr): þ düzenleyici
12 Source0: ftp://jurix.jura.uni-sb.de/pub/linux/sources/system/daemons/%{name}-%{version}.tar.gz
14 Patch0: at-lockfile.patch
15 Patch1: at-install.patch
17 Patch3: at-batch.patch
20 Prereq: /sbin/chkconfig
22 Buildroot: /tmp/%{name}-%{version}-root
25 at and batch read commands from standard input or a specified file
26 which are to be executed at a later time, using /bin/sh.
29 Stapelverarbeitung von Lesebefehlen von einer Standard- oder einer
30 genannten Datei zu einem späteren Zeitpunkt unter Verwendung von /bin/sh.
33 at et batch lisent, sur l'entrée standard ou dans un fichier, des
34 commandes qui doivent être exécutées plus tard en utilisant /bin/sh.
37 At i batch czytaj± komendy ze standardowego wej¶cia lub specyficznego pliku,
38 które s± nastêpnie wykonywane o okre¶lonej godzinie, przy pomocy /bin/sh.
41 at ve batch /bin/sh kabuðunu kullanarak, belli bir saatte çalýþtýrmak üzere
42 standart giriþden ya da bir dosyadan komut okur.
53 CFLAGS=$RPM_OPT_FLAGS LDFLAGS=-s \
55 --with-atspool=/var/spool/at/spool \
56 --with-jobdir=/var/spool/at \
61 rm -rf $RPM_BUILD_ROOT
63 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
65 make install IROOT=$RPM_BUILD_ROOT
67 install at.deny $RPM_BUILD_ROOT/etc/at/at.deny
68 touch $RPM_BUILD_ROOT/etc/at/at.allow
70 mv $RPM_BUILD_ROOT/usr/doc/at $RPM_BUILD_ROOT/usr/doc/%{name}-%{version}
72 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/atd
74 rm -f $RPM_BUILD_ROOT/usr/man/man1/{atq,atrm,batch}.1
75 rm -f $RPM_BUILD_ROOT/usr/man/man5/at_deny.5
77 echo .so at.1 > $RPM_BUILD_ROOT/usr/man/man1/atq.1
78 echo .so at.1 > $RPM_BUILD_ROOT/usr/man/man1/atrm.1
79 echo .so at.1 > $RPM_BUILD_ROOT/usr/man/man1/batch.1
81 echo .so at_allow.5 > $RPM_BUILD_ROOT/usr/man/man5/at_deny.5
82 echo .so at_allow.5 > $RPM_BUILD_ROOT/usr/man/man5/at_acces.5
84 touch $RPM_BUILD_ROOT/var/spool/at/.SEQ
86 gzip -9fn $RPM_BUILD_ROOT/usr/man/man[158]/* \
90 rm -rf $RPM_BUILD_ROOT
93 /sbin/chkconfig --add atd
94 if test -r /var/run/atd.pid; then
95 /etc/rc.d/init.d/atd stop >&2
96 /etc/rc.d/init.d/atd start >&2
98 echo "Run \"/etc/rc.d/init.d/atd start\" to start atd daemon."
102 if [ "$1" = "0" ] ; then
103 /sbin/chkconfig --del atd
104 /etc/rc.d/init.d/atd stop >&2
108 %defattr(644,root,root,755)
109 %doc {ChangeLog,README}.gz
111 %attr(750,root,root) %dir /etc/at
112 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/at/*
113 %attr(754,root,root) /etc/rc.d/init.d/atd
114 %attr(755,root,root) /usr/sbin/*
116 %attr(4755,root,root) /usr/bin/at
118 %attr(755,root,root) /usr/bin/atq
119 %attr(755,root,root) /usr/bin/atrm
120 %attr(755,root,root) /usr/bin/batch
124 %attr(700,daemon,daemon) %dir /var/spool/at
125 %attr(700,daemon,daemon) %dir /var/spool/at/spool
126 %attr(600,daemon,daemon) %ghost /var/spool/at/.SEQ
129 * Thu Mar 25 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
131 - added at.patch adopted from latest Debian source which fix man pages,
132 lex relayted bugs, displaing corectly dates in am/pm format and fiew
134 - modifications %post, %preun for standarizing this section; this allow stop
135 service on uninstall and automatic restart on upgrade,
136 - changed permission (to more liberal).
138 * Sun Sep 13 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
140 - build against glibc-2.1,
141 - translation modified for pl,
142 - fixed files permissions,
143 - macro %%{name}-%%{version} in Source,
144 - macro %%{name}-%%{version} in Patch,
145 - removed conflicts: crontabs <= 1.5,
146 - added %ghost /var/spool/at/.SEQ,
147 - added %defattr and %doc,
148 - minor modifications of spec file.
150 * Thu Sep 8 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
152 - added -q %setup parameter,
153 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
154 - added using %%{name} and %%{version} in Source,
155 - added using $RPM_OPT_FLAGS during compile,
156 - atq(1), atrm(1), batch(1) man pages are now maked as nroff include to at(1)
157 instead making sym link to at.1 (this allow compress man pages in future),
158 - added using %{SOURCE#} macro in %install,
159 - smarter instaling %doc,
160 - changed permission on some executables.
161 - added %attr and %defattr macros in %files (allow build package from