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