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