Summary(tr): þ düzenleyici
Name: at
Version: 3.1.8
-Release: 15
+Release: 16
License: GPL
Group: Daemons
+Group(de): Server
Group(pl): Serwery
Source0: ftp://tsx-11.mit.edu/pub/linux/sources/usr.bin/%{name}-%{version}.tar.gz
-Source1: atd.init
-Source2: at.sysconfig
-Source3: at.1.pl
-Source4: at_allow.5.pl
-Source5: atd.8.pl
-Source6: atrun.8.pl
-Patch0: at-lockfile.patch
-Patch1: at-install.patch
-Patch2: at-man.patch
-Patch3: at.patch
-Patch4: at-typo.patch
-Patch5: at-sigchld.patch
+Source1: %{name}d.init
+Source2: %{name}.sysconfig
+Source3: %{name}.1.pl
+Source4: %{name}_allow.5.pl
+Source5: %{name}d.8.pl
+Source6: %{name}run.8.pl
+Patch0: %{name}-lockfile.patch
+Patch1: %{name}-install.patch
+Patch2: %{name}-man.patch
+Patch3: %{name}.patch
+Patch4: %{name}-typo.patch
+Patch5: %{name}-sigchld.patch
+Patch6: %{name}-sendmail.patch
+Patch7: %{name}-debian.patch
+Patch8: %{name}-buflen.patch
Prereq: fileutils
Prereq: /sbin/chkconfig
-Requires: mailx
-Requires: rc-scripts
+Prereq: rc-scripts >= 0.2.0
+Requires: /usr/lib/sendmail
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _sysconfdir /etc/at
%description
-at and batch read commands from standard input or a specified file which
-are to be executed at a later time, using /bin/sh.
+At and batch read commands from standard input or from a specified
+file. At allows you to specify that a command will be run at a
+particular time (now or a specified time in the future). Batch will
+execute commands when the system load levels drop to a particular
+level. Both commands use /bin/sh to run the commands.
%description -l de
Stapelverarbeitung von Lesebefehlen von einer Standard- oder einer
-genannten Datei zu einem späteren Zeitpunkt unter Verwendung von /bin/sh.
+genannten Datei zu einem späteren Zeitpunkt unter Verwendung von
+/bin/sh.
%description -l fr
-at et batch lisent, sur l'entrée standard ou dans un fichier, des commandes
-qui doivent être exécutées plus tard en utilisant /bin/sh.
+at et batch lisent, sur l'entrée standard ou dans un fichier, des
+commandes qui doivent être exécutées plus tard en utilisant /bin/sh.
%description -l pl
At i batch czytaj± komendy ze standardowego wej¶cia lub specyficznego
-pliku, które s± nastêpnie wykonywane o okre¶lonej godzinie, przy pomocy
-/bin/sh.
+pliku, które s± nastêpnie wykonywane o okre¶lonej godzinie, przy
+pomocy /bin/sh.
%description -l tr
-at ve batch /bin/sh kabuðunu kullanarak, belli bir saatte çalýþtýrmak üzere
-standart giriþden ya da bir dosyadan komut okur.
+at ve batch /bin/sh kabuðunu kullanarak, belli bir saatte çalýþtýrmak
+üzere standart giriþden ya da bir dosyadan komut okur.
%prep
%setup -q
%patch3 -p1
%patch4 -p1
%patch5 -p1
+%patch6 -p1
+%patch7 -p1
+%patch8 -p1
%build
aclocal
autoconf
-LDFLAGS="-s"; export LDFLAGS
%configure \
--with-atspool=/var/spool/at/spool \
--with-jobdir=/var/spool/at \
--with-etcdir=%{_sysconfdir} \
--with-daemon_username=root \
--with-daemon_groupname=root
-make
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{/etc/{rc.d/init.d,sysconfig},%{_mandir}/pl/man{1,5,8}}
-make IROOT=$RPM_BUILD_ROOT install
+%{__make} IROOT=$RPM_BUILD_ROOT install
install at.deny $RPM_BUILD_ROOT%{_sysconfdir}