Accepting request 43139 from Base:System
Copy from Base:System/at based on submit request 43139 from user elvigia OBS-URL: https://build.opensuse.org/request/show/43139 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/at?expand=0&rev=20
This commit is contained in:
commit
d2ddac0629
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jul 17 02:24:46 UTC 2010 - cristian.rodriguez@opensuse.org
|
||||||
|
|
||||||
|
- improve spec file
|
||||||
|
- Should Recommend smtp_daemon
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 18 17:18:44 UTC 2009 - mseben@novell.com
|
Wed Nov 18 17:18:44 UTC 2009 - mseben@novell.com
|
||||||
|
|
||||||
|
42
at.spec
42
at.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package at (Version 3.1.8)
|
# spec file for package at (Version 3.1.8)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -22,11 +22,11 @@ Name: at
|
|||||||
BuildRequires: bison flex pam-devel
|
BuildRequires: bison flex pam-devel
|
||||||
BuildRequires: libselinux-devel
|
BuildRequires: libselinux-devel
|
||||||
Url: ftp://ftp.debian.org/debian/pool/main/a/at
|
Url: ftp://ftp.debian.org/debian/pool/main/a/at
|
||||||
License: GPL v2 or later
|
License: GPLv2+
|
||||||
Group: System/Daemons
|
Group: System/Daemons
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Version: 3.1.8
|
Version: 3.1.8
|
||||||
Release: 1077
|
Release: 1078
|
||||||
Summary: A Job Manager
|
Summary: A Job Manager
|
||||||
Source: at_3.1.8-11.tar.gz
|
Source: at_3.1.8-11.tar.gz
|
||||||
Source1: atd.init
|
Source1: atd.init
|
||||||
@ -52,7 +52,8 @@ Patch14: %{name}-%{version}-pam-session-as-root.patch
|
|||||||
# PATCH-FIX-UPSTRAM clean-up opened descriptors (bnc#533454, bnc#523346)
|
# PATCH-FIX-UPSTRAM clean-up opened descriptors (bnc#533454, bnc#523346)
|
||||||
Patch15: %{name}-%{version}-leak-fix.patch
|
Patch15: %{name}-%{version}-leak-fix.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
PreReq: /usr/sbin/useradd /usr/sbin/groupadd %fillup_prereq %insserv_prereq
|
PreReq: %{_sbindir}/useradd %{_sbindir}/groupadd %fillup_prereq %insserv_prereq
|
||||||
|
Recommends: smtp_daemon
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This program allows you to run jobs at specified times.
|
This program allows you to run jobs at specified times.
|
||||||
@ -89,7 +90,7 @@ Authors:
|
|||||||
%{?suse_update_config:%{suse_update_config -f}}
|
%{?suse_update_config:%{suse_update_config -f}}
|
||||||
rm -fv y.tab.c y.tab.h lex.yy.c lex.yy.o y.tab.o
|
rm -fv y.tab.c y.tab.h lex.yy.c lex.yy.o y.tab.o
|
||||||
autoconf
|
autoconf
|
||||||
export SENDMAIL=/usr/sbin/sendmail
|
export SENDMAIL=%{_sbindir}/sendmail
|
||||||
%configure \
|
%configure \
|
||||||
--with-pam \
|
--with-pam \
|
||||||
--with-selinux \
|
--with-selinux \
|
||||||
@ -102,19 +103,19 @@ mkdir -p $RPM_BUILD_ROOT/etc/{init.d,pam.d}
|
|||||||
mkdir -p $RPM_BUILD_ROOT/usr/{bin,sbin,share/man/man{1,5,8}}
|
mkdir -p $RPM_BUILD_ROOT/usr/{bin,sbin,share/man/man{1,5,8}}
|
||||||
mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates
|
mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates
|
||||||
export CFLAGS="$RPM_OPT_FLAGS"
|
export CFLAGS="$RPM_OPT_FLAGS"
|
||||||
export SENDMAIL=/usr/sbin/sendmail
|
export SENDMAIL=%{_sbindir}/sendmail
|
||||||
make install IROOT=$RPM_BUILD_ROOT
|
make install IROOT=$RPM_BUILD_ROOT
|
||||||
# Don't install docs here in this way
|
# Don't install docs here in this way
|
||||||
mkdir docs
|
mkdir docs
|
||||||
mv $RPM_BUILD_ROOT/%{_prefix}/doc/at/* docs/
|
mv $RPM_BUILD_ROOT/%{_prefix}/doc/at/* docs/
|
||||||
install %SOURCE1 $RPM_BUILD_ROOT/etc/init.d/atd
|
install %SOURCE1 $RPM_BUILD_ROOT/etc/init.d/atd
|
||||||
ln -sf ../../etc/init.d/atd $RPM_BUILD_ROOT/usr/sbin/rcatd
|
ln -sf ../../etc/init.d/atd $RPM_BUILD_ROOT%{_sbindir}/rcatd
|
||||||
install -m644 %SOURCE2 $RPM_BUILD_ROOT/etc/pam.d/atd
|
install -m644 %SOURCE2 $RPM_BUILD_ROOT/etc/pam.d/atd
|
||||||
install -m644 %SOURCE3 $RPM_BUILD_ROOT/var/adm/fillup-templates
|
install -m644 %SOURCE3 $RPM_BUILD_ROOT/var/adm/fillup-templates
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
/usr/sbin/groupadd -g 25 -o -r at 2> /dev/null || :
|
%{_sbindir}/groupadd -g 25 -o -r at 2> /dev/null || :
|
||||||
/usr/sbin/useradd -r -o -g at -u 25 -s /bin/bash -c "Batch jobs daemon" -d /var/spool/atjobs at 2> /dev/null || :
|
%{_sbindir}/useradd -r -o -g at -u 25 -s /bin/bash -c "Batch jobs daemon" -d /var/spool/atjobs at 2> /dev/null || :
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%stop_on_removal atd
|
%stop_on_removal atd
|
||||||
@ -137,23 +138,16 @@ fi
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc Problems Copyright README ChangeLog timespec
|
%doc Problems Copyright README ChangeLog timespec
|
||||||
%config(noreplace) /etc/at.deny
|
%config(noreplace) /etc/at.deny
|
||||||
/usr/sbin/rcatd
|
%{_sbindir}/rcatd
|
||||||
%config /etc/init.d/atd
|
%config /etc/init.d/atd
|
||||||
%config %attr(644,root,root) /etc/pam.d/atd
|
%config %attr(644,root,root) /etc/pam.d/atd
|
||||||
%verify(not mode) %attr(4750,root,trusted) /usr/bin/at
|
%verify(not mode) %attr(4750,root,trusted) %{_bindir}/at
|
||||||
/usr/bin/atq
|
%{_bindir}/atq
|
||||||
/usr/bin/atrm
|
%{_bindir}/atrm
|
||||||
/usr/bin/batch
|
%{_bindir}/batch
|
||||||
%doc /usr/share/man/man1/at.1.gz
|
%{_mandir}/man?/*
|
||||||
%doc /usr/share/man/man1/atq.1.gz
|
%{_sbindir}/atd
|
||||||
%doc /usr/share/man/man1/atrm.1.gz
|
%{_sbindir}/atrun
|
||||||
%doc /usr/share/man/man1/batch.1.gz
|
|
||||||
%doc /usr/share/man/man5/at.allow.5.gz
|
|
||||||
%doc /usr/share/man/man5/at.deny.5.gz
|
|
||||||
%doc /usr/share/man/man8/atd.8.gz
|
|
||||||
%doc /usr/share/man/man8/atrun.8.gz
|
|
||||||
/usr/sbin/atd
|
|
||||||
/usr/sbin/atrun
|
|
||||||
%attr(700,at,at) %dir /var/spool/atspool
|
%attr(700,at,at) %dir /var/spool/atspool
|
||||||
%attr(700,at,at) %dir /var/spool/atjobs
|
%attr(700,at,at) %dir /var/spool/atjobs
|
||||||
%attr(600,at,at) /var/spool/atjobs/.SEQ
|
%attr(600,at,at) /var/spool/atjobs/.SEQ
|
||||||
|
Loading…
x
Reference in New Issue
Block a user