1 |
# $Id: smeserver-spamassassin.spec,v 1.7 2008/10/07 14:57:14 slords Exp $ |
# $Id: smeserver-spamassassin.spec,v 1.9 2010/02/17 11:53:42 filippocarletti Exp $ |
2 |
|
|
3 |
Summary: SME Server - spamassassin anti-spam module |
Summary: SME Server - spamassassin anti-spam module |
4 |
%define name smeserver-spamassassin |
%define name smeserver-spamassassin |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.2.0 |
%define version 2.2.0 |
7 |
%define release 2 |
%define release 4 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
11 |
Group: Networking/Daemons |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
13 |
Patch1: smeserver-spamassassin-2.2.0-ServiceNameFix.patch |
Patch1: smeserver-spamassassin-2.2.0-ServiceNameFix.patch |
14 |
|
Patch2: smeserver-spamassassin-2.2.0-AWL.patch |
15 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
Requires: e-smith-email >= 4.13.0-38 |
Requires: e-smith-email >= 4.13.0-38 |
17 |
Requires: headermatch |
Requires: headermatch |
18 |
Requires: spamassassin >= 3.1.0 |
Requires: spamassassin >= 3.3.0 |
19 |
Requires: perl(Crypt::OpenSSL::Bignum) |
Requires: perl(Crypt::OpenSSL::Bignum) |
20 |
Requires: perl(IO::Socket::INET6) |
Requires: perl(IO::Socket::INET6) |
21 |
Requires: perl(IP::Country) |
Requires: perl(IP::Country) |
30 |
Requires: razor-agents >= 2.61-1 |
Requires: razor-agents >= 2.61-1 |
31 |
Requires: DCC |
Requires: DCC |
32 |
Requires: pyzor |
Requires: pyzor |
33 |
Requires: FuzzyOcr |
Obsoletes: FuzzyOcr |
34 |
Obsoletes: e-smith-spamassassin |
Obsoletes: e-smith-spamassassin |
35 |
Provides: e-smith-spamassassin |
Provides: e-smith-spamassassin |
36 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
41 |
SME Server - spamassassin anti-spam module |
SME Server - spamassassin anti-spam module |
42 |
|
|
43 |
%changelog |
%changelog |
44 |
|
* Wed Feb 17 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-4sme |
45 |
|
- Requires SpamAssassin 3.3.0 [SME: 5741] |
46 |
|
- Remove FuzzyOcr [SME: 5771] |
47 |
|
- Use ATrpm package (partially remove previous patch) |
48 |
|
|
49 |
|
* Tue Feb 16 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-3sme |
50 |
|
- Requires SpamAssassin 3.3.0 [SME: 5741] |
51 |
|
- Remove FuzzyOcr [SME: 5771] |
52 |
|
- Run sa-update every two hours and check restart every hour |
53 |
|
- Redirect cron job output to logfile to avoid mail noise |
54 |
|
|
55 |
* Tue Nov 25 2008 Giacomo Sanchietti <giacomo@nethesis.it> 2.2.0-2sme |
* Tue Nov 25 2008 Giacomo Sanchietti <giacomo@nethesis.it> 2.2.0-2sme |
56 |
- Fix invalid service name in sa-update [SME: 3304] |
- Fix invalid service name in sa-update [SME: 3304] |
57 |
|
|
382 |
%prep |
%prep |
383 |
%setup |
%setup |
384 |
%patch1 -p1 |
%patch1 -p1 |
385 |
|
%patch2 -p1 |
386 |
|
|
387 |
%build |
%build |
388 |
perl createlinks |
perl createlinks |
416 |
--dir /var/log/spamd 'attr(2750,smelog,smelog)' \ |
--dir /var/log/spamd 'attr(2750,smelog,smelog)' \ |
417 |
--dir /var/spool/spamd 'attr(2750,spamd,spamd)' \ |
--dir /var/spool/spamd 'attr(2750,spamd,spamd)' \ |
418 |
--dir /var/spool/spamd/.spamassassin 'attr(2750,spamd,spamd)' \ |
--dir /var/spool/spamd/.spamassassin 'attr(2750,spamd,spamd)' \ |
419 |
|
--file /etc/cron.hourly/sa-restart 'attr(0755,root,root)' \ |
420 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
421 |
|
|
422 |
%pre |
%pre |