1 |
# $Id: smeserver-spamassassin.spec,v 1.2 2013/05/19 05:38:10 burnat Exp $ |
# $Id: smeserver-spamassassin.spec,v 1.5 2014/01/03 05:07:43 wellsi 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.4.0 |
%define version 2.4.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.xz |
Source: %{name}-%{version}.tar.xz |
13 |
Patch1: smeserver-spamassassin-2.4.0-fix_10required_score.patch |
Patch1: smeserver-spamassassin-2.4.0-fix_10required_score.patch |
14 |
|
Patch2: smeserver-spamassassin-2.4.0-okLanguages.patch |
15 |
|
Patch3: smeserver-spamassassin-2.4.0-refreshclam.patch |
16 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
17 |
Requires: e-smith-email >= 4.13.0-38 |
Requires: e-smith-email >= 4.13.0-38 |
18 |
Requires: headermatch |
Requires: headermatch |
42 |
SME Server - spamassassin anti-spam module |
SME Server - spamassassin anti-spam module |
43 |
|
|
44 |
%changelog |
%changelog |
45 |
|
* Thu Jan 2 2014 Ian Wells <esmith@wellsi.com> 2.4.0-4.sme |
46 |
|
- Include /usr/bin/refreshclam [SME: 8108] |
47 |
|
|
48 |
|
* Fri Jul 5 2013 Ian Wells <esmith@wellsi.com> 2.4.0-3.sme |
49 |
|
- Load TextCat plugin if ok_languages is enabled [SME: 7757] |
50 |
|
|
51 |
* Sun May 19 2013 chris burnat <devlist@burnat.com> 2.4.0-2.sme |
* Sun May 19 2013 chris burnat <devlist@burnat.com> 2.4.0-2.sme |
52 |
- Fix how qpsmtpd tags spam email, codes by Charlie Brady [SME: 7604] |
- Fix how qpsmtpd tags spam email, codes by Charlie Brady [SME: 7604] |
53 |
|
|
412 |
%prep |
%prep |
413 |
%setup |
%setup |
414 |
%patch1 -p1 |
%patch1 -p1 |
415 |
|
%patch2 -p1 |
416 |
|
%patch3 -p1 |
417 |
|
|
418 |
%build |
%build |
419 |
perl createlinks |
perl createlinks |
434 |
--dir /var/spool/spamd 'attr(2750,spamd,spamd)' \ |
--dir /var/spool/spamd 'attr(2750,spamd,spamd)' \ |
435 |
--dir /var/spool/spamd/.spamassassin 'attr(2750,spamd,spamd)' \ |
--dir /var/spool/spamd/.spamassassin 'attr(2750,spamd,spamd)' \ |
436 |
--file /etc/cron.hourly/sa-restart 'attr(0755,root,root)' \ |
--file /etc/cron.hourly/sa-restart 'attr(0755,root,root)' \ |
437 |
|
--file /usr/bin/refreshclam 'attr(0755,root,root)' \ |
438 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
439 |
|
|
440 |
%pre |
%pre |