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