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