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