]> 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 53e585862a482247fdc150629dfe10ca6563a6ee..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:       1
+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,24 +38,27 @@ 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
 Obsoletes:     masqmail
+Obsoletes:     omta
 Obsoletes:     postfix
 Obsoletes:     qmail
 Obsoletes:     sendmail-cf
 Obsoletes:     sendmail-doc
 Obsoletes:     smail
 Obsoletes:     zmailer
-Obsoletes:     omta
 
 %define                _sysconfdir     /etc/mail
 
@@ -84,7 +85,7 @@ passerelles du r
 
 %description -l pl
 Sendmail jest programem umo¿liwiaj±cym wymianê poczty elektronicznej
-miêdzy komputerami w sieci internet. Zajmuje siê przekazywaniem poczty
+miêdzy komputerami w sieci (MTA). Zajmuje siê przekazywaniem poczty
 elektronicznej miêdzy bramkami pocztowymi i dostarczaniem przesy³ek na
 konta docelowe. Bardzo dobrze obs³uguje aliasy pocztowe a jego
 dodatkowym atutem jest prosta konfiguracja. Dziêki rozbudowanym
@@ -186,7 +187,7 @@ ln -sf ../sbin/sendmail $RPM_BUILD_ROOT%{_libdir}/sendmail
 
 # dangling symlinks
 for f in hoststat mailq newaliases purgestat ; do
-  ln -sf ../sbin/sendmail $RPM_BUILD_ROOT%{_bindir}/${f}
+       ln -sf ../sbin/sendmail $RPM_BUILD_ROOT%{_bindir}/${f}
 done
 
 cat <<EOF > $RPM_BUILD_ROOT%{_sysconfdir}/access
@@ -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
 
@@ -266,7 +267,7 @@ done
 # Oops, these files moved
 #
 if [ -f /etc/sendmail.cw ] ; then
-       cat /etc/sendmail.cw  | \
+       cat /etc/sendmail.cw | \
                awk 'BEGIN { print "# Entries from obsoleted /etc/sendmail.cw" ;} \
                { print $1 }' >> /etc/mail/local-host-names
        cp -f /etc/sendmail.cw /etc/sendmail.cw.rpmorig
@@ -333,34 +334,33 @@ fi
 %{_mandir}/man1/newaliases.1*
 %{_mandir}/man1/mailq.1*
 
-/var/log/statistics
-# XXX can't do noreplace here or new sendmail will not deliver.
-%config(noreplace) %{_sysconfdir}/sendmail.cf
-%config(noreplace) %{_sysconfdir}/sendmail.mc
-%config(noreplace) %{_sysconfdir}/submit.cf
-%config(noreplace) %{_sysconfdir}/submit.mc
-%config(noreplace) %{_sysconfdir}/local-host-names
-%config(noreplace) %{_sysconfdir}/aliases
-%attr(0644,root,mail) %ghost %{_sysconfdir}/aliases.db
-%attr(0770,root,mail) %dir /var/spool/mqueue
-%attr(0770,root,smmsp) %dir /var/spool/clientmqueue
 %dir /etc/smrsh
 %dir %{_sysconfdir}
+/var/log/statistics
+%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
+%ghost %{_sysconfdir}/aliases.db
+%attr(0770,root,smmsp) %dir /var/spool/clientmqueue
+%attr(0750,root,mail) %dir /var/spool/mqueue
 
 %config %{_sysconfdir}/Makefile
-%ghost %{_sysconfdir}/virtusertable.db
-%config(noreplace) %{_sysconfdir}/virtusertable
+%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/access
 %ghost %{_sysconfdir}/access.db
-%config(noreplace) %{_sysconfdir}/access
+%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/domaintable
 %ghost %{_sysconfdir}/domaintable.db
-%config(noreplace) %{_sysconfdir}/domaintable
+%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/mailertable
 %ghost %{_sysconfdir}/mailertable.db
-%config(noreplace) %{_sysconfdir}/mailertable
+%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/virtusertable
+%ghost %{_sysconfdir}/virtusertable.db
 %config(noreplace) %{_sysconfdir}/helpfile
 
 %attr(754,root,root) /etc/rc.d/init.d/sendmail
-%config(noreplace) /etc/sysconfig/sendmail
-%config(noreplace) /etc/sasl/Sendmail.conf
+%config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/sendmail
+%config(noreplace) %verify(not md5 size mtime) /etc/sasl/Sendmail.conf
 
 %dir %{_libdir}/sendmail-cf
 %dir %{_libdir}/sendmail-cf/cf
This page took 0.197761 seconds and 4 git commands to generate.