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