1 |
# $Id: smeserver-spamassassin.spec,v 1.3 2013/06/07 15:05:49 wellsi Exp $ |
# $Id: smeserver-spamassassin.spec,v 1.6 2014/01/03 05:10:14 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 3 |
%define release 5 |
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 |
|
Patch1: smeserver-spamassassin-2.4.0-fix_10required_score.patch |
|
13 |
Patch2: smeserver-spamassassin-2.4.0-okLanguages.patch |
Patch2: smeserver-spamassassin-2.4.0-okLanguages.patch |
14 |
|
Patch3: smeserver-spamassassin-2.4.0-refreshclam.patch |
15 |
|
Patch4: smeserver-spamassassin-2.4.0-revert-10required_score.patch |
16 |
|
Patch5: smeserver-spamassassin-2.4.0-10required_score-whitespace.patch |
17 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
18 |
Requires: e-smith-email >= 4.13.0-38 |
Requires: e-smith-email >= 4.13.0-38 |
19 |
Requires: headermatch |
Requires: headermatch |
43 |
SME Server - spamassassin anti-spam module |
SME Server - spamassassin anti-spam module |
44 |
|
|
45 |
%changelog |
%changelog |
46 |
|
* Wed Jan 29 2014 Ian Wells <esmith@wellsi.com> 2.4.0-5.sme |
47 |
|
- Remove workarounds for how qpsmtpd tags spam email [SME: 8109] |
48 |
|
- Fix whitespace in 10required_score |
49 |
|
|
50 |
|
* Thu Jan 2 2014 Ian Wells <esmith@wellsi.com> 2.4.0-4.sme |
51 |
|
- Include /usr/bin/refreshclam [SME: 8108] |
52 |
|
|
53 |
* Fri Jul 5 2013 Ian Wells <esmith@wellsi.com> 2.4.0-3.sme |
* Fri Jul 5 2013 Ian Wells <esmith@wellsi.com> 2.4.0-3.sme |
54 |
- Load TextCat plugin if ok_languages is enabled [SME: 7757] |
- Load TextCat plugin if ok_languages is enabled [SME: 7757] |
55 |
|
|
416 |
|
|
417 |
%prep |
%prep |
418 |
%setup |
%setup |
|
%patch1 -p1 |
|
419 |
%patch2 -p1 |
%patch2 -p1 |
420 |
|
%patch3 -p1 |
421 |
|
%patch4 -p1 |
422 |
|
%patch5 -p1 |
423 |
|
|
424 |
%build |
%build |
425 |
perl createlinks |
perl createlinks |
440 |
--dir /var/spool/spamd 'attr(2750,spamd,spamd)' \ |
--dir /var/spool/spamd 'attr(2750,spamd,spamd)' \ |
441 |
--dir /var/spool/spamd/.spamassassin 'attr(2750,spamd,spamd)' \ |
--dir /var/spool/spamd/.spamassassin 'attr(2750,spamd,spamd)' \ |
442 |
--file /etc/cron.hourly/sa-restart 'attr(0755,root,root)' \ |
--file /etc/cron.hourly/sa-restart 'attr(0755,root,root)' \ |
443 |
|
--file /usr/bin/refreshclam 'attr(0755,root,root)' \ |
444 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
445 |
|
|
446 |
%pre |
%pre |