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.
54 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
56 --with-atspool=/var/spool/at/spool \
57 --with-jobdir=/var/spool/at \
62 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
66 make install IROOT=$RPM_BUILD_ROOT
68 install at.deny $RPM_BUILD_ROOT/etc/at/at.deny
69 touch $RPM_BUILD_ROOT/etc/at/at.allow
71 mv $RPM_BUILD_ROOT/usr/doc/at $RPM_BUILD_ROOT/usr/doc/%{name}-%{version}
73 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/atd
75 rm -f $RPM_BUILD_ROOT/usr/man/man1/{atq,atrm,batch}.1
76 rm -f $RPM_BUILD_ROOT/usr/man/man5/at_deny.5
78 echo .so at.1 > $RPM_BUILD_ROOT/usr/man/man1/atq.1
79 echo .so at.1 > $RPM_BUILD_ROOT/usr/man/man1/atrm.1
80 echo .so at.1 > $RPM_BUILD_ROOT/usr/man/man1/batch.1
82 echo .so at_allow.5 > $RPM_BUILD_ROOT/usr/man/man5/at_deny.5
83 echo .so at_allow.5 > $RPM_BUILD_ROOT/usr/man/man5/at_acces.5
85 touch $RPM_BUILD_ROOT/var/spool/at/.SEQ
87 gzip -9fn $RPM_BUILD_ROOT/usr/man/man[158]/* \
91 rm -rf $RPM_BUILD_ROOT
94 /sbin/chkconfig --add atd
95 if test -r /var/run/atd.pid; then
96 /etc/rc.d/init.d/atd stop >&2
97 /etc/rc.d/init.d/atd start >&2
99 echo "Run \"/etc/rc.d/init.d/atd start\" to start atd daemon."
103 if [ "$1" = "0" ] ; then
104 /sbin/chkconfig --del atd
105 /etc/rc.d/init.d/atd stop >&2
109 %defattr(644,root,root,755)
110 %doc {ChangeLog,README}.gz
112 %attr(750,root,root) %dir /etc/at
113 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/at/*
114 %attr(754,root,root) /etc/rc.d/init.d/atd
115 %attr(755,root,root) /usr/sbin/*
117 %attr(4755,root,root) /usr/bin/at
119 %attr(755,root,root) /usr/bin/atq
120 %attr(755,root,root) /usr/bin/atrm
121 %attr(755,root,root) /usr/bin/batch
125 %attr(700,daemon,daemon) %dir /var/spool/at
126 %attr(700,daemon,daemon) %dir /var/spool/at/spool
127 %attr(600,daemon,daemon) %ghost /var/spool/at/.SEQ
130 * Thu Mar 25 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
132 - added at.patch adopted from latest Debian source which fix man pages,
133 lex relayted bugs, displaing corectly dates in am/pm format and fiew
135 - modifications %post, %preun for standarizing this section; this allow stop
136 service on uninstall and automatic restart on upgrade,
137 - changed permission (to more liberal).
139 * Sun Sep 13 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
141 - build against glibc-2.1,
142 - translation modified for pl,
143 - fixed files permissions,
144 - macro %%{name}-%%{version} in Source,
145 - macro %%{name}-%%{version} in Patch,
146 - removed conflicts: crontabs <= 1.5,
147 - added %ghost /var/spool/at/.SEQ,
148 - added %defattr and %doc,
149 - minor modifications of spec file.
151 * Thu Sep 8 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
153 - added -q %setup parameter,
154 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
155 - added using %%{name} and %%{version} in Source,
156 - added using $RPM_OPT_FLAGS during compile,
157 - atq(1), atrm(1), batch(1) man pages are now maked as nroff include to at(1)
158 instead making sym link to at.1 (this allow compress man pages in future),
159 - added using %{SOURCE#} macro in %install,
160 - smarter instaling %doc,
161 - changed permission on some executables.
162 - added %attr and %defattr macros in %files (allow build package from