]> git.pld-linux.org Git - packages/sendmail.git/blobdiff - sendmail.spec
- removed all Group fields translations (oure rpm now can handle translating
[packages/sendmail.git] / sendmail.spec
index 11f0336882a8dd5d94f47ec0ddbb7fdd6f9f1383..f47713d9136bc3d34825cb1b83342cf7051ccf98 100644 (file)
@@ -2,7 +2,7 @@
 # Conditional build:
 # _without_ldap                without LDAP support
 # _without_tls         without TLS (SSL) support
-#
+
 Summary:       A widely used Mail Transport Agent (MTA)
 Summary(de):   sendmail-Mail-Übertragungsagent
 Summary(fr):   Agent de transport de courrier sendmail
@@ -10,11 +10,9 @@ Summary(pl): Sendmail - serwer poczty elektronicznej
 Summary(tr):   Elektronik posta hizmetleri sunucusu
 Name:          sendmail
 Version:       8.12.1
-Release:       2
+Release:       5
 License:       BSD
 Group:         Networking/Daemons
-Group(de):     Netzwerkwesen/Server
-Group(pl):     Sieciowe/Serwery
 Source0:       ftp://ftp.sendmail.org/pub/sendmail/%{name}.%{version}.tar.gz
 Source1:       %{name}.init
 Source2:       http://www.informatik.uni-kiel.de/~ca/email/rules/check.tar
@@ -40,13 +38,16 @@ BuildRequires:      db3-devel
 %{!?_without_ldap:BuildRequires:       openldap-devel}
 %{!?_without_tls:BuildRequires:        openssl-devel}
 Requires:      m4
-Prereq:                /sbin/chkconfig
-Prereq:                /usr/sbin/groupadd
-Prereq:                /usr/sbin/useradd
-Prereq:                /usr/sbin/groupdel
-Prereq:                /usr/sbin/userdel
-Prereq:                /usr/bin/getgid
-Prereq:                /bin/id
+Requires:      procmail
+PreReq:                /sbin/chkconfig
+Requires(pre): /bin/id
+Requires(pre): /usr/bin/getgid
+Requires(pre): /usr/sbin/groupadd
+Requires(pre): /usr/sbin/useradd
+Requires(post):        awk
+Requires(post):        textutils
+Requires(postun):      /usr/sbin/groupdel
+Requires(postun):      /usr/sbin/userdel
 Provides:      smtpdaemon
 Obsoletes:     smtpdaemon
 Obsoletes:     exim
@@ -203,7 +204,7 @@ EOF
 
 for map in virtusertable access domaintable mailertable ; do
        touch $RPM_BUILD_ROOT%{_sysconfdir}/${map}
-               $RPM_BUILD_ROOT%{_bindir}/makemap -C $RPM_BUILD_ROOT%{_sysconfdir}/sendmail.cf hash \
+       $RPM_BUILD_ROOT%{_bindir}/makemap -C $RPM_BUILD_ROOT%{_sysconfdir}/sendmail.cf hash \
                $RPM_BUILD_ROOT%{_sysconfdir}/${map}.db < $RPM_BUILD_ROOT%{_sysconfdir}/${map}
 done
 
@@ -336,16 +337,15 @@ fi
 %dir /etc/smrsh
 %dir %{_sysconfdir}
 /var/log/statistics
-# XXX can't do noreplace here or new sendmail will not deliver.
 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/sendmail.cf
 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/sendmail.mc
 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/submit.cf
 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/submit.mc
 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/local-host-names
 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/aliases
-%attr(0644,root,mail) %ghost %{_sysconfdir}/aliases.db
+%ghost %{_sysconfdir}/aliases.db
 %attr(0770,root,smmsp) %dir /var/spool/clientmqueue
-%attr(0770,root,mail) %dir /var/spool/mqueue
+%attr(0750,root,mail) %dir /var/spool/mqueue
 
 %config %{_sysconfdir}/Makefile
 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/access
This page took 0.050898 seconds and 4 git commands to generate.