1Summary: procmail mail delivery agent
2Name: procmail
3Version: 3.22
4Release: 1
5Copyright: GPL
6Group: Daemons
7Source: ftp://ftp.%{name}.org/pub/%{name}/%{name}-%{version}.tar.gz
8BuildRoot: /var/tmp/%{name}-rpmroot
9Provides: localmail procmail
10Packager: Bruce Guenter <bruce.guenter@qcc.sk.ca>
11
12%description
13Most mail servers such as sendmail need to have a local delivery agent.
14Procmail can be used as the local delivery agent for you mail server.  It
15supports a rich command set that allows you to pre-sort, archive, or re-mail
16incoming mail automatically.  SmartList also needs procmail to operate.
17
18%prep
19%setup
20perl -ni -le 'next if /^LOCKINGTEST=/; s/^#// if /^#LOCKINGTEST=/; print' Makefile
21
22%build
23LOCKINGTEST='/tmp .' make
24
25%install
26rm -rf $RPM_BUILD_ROOT
27mkdir -p $RPM_BUILD_ROOT/usr/{bin,man/man{1,5}}
28make BASENAME=$RPM_BUILD_ROOT/usr VISIBLE_BASENAME=/usr install
29
30%files
31%attr(4511,root,root) /usr/bin/procmail
32%defattr(-,root,root)
33/usr/bin/lockfile
34/usr/bin/mailstat
35/usr/bin/formail
36%doc /usr/man/*/*
37%doc [A-Z]* examples
38
39%changelog
40* Mon Sep 10 2001 Philip Guenther <guenther@sendmail.com>
41  - 3.22-1
42* Thu Jun 29 2001 Philip Guenther <guenther@sendmail.com>
43  - 3.21-1
44* Thu Jun 28 2001 Philip Guenther <guenther@sendmail.com>
45  - 3.20-1
46* Mon Jan 08 2001 Bennett Todd <bet@rahul.net>
47  - 3.15.1-1: Massive cleanup, simplify
48  - parameterize on %{name} and %{version}
49  - make cleaner buildroot handling with wildcards in %files
50  - moved this changelog to the bottom, cleaned some whitespace out of it.
51* Sat Nov 18 2000 Bennett Todd <bet@rahul.net>
52  - 3.15-1
53* Fri Jun 23 2000 Bennett Todd <bet@rahul.net>
54  - Release 4: rebuilt from fresh tarball released today
55* Wed Jun 21 2000 Bennett Todd <bet@rahul.net>
56  - Release 3: rebuilt from fresh tarball released today
57* Sat Dec 26 1999 Bennett Todd <bet@rahul.net>
58  - Release 2 --- fixed perms following recommendation from
59    Philip Guenther <guenther@gac.edu>
60* Wed Dec 22 1999 Bennett Todd <bet@mordor.net>
61  - Version 3.15pre
62* Wed Nov 24 1999 Bennett Todd <bet@mordor.net>
63  - Version 3.14, Release 1
64  - dropped all patches
65* Fri Sep 24 1999 Bennett Todd <bet@mordor.net>
66  - Added invert-Y patch, to make formail default to not trusting Content-Length.
67  - changed from Name=>procmail Release=>maildir-3 to Name=>procmail-maildir
68    Release=>4, since I couldn't get my rpm(1) to tolerate a Release of
69    "maildir-4".
70* Thu Sep 09 1999 Bruce Guenter <brucg@em.ca>
71- Fixed permissions on mailstat (shell script must be readable).
72- Clarified man page information on how deliveries are done.
73* Tue Apr 06 1999 Bruce Guenter <bruce.guenter@qcc.sk.ca>
74- Added nospoollock patch to avoid creating /var/spool/mail/USERNAME.
75- Updated to procmail 3.13.1
76* Mon Apr 05 1999 Bruce Guenter <bruce.guenter@qcc.sk.ca>
77- Added maildir patch
78  Added no-lock-directory patch
79* Mon Apr 05 1999 James Bourne <jbourne@affinity-systems.ab.ca>
80- updated to procmail 3.13
81* Tue Jan 12 1999 James Bourne <jbourne@affinity-systems.ab.ca>
82- added attr's to files section
83* Thu Jan 07 1999 James Bourne <jbourne@affinity-systems.ab.ca>
84- Rebuilt RPM and SRPM with pgp signature and proper spec file for rhcn.
85* Thu Dec 17 1998 James Bourne <jbourne@affinity-systems.ab.ca>
86- built RPM and SRPM.  only changes are that the spec file uses it's own
87	install section and does not use the procmail install methods.
88