-
-%{_libdir}/sendmail-cf
-
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/mail/*
-
-%changelog
-* Thu Feb 10 1999 Micha³ Kuratczyk <kurkens@polbox.com>
- [8.9.2-3d]
-- "Obsoletes: smtpdaemon" instead a lot of obsoletes
-- simplification in %files
-- gzipping instead bzipping
-
-* Fri Jan 22 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
-[8.9.2-3d]
-- fixed group && owner ELF bineries,
-- fixed init script,
-- fixed %preun.
-
-* Sun Jan 17 1999 Wojtek ¦lusarczyk <wojtek@SHADOW.EU.ORG>
-[8.9.2-2d]
-- fixed sendmail.init script,
-- compressed man pages && documentation,
- by Micha³ Zalewski <lcamtuf@ids.pl>
-- added patch against DoS ;)
-- added %{name}-redirect.patch
-
-* Thu Sep 10 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
-[8.9.1-1d]
-- updated to 8.9.1a && build for PLD Tornado,
-- build with IPv6 support
- (patches was prepared by John Kennedy <jk@csuchico.edu>),
-- build with Detect-Telnet support,
-- removed subpackage doc.
-
-* Thu Jul 30 1998 Wojtek Slusarczyk <wojtek@shadow.eu.org>
-[8.8.8-1d]
-- build against glibc-2.1,
-- updated to 8.8.8,
-- added IPv6 support,
-- translation modified for pl,
-- moved configfiles to /etc/mail,
-- changed permissions of all binaries to 711,
-- moved %changelog at the end of spec,
-- build from non root's account.
-
-* Tue May 05 1998 Prospector System <bugs@redhat.com>
-
-- translations modified for de, fr, tr
-
-* Sat May 02 1998 Cristian Gafton <gafton@redhat.com>
-- enhanced initscripts
-
-* Fri May 01 1998 Cristian Gafton <gafton@redhat.com>
-- added a rmail patch
-
-* Wed Oct 29 1997 Donnie Barnes <djb@redhat.com>
-- argh! Fixed some of the db1 handling that had to be added for glibc 2.1
-
-* Fri Oct 24 1997 Donnie Barnes <djb@redhat.com>
-- added support for db1 on SPARC
-
-* Thu Oct 16 1997 Donnie Barnes <djb@redhat.com>
-- added chkconfig support
-- various spec file cleanups
-- changed group to Networking/Daemons (from Daemons). Sure, it runs on
- non networked systems, but who really *needs* it then?
-
-* Wed Oct 08 1997 Donnie Barnes <djb@redhat.com>
-- made /etc/mail/deny.db a ghost
-- removed preun that used to remove deny.db (ghost handles that now)
-- NOTE: upgrading from the sendmail packages in 4.8, 4.8.1, and possibly
- 4.9 (all Red Hat betas between 4.2 and 5.0) could cause problems. You
- may need to do a makemap in /etc/mail and a newaliases after upgrading
- from those packages. Upgrading from 4.2 or prior should be fine.
-
-* Mon Oct 06 1997 Erik Troan <ewt@redhat.com>
-- made aliases.db a ghost
-
-* Tue Sep 23 1997 Donnie Barnes <djb@redhat.com>
-- fixed preuninstall script to handle aliases.db on upgrades properly
-
-* Mon Sep 15 1997 Donnie Barnes <djb@redhat.com>
-- fixed post-install output and changed /var/spool/mqueue to 755
-
-* Thu Sep 11 1997 Donnie Barnes <djb@redhat.com>
-- fixed /usr/lib/sendmail-cf paths
-
-* Tue Sep 09 1997 Donnie Barnes <djb@redhat.com>
-- updated to 8.8.7
-- added some spam filtration
-- combined some makefile patches
-- added BuildRoot support
-
-* Wed Sep 03 1997 Erik Troan <ewt@redhat.com>
-- marked initscript symlinks as missingok
-- run newalises after creating /var/spool/mqueue
-
-* Thu Jun 12 1997 Erik Troan <ewt@redhat.com>
-- built against glibc, udated release to -6 (skipped -5!)
-
-* Tue Apr 01 1997 Erik Troan <ewt@redhat.com>
-- Added -nsl on the Alpha (for glibc to provide NIS functions).
-
-* Mon Mar 03 1997 Erik Troan <ewt@redhat.com>
-- Added nis support.
-
+%doc *.gz examples/
+%attr(755,root,root) %{_sbindir}/mailstats
+%attr(755,root,root) %{_sbindir}/praliases
+%attr(755,root,root) %{_bindir}/hoststat
+%attr(755,root,root) %{_bindir}/purgestat
+%attr(755,root,root) %{_bindir}/rmail
+%attr(755,root,root) %{_bindir}/makemap
+%attr(755,root,root) %{_sbindir}/makemap
+%attr(2755,root,smmsp) %{_sbindir}/sendmail
+%attr(755,root,root) %{_bindir}/newaliases
+%attr(755,root,root) %{_bindir}/mailq
+%attr(755,root,root) %{_sbindir}/smrsh
+%{_libdir}/sendmail
+
+%{_mandir}/man8/rmail.8*
+%{_mandir}/man8/praliases.8*
+%{_mandir}/man8/mailstats.8*
+%{_mandir}/man8/makemap.8*
+%{_mandir}/man8/sendmail.8*
+%{_mandir}/man5/aliases.5*
+%{_mandir}/man1/newaliases.1*
+%{_mandir}/man1/mailq.1*
+
+%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
+%attr(0644,root,mail) %ghost %{_sysconfdir}/aliases.db
+%attr(0770,root,smmsp) %dir /var/spool/clientmqueue
+%attr(0750,root,mail) %dir /var/spool/mqueue
+%attr(0755,root,root) %dir /etc/pam.d
+
+%config %{_sysconfdir}/Makefile
+%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/access
+%ghost %{_sysconfdir}/access.db
+%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/domaintable
+%ghost %{_sysconfdir}/domaintable.db
+%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/mailertable
+%ghost %{_sysconfdir}/mailertable.db
+%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) %verify(not md5 size mtime) /etc/sysconfig/sendmail
+%config(noreplace) %verify(not md5 size mtime) /etc/sasl/Sendmail.conf
+%config(noreplace) %verify(not md5 size mtime) /etc/pam.d/smtp
+
+%dir %{_libdir}/sendmail-cf
+%dir %{_libdir}/sendmail-cf/cf
+%{_libdir}/sendmail-cf/cf/pld.mc
+%{_libdir}/sendmail-cf/feature
+%{_libdir}/sendmail-cf/m4
+%{_libdir}/sendmail-cf/mailer
+%dir %{_libdir}/sendmail-cf/ostype
+%{_libdir}/sendmail-cf/ostype/linux.m4
+%dir %{_libdir}/sendmail-cf/sh
+%{_libdir}/sendmail-cf/sh/makeinfo.sh
+%{_libdir}/sendmail-cf/siteconfig