1 |
# $Id: smeserver-wbl.spec,v 1.10 2008/11/19 17:32:16 snetram Exp $ |
2 |
# Authority: gzartman |
3 |
# Name: Greg Zartman |
4 |
|
5 |
Summary: E-mail white/black lists for SME Server |
6 |
%define name smeserver-wbl |
7 |
Name: %{name} |
8 |
%define version 0.1.0 |
9 |
%define release 8 |
10 |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
12 |
License: GPL |
13 |
Group: SME Server/addon |
14 |
Source: %{name}-%{version}.tar.gz |
15 |
Patch1: smeserver-wbl-0.1.0-locale-2008-10-14.patch |
16 |
Patch2: smeserver-wbl-0.1.0-locale-2008-10-16.patch |
17 |
Patch3: smeserver-wbl-0.1.0-locale-2008-10-17.patch |
18 |
Patch4: smeserver-wbl-0.1.0-locale-2008-11-06.patch |
19 |
Patch5: smeserver-wbl-0.1.0-locale-2008-11-07.patch |
20 |
Patch6: smeserver-wbl-0.1.0-locale-2008-11-10.patch |
21 |
Patch7: smeserver-wbl-0.1.0-locale-2008-11-19.patch |
22 |
BuildRoot: /var/tmp/%{name}-%{version} |
23 |
BuildArchitectures: noarch |
24 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
25 |
Requires: smeserver-release => 7.0 |
26 |
AutoReqProv: no |
27 |
|
28 |
%description |
29 |
%name is an addon for SME Server that provides the following WBLs: |
30 |
qpsmtpd check_badmailfrom /var/qmail/control/badmailfrom |
31 |
qpsmtpd check_spamhelo /var/service/qpsmtpd/config/badhelo |
32 |
qpsmtpd whitelist_soft /var/service/qpsmtpd/config/whitelisthosts whitelisthelo whitelistsenders |
33 |
spamassassin /etc/mail/spammassassin/local.cf whitelist_from |
34 |
|
35 |
%changelog |
36 |
* Wed Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1.0-8 |
37 |
- Apply 19 Nov 2008 locale patch |
38 |
|
39 |
* Mon Nov 10 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1.0-7 |
40 |
- Apply 10 Nov 2008 locale patch |
41 |
|
42 |
* Fri Nov 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1.0-6 |
43 |
- Apply 7 Nov 2008 locale patch |
44 |
|
45 |
* Thu Nov 6 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1.0-5 |
46 |
- Apply 6 Nov 2008 locale patch |
47 |
|
48 |
* Fri Oct 17 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1.0-4 |
49 |
- Apply 17 Oct 2008 locale patch |
50 |
|
51 |
* Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1.0-3 |
52 |
- Apply 16 Oct 2008 locale patch |
53 |
|
54 |
* Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1.0-2 |
55 |
- Apply 14 Oct 2008 locale patch |
56 |
|
57 |
* Mon Oct 13 2008 Shad L. Lords <slords@mail.com> 0.1.0-1.sme |
58 |
- Roll new stream to import into buildsys |
59 |
|
60 |
* Fri Oct 10 2008 Greg J. Zartman <greg@leiinc.com> 0.0.1-9 |
61 |
- Add whitelist_soft qpsmtpd plugin template fragment for external connections. |
62 |
- Simplify server-manager panel. |
63 |
|
64 |
* Fri Jan 05 2007 Darrell May <dmay@myezserver.com> |
65 |
- added spamassassin whitelist_from to accept panel |
66 |
- reworked all code to use spamassassin db format |
67 |
- [0.0.1-a8.dmay] |
68 |
|
69 |
* Thu Jan 04 2007 Darrell May <dmay@myezserver.com> |
70 |
- edited panels, added Update panel |
71 |
- [0.0.1-a7.dmay] |
72 |
|
73 |
* Thu Jan 04 2007 Darrell May <dmay@myezserver.com> |
74 |
- edited templates to use new db |
75 |
- added templates for spamassassin local.cf whitelist_from |
76 |
- [0.0.1-a6.dmay] |
77 |
|
78 |
* Wed Jan 03 2007 Darrell May <dmay@myezserver.com> |
79 |
- changed db to use /home/e-smith/db/wbl |
80 |
- [0.0.1-a5.dmay] |
81 |
|
82 |
* Sun Dec 17 2006 Darrell May <dmay@myezserver.com> |
83 |
- initial public alpha release |
84 |
- [0.0.1-a4.dmay] |
85 |
|
86 |
* Sat Dec 16 2006 Darrell May <dmay@myezserver.com> |
87 |
- more panel enhancements |
88 |
- [0.0.1-a3.dmay] |
89 |
|
90 |
* Fri Dec 15 2006 Darrell May <dmay@myezserver.com> |
91 |
- continued panel enhancements |
92 |
- [0.0.1-a2.dmay] |
93 |
|
94 |
* Fri Dec 15 2006 Darrell May <dmay@myezserver.com> |
95 |
- server-manager panel added |
96 |
- [0.0.1-a1.dmay] |
97 |
|
98 |
* Fri Dec 15 2006 Darrell May <dmay@myezserver.com> |
99 |
- initial alpha release |
100 |
- [0.0.1-a0.dmay] |
101 |
|
102 |
%prep |
103 |
%setup |
104 |
%patch1 -p1 |
105 |
%patch2 -p1 |
106 |
%patch3 -p1 |
107 |
%patch4 -p1 |
108 |
%patch5 -p1 |
109 |
%patch6 -p1 |
110 |
%patch7 -p1 |
111 |
|
112 |
%build |
113 |
perl createlinks |
114 |
|
115 |
%install |
116 |
rm -rf $RPM_BUILD_ROOT |
117 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
118 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
119 |
echo "%doc " >> %{name}-%{version}-filelist |
120 |
|
121 |
%clean |
122 |
cd .. |
123 |
rm -rf %{name}-%{version} |
124 |
|
125 |
%files -f %{name}-%{version}-filelist |
126 |
%defattr(-,root,root) |
127 |
|