1 |
Summary: qpsmtpd plugins from www.openfusion.com |
2 |
%define name qpsmtpd-plugins |
3 |
Name: %{name} |
4 |
%define version 0.0.1 |
5 |
%define release 3 |
6 |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
8 |
License: qpsmtpd |
9 |
Group: Networking/Daemons |
10 |
%define oname qpsmtpd-plugins-openfusion |
11 |
%define oversion 20050429 |
12 |
Source0: http://www.openfusion.com.au/labs/qpsmtpd/%{oname}-%{oversion}.tar.gz |
13 |
Patch0: check_goodrcptto_hypens.patch |
14 |
Patch1: check_goodrcptto_dos2unix.patch |
15 |
Patch2: check_goodrcptto_relaydenycomment.patch |
16 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
17 |
Requires: perl |
18 |
Obsoletes: qpsmtpd-plugins-openfusion |
19 |
Requires: qpsmtpd >= 0.31 |
20 |
BuildArchitectures: noarch |
21 |
AutoReqProv: no |
22 |
|
23 |
%description |
24 |
A package containing qpsmtpd plugins. |
25 |
|
26 |
Included in this version is a set of qpsmtpd plugins from Gavin Carr |
27 |
of OpenFusion: |
28 |
http://www.openfusion.com.au/labs/qpsmtpd/ |
29 |
|
30 |
%changelog |
31 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
32 |
- Clean up spec so package can be built by koji/plague |
33 |
|
34 |
* Thu Apr 12 2007 Stephen Noble <support@dungog.net> 0.0.1-3 |
35 |
- change invalid recipient comment to relay denied [SME: 2340] |
36 |
|
37 |
* Thu Apr 12 2007 Stephen Noble <support@dungog.net> 0.0.1-2 |
38 |
- run dos2unix on check_goodrcptto [SME: 2340] |
39 |
|
40 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
41 |
- Update to new release naming. No functional changes. |
42 |
- Make Packager generic |
43 |
|
44 |
* Fri Aug 18 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-sme06 |
45 |
- Fix check_goodrcptto handling of hyphenated usernames. |
46 |
Thanks Shad Lords [SME: 1268] |
47 |
|
48 |
* Wed Jan 4 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-sme05 |
49 |
- Bump version number only for rebuild |
50 |
|
51 |
* Mon Aug 29 2005 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-sme04 |
52 |
- Updated qpsmtpd requires to 0.31 |
53 |
- Move plugins to /usr/share/qpsmtpd/plugins in line with Peter Holtzer's |
54 |
qpsmtpd RPMs |
55 |
|
56 |
* Mon Aug 15 2005 Charlie Brady <charlieb@e-smith.com> 0.0.1-sme03 |
57 |
- Rename to generic qpsmtpd-plugins (although currently only contains |
58 |
plugins sourced from openfusion). |
59 |
|
60 |
* Fri Apr 29 2005 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-sme02 |
61 |
- Removed denysoft_greylist - it's in 0.29 - thanks Gavin |
62 |
|
63 |
* Fri Apr 29 2005 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-sme01 |
64 |
- Initial packaging |
65 |
- Plugins in /usr/lib/qpsmtpd/plugins |
66 |
|
67 |
%prep |
68 |
%setup -n %{oname}-%{oversion} |
69 |
%patch0 -p1 |
70 |
%patch1 -p1 |
71 |
%patch2 -p1 |
72 |
|
73 |
%build |
74 |
mkdir -p root/usr/share/qpsmtpd |
75 |
mkdir -p root/usr/bin |
76 |
|
77 |
mv plugins config.sample root/usr/share/qpsmtpd |
78 |
|
79 |
%postun |
80 |
|
81 |
%install |
82 |
rm -rf $RPM_BUILD_ROOT |
83 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
84 |
find $RPM_BUILD_ROOT/usr -type f -print | sed "s@^$RPM_BUILD_ROOT@@g" | \ |
85 |
grep -v perllocal.pod > %{name}-%{version}-%{release}-filelist |
86 |
|
87 |
echo "%doc LICENSE" >> %{name}-%{version}-%{release}-filelist |
88 |
|
89 |
%clean |
90 |
rm -rf $RPM_BUILD_ROOT |
91 |
|
92 |
%files -f %{name}-%{version}-%{release}-filelist |
93 |
%defattr(-,root,root) |