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