1 |
# $Id: smeserver-spamassassin.spec,v 1.3 2013/06/07 15:05:49 wellsi Exp $ |
# $Id: smeserver-spamassassin.spec,v 1.4 2013/07/06 05:01:08 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 4 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
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 |
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 Dec 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 |
* 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] |
- Load TextCat plugin if ok_languages is enabled [SME: 7757] |
50 |
|
|
413 |
%setup |
%setup |
414 |
%patch1 -p1 |
%patch1 -p1 |
415 |
%patch2 -p1 |
%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 |