]> git.pld-linux.org Git - packages/at.git/blob - at.spec
próba
[packages/at.git] / at.spec
1 dfg asdf asd
2 fa sdf
3  asdf
4 a sdf
5  asdf
6  asdf
7  Summary:     at job spooler
8 Summary(de): at-Job-Spooler
9 Summary(fr): Gestionnaire de taches at.
10 Summary(tr): Ýþ düzenleyici
11 Name:        at
12 Version:     3.1.7
13 Release:     6
14 Copyright:   GPL
15 Group:       Daemons
16 Source0:     ftp://tsx-11.mit.edu/pub/linux/sources/usr.bin/at-3.1.7.tar.gz
17 Source1:     atd.init
18 Patch0:      at-3.1.7-lockfile.patch
19 Patch1:      at-3.1.7-paths.patch
20 Patch2:      at-makefile.patch
21 Buildroot:   /tmp/%{name}-%{version}-root
22 Prereq:      fileutils chkconfig
23
24 %description
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.
27
28 %description -l de
29 Stapelverarbeitung von Lesebefehlen von einer Standard- oder einer 
30 genannten Datei zu einem späteren Zeitpunkt unter Verwendung von /bin/sh.
31
32 %description -l fr
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.
35
36 %description -l tr
37 at ve batch /bin/sh kabuðunu kullanarak, belli bir saatte çalýþtýrmak üzere
38 standart giriþden ya da bir dosyadan komut okur.
39
40 %prep
41 %setup -q
42 %patch0 -p1 -b .lockfile
43 # The next path is a brute-force fix that will have to be updated
44 # when new versions of at are released.
45 %patch1 -p1 -b .paths
46 %patch2 -p1 -b .makefile
47
48 %build
49 CFLAGS=$RPM_OPT_FLAGS ./configure \
50         --with-atspool=/var/spool/at/spool \
51         --with-jobdir=/var/spool/at
52 make
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
57
58 make install IROOT=$RPM_BUILD_ROOT
59
60 echo > $RPM_BUILD_ROOT/etc/at.deny
61 mv $RPM_BUILD_ROOT/usr/doc/at $RPM_BUILD_ROOT/usr/doc/%{name}-%{version}
62
63 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/atd
64
65 rm -f $RPM_BUILD_ROOT/usr/man/man1/{atq,atrm,batch}.1
66 echo ".so at.1" > $RPM_BUILD_ROOT/usr/man/man1/atq.1
67 echo ".so at.1" > $RPM_BUILD_ROOT/usr/man/man1/atrm.1
68 echo ".so at.1" > $RPM_BUILD_ROOT/usr/man/man1/batch.1
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %post
74 touch /var/spool/at/.SEQ
75 chmod 600 /var/spool/at/.SEQ
76 chown daemon.daemon /var/spool/at/.SEQ
77 /sbin/chkconfig --add atd
78
79 %preun
80 if [ "$1" = 0 ] ; then
81   /sbin/chkconfig --del atd
82 fi
83
84 %files
85 %attr(644, root, root, 755) %doc /usr/doc/%{name}-%{version}
86 %attr(600, root, root) %config /etc/at.deny
87 %attr(500, root, root) %config /etc/rc.d/init.d/atd
88 %attr(500, root, root) /usr/sbin/*
89 %attr(4711, root, root) /usr/bin/at
90 %attr(   -, root, root) /usr/bin/atq
91 %attr(   -, root, root) /usr/bin/atrm
92 %attr(755, root, root) /usr/bin/batch
93 %attr(644, root,  man) /usr/man/man[18]/*
94 %attr(700, daemon, daemon) %dir /var/spool/at
95 %attr(700, daemon, daemon) %dir /var/spool/at/spool
96 %attr(600, daemon, daemon) %ghost /var/spool/at/.SEQ
97
98 %changelog
99 * Sat Nov 21 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
100   [3.1.7-6]
101 - removed "Conflicts: crontabs <= 1.5".
102
103 * Thu Sep  8 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
104   [3.1.7-5]
105 - added -q %setup parameter,
106 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
107 - added using %%{name} and %%{version} in Source,
108 - added using $RPM_OPT_FLAGS during compile,
109 - atq(1), atrm(1), batch(1) man pages are now maked as nroff include to at(1)
110   instead making sym link to at.1 (this allow compress man pages in future),
111 - added using %{SOURCE#} macro in %install,
112 - smarter instaling %doc,
113 - changed permission on some executables.
114 - added %attr and %defattr macros in %files (allows build package from
115   non-root account).
116
117 * Tue May 05 1998 Prospector System <bugs@redhat.com>
118 - translations modified for de, fr, tr
119
120 * Wed Apr 22 1998 Michael K. Johnson <johnsonm@redhat.com>
121 - enhanced initscript
122
123 * Sun Nov 09 1997 Michael K. Johnson <johnsonm@redhat.com>
124 - learned to spell
125
126 * Wed Oct 22 1997 Michael K. Johnson <johnsonm@redhat.com>
127 - updated to at version 3.1.7
128 - updated lock and sequence file handling with %ghost
129 - Use chkconfig and atd, now conflicts with old crontabs packages
130
131 * Thu Jun 19 1997 Erik Troan <ewt@redhat.com>
132 - built against glibc
This page took 0.036182 seconds and 3 git commands to generate.