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