1 |
# $Id: smeserver-wbl.spec,v 1.16 2009/04/27 16:11:21 slords 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 13 |
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 |
Patch8: smeserver-wbl-0.1.0-locale-2009-01-01.patch |
23 |
Patch9: smeserver-wbl-0.1.0-locale-2009-03-01.patch |
24 |
Patch10: smeserver-wbl-0.1.0-locale-2009-03-03.patch |
25 |
Patch11: smeserver-wbl-0.1.0-locale-2009-04-27.patch |
26 |
Patch12: smeserver-wbl-0.1.0-locale-2009-05-20.patch |
27 |
BuildRoot: /var/tmp/%{name}-%{version} |
28 |
BuildArchitectures: noarch |
29 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
30 |
Requires: smeserver-release => 7.0 |
31 |
AutoReqProv: no |
32 |
|
33 |
%description |
34 |
%name is an addon for SME Server that provides the following WBLs: |
35 |
qpsmtpd check_badmailfrom /var/qmail/control/badmailfrom |
36 |
qpsmtpd check_spamhelo /var/service/qpsmtpd/config/badhelo |
37 |
qpsmtpd whitelist_soft /var/service/qpsmtpd/config/whitelisthosts whitelisthelo whitelistsenders |
38 |
spamassassin /etc/mail/spammassassin/local.cf whitelist_from |
39 |
|
40 |
%changelog |
41 |
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 0.1.0-13.sme |
42 |
- apply locale 2009-05-20 patch |
43 |
|
44 |
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 0.1.0-12.sme |
45 |
- apply locale 2009-04-27 patch |
46 |
|
47 |
* Tue Mar 03 2009 SME Translation Server |
48 |
- apply locale 2009-03-03 patch |
49 |
|
50 |
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1.0-10 |
51 |
- Apply 1 Mar 2009 locale patch [SME: 5018] |
52 |
|
53 |
* Thu Jan 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1.0-9 |
54 |
- Apply 1 Jan 2009 locale patch [SME: 4900] |
55 |
|
56 |
* Wed Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1.0-8 |
57 |
- Apply 19 Nov 2008 locale patch |
58 |
|
59 |
* Mon Nov 10 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1.0-7 |
60 |
- Apply 10 Nov 2008 locale patch |
61 |
|
62 |
* Fri Nov 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1.0-6 |
63 |
- Apply 7 Nov 2008 locale patch |
64 |
|
65 |
* Thu Nov 6 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1.0-5 |
66 |
- Apply 6 Nov 2008 locale patch |
67 |
|
68 |
* Fri Oct 17 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1.0-4 |
69 |
- Apply 17 Oct 2008 locale patch |
70 |
|
71 |
* Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1.0-3 |
72 |
- Apply 16 Oct 2008 locale patch |
73 |
|
74 |
* Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1.0-2 |
75 |
- Apply 14 Oct 2008 locale patch |
76 |
|
77 |
* Mon Oct 13 2008 Shad L. Lords <slords@mail.com> 0.1.0-1.sme |
78 |
- Roll new stream to import into buildsys |
79 |
|
80 |
* Fri Oct 10 2008 Greg J. Zartman <greg@leiinc.com> 0.0.1-9 |
81 |
- Add whitelist_soft qpsmtpd plugin template fragment for external connections. |
82 |
- Simplify server-manager panel. |
83 |
|
84 |
* Fri Jan 05 2007 Darrell May <dmay@myezserver.com> |
85 |
- added spamassassin whitelist_from to accept panel |
86 |
- reworked all code to use spamassassin db format |
87 |
- [0.0.1-a8.dmay] |
88 |
|
89 |
* Thu Jan 04 2007 Darrell May <dmay@myezserver.com> |
90 |
- edited panels, added Update panel |
91 |
- [0.0.1-a7.dmay] |
92 |
|
93 |
* Thu Jan 04 2007 Darrell May <dmay@myezserver.com> |
94 |
- edited templates to use new db |
95 |
- added templates for spamassassin local.cf whitelist_from |
96 |
- [0.0.1-a6.dmay] |
97 |
|
98 |
* Wed Jan 03 2007 Darrell May <dmay@myezserver.com> |
99 |
- changed db to use /home/e-smith/db/wbl |
100 |
- [0.0.1-a5.dmay] |
101 |
|
102 |
* Sun Dec 17 2006 Darrell May <dmay@myezserver.com> |
103 |
- initial public alpha release |
104 |
- [0.0.1-a4.dmay] |
105 |
|
106 |
* Sat Dec 16 2006 Darrell May <dmay@myezserver.com> |
107 |
- more panel enhancements |
108 |
- [0.0.1-a3.dmay] |
109 |
|
110 |
* Fri Dec 15 2006 Darrell May <dmay@myezserver.com> |
111 |
- continued panel enhancements |
112 |
- [0.0.1-a2.dmay] |
113 |
|
114 |
* Fri Dec 15 2006 Darrell May <dmay@myezserver.com> |
115 |
- server-manager panel added |
116 |
- [0.0.1-a1.dmay] |
117 |
|
118 |
* Fri Dec 15 2006 Darrell May <dmay@myezserver.com> |
119 |
- initial alpha release |
120 |
- [0.0.1-a0.dmay] |
121 |
|
122 |
%prep |
123 |
%setup |
124 |
%patch1 -p1 |
125 |
%patch2 -p1 |
126 |
%patch3 -p1 |
127 |
%patch4 -p1 |
128 |
%patch5 -p1 |
129 |
%patch6 -p1 |
130 |
%patch7 -p1 |
131 |
%patch8 -p1 |
132 |
%patch9 -p1 |
133 |
%patch10 -p1 |
134 |
%patch11 -p1 |
135 |
%patch12 -p1 |
136 |
|
137 |
%build |
138 |
perl createlinks |
139 |
|
140 |
%install |
141 |
rm -rf $RPM_BUILD_ROOT |
142 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
143 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
144 |
echo "%doc " >> %{name}-%{version}-filelist |
145 |
|
146 |
%clean |
147 |
cd .. |
148 |
rm -rf %{name}-%{version} |
149 |
|
150 |
%files -f %{name}-%{version}-filelist |
151 |
%defattr(-,root,root) |
152 |
|