1 Summary: at job spooler
2 Summary(de): at-Job-Spooler
3 Summary(fr): Gestionnaire de taches at.
4 Summary(tr): Ýþ düzenleyici
10 Source0: ftp://tsx-11.mit.edu/pub/linux/sources/usr.bin/at-3.1.7.tar.gz
12 Patch0: at-3.1.7-lockfile.patch
13 Patch1: at-3.1.7-paths.patch
14 Patch2: at-makefile.patch
15 Buildroot: /tmp/%{name}-%{version}-root
16 Prereq: fileutils chkconfig
17 Conflicts: crontabs <= 1.5
20 at and batch read commands from standard input or a specified file
21 which are to be executed at a later time, using /bin/sh.
24 Stapelverarbeitung von Lesebefehlen von einer Standard- oder einer
25 genannten Datei zu einem späteren Zeitpunkt unter Verwendung von /bin/sh.
28 at et batch lisent, sur l'entrée standard ou dans un fichier, des
29 commandes qui doivent être exécutées plus tard en utilisant /bin/sh.
32 at ve batch /bin/sh kabuðunu kullanarak, belli bir saatte çalýþtýrmak üzere
33 standart giriþden ya da bir dosyadan komut okur.
37 %patch0 -p1 -b .lockfile
38 # The next path is a brute-force fix that will have to be updated
39 # when new versions of at are released.
41 %patch2 -p1 -b .makefile
44 CFLAGS=$RPM_OPT_FLAGS ./configure \
45 --with-atspool=/var/spool/at/spool \
46 --with-jobdir=/var/spool/at
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
53 make install IROOT=$RPM_BUILD_ROOT
55 echo > $RPM_BUILD_ROOT/etc/at.deny
56 mv $RPM_BUILD_ROOT/usr/doc/at $RPM_BUILD_ROOT/usr/doc/%{name}-%{version}
58 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/atd
60 rm -f $RPM_BUILD_ROOT/usr/man/man1/{atq,atrm,batch}.1
61 echo ".so at.1" > $RPM_BUILD_ROOT/usr/man/man1/atq.1
62 echo ".so at.1" > $RPM_BUILD_ROOT/usr/man/man1/atrm.1
63 echo ".so at.1" > $RPM_BUILD_ROOT/usr/man/man1/batch.1
66 rm -rf $RPM_BUILD_ROOT
69 touch /var/spool/at/.SEQ
70 chmod 600 /var/spool/at/.SEQ
71 chown daemon.daemon /var/spool/at/.SEQ
72 /sbin/chkconfig --add atd
75 if [ "$1" = 0 ] ; then
76 /sbin/chkconfig --del atd
80 %attr(644, root, root, 755) %doc /usr/doc/%{name}-%{version}
81 %attr(600, root, root) %config /etc/at.deny
82 %attr(500, root, root) %config /etc/rc.d/init.d/atd
83 %attr(500, root, root) /usr/sbin/*
84 %attr(4711, root, root) /usr/bin/at
85 %attr( -, root, root) /usr/bin/atq
86 %attr( -, root, root) /usr/bin/atrm
87 %attr(755, root, root) /usr/bin/batch
88 %attr(644, root, man) /usr/man/man[18]/*
89 %attr(700, daemon, daemon) %dir /var/spool/at
90 %attr(700, daemon, daemon) %dir /var/spool/at/spool
91 %attr(600, daemon, daemon) %ghost /var/spool/at/.SEQ
94 * Sat Nov 21 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
96 - removed "Conflicts: crontabs <= 1.5".
98 * Thu Sep 8 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
100 - added -q %setup parameter,
101 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
102 - added using %%{name} and %%{version} in Source,
103 - added using $RPM_OPT_FLAGS during compile,
104 - atq(1), atrm(1), batch(1) man pages are now maked as nroff include to at(1)
105 instead making sym link to at.1 (this allow compress man pages in future),
106 - added using %{SOURCE#} macro in %install,
107 - smarter instaling %doc,
108 - changed permission on some executables.
109 - added %attr and %defattr macros in %files (allow build package from
112 * Tue May 05 1998 Prospector System <bugs@redhat.com>
113 - translations modified for de, fr, tr
115 * Wed Apr 22 1998 Michael K. Johnson <johnsonm@redhat.com>
116 - enhanced initscript
118 * Sun Nov 09 1997 Michael K. Johnson <johnsonm@redhat.com>
121 * Wed Oct 22 1997 Michael K. Johnson <johnsonm@redhat.com>
122 - updated to at version 3.1.7
123 - updated lock and sequence file handling with %ghost
124 - Use chkconfig and atd, now conflicts with old crontabs packages
126 * Thu Jun 19 1997 Erik Troan <ewt@redhat.com>
127 - built against glibc