58 |
|
|
59 |
Summary: Spam filter for email which can be invoked from mail delivery agents |
Summary: Spam filter for email which can be invoked from mail delivery agents |
60 |
Name: spamassassin |
Name: spamassassin |
61 |
Version: 3.4.4 |
Version: 4.0.1 |
62 |
#Release: 0.8.%%{prerev}%%{?dist} |
#Release: 0.8.%%{prerev}%%{?dist} |
63 |
Release: 8%{?dist} |
Release: 3%{?dist} |
64 |
License: ASL 2.0 |
License: ASL 2.0 |
65 |
URL: https://spamassassin.apache.org/ |
URL: https://spamassassin.apache.org/ |
66 |
Source0: https://www.apache.org/dist/%{name}/source/%{real_name}-%{version}.tar.bz2 |
Source0: https://www.apache.org/dist/%{name}/source/%{real_name}-%{version}.tar.bz2 |
67 |
#Source0: %%{real_name}-%%{version}-%%{prerev}.tar.bz2 |
#Source0: %%{real_name}-%%{version}-%%{prerev}.tar.bz2 |
68 |
Source1: https://www.apache.org/dist/%{name}/source/%{real_name}-rules-%{version}.r1873061.tgz |
Source1: https://www.apache.org/dist/%{name}/source/%{real_name}-rules-%{version}.r1916528.tgz |
69 |
#Source1: %%{real_name}-rules-%%{version}.%%{prerev}.tgz |
#Source1: %%{real_name}-rules-%%{version}.%%{prerev}.tgz |
70 |
Source2: redhat_local.cf |
Source2: redhat_local.cf |
71 |
Source3: spamassassin-default.rc |
Source3: spamassassin-default.rc |
88 |
# Patches 0-99 are RH specific |
# Patches 0-99 are RH specific |
89 |
# https://bugzilla.redhat.com/show_bug.cgi?id=1055593 |
# https://bugzilla.redhat.com/show_bug.cgi?id=1055593 |
90 |
# Switch to using gnupg2 instead of gnupg1 |
# Switch to using gnupg2 instead of gnupg1 |
91 |
Patch0: spamassassin-3.3.2-gnupg2.patch |
|
92 |
Patch1: spamassassin-3.4.1-add-logfile-homedir-options.patch |
Patch0: spamassassin-4.0.1-gnupg2.patch |
93 |
|
Patch1: spamassassin-4.0.1-add-logfile-homedir-options.patch |
94 |
|
|
95 |
# Patches 100+ are SVN backports (DO NOT REUSE!) |
# Patches 100+ are SVN backports (DO NOT REUSE!) |
96 |
# end of patches |
# end of patches |
97 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
102 |
|
|
103 |
BuildRequires: gcc |
BuildRequires: gcc |
104 |
BuildRequires: perl-interpreter >= 2:5.8.0 |
BuildRequires: perl-interpreter >= 2:5.8.0 |
105 |
BuildRequires: perl-generators |
BuildRequires: perl-generators-epel |
106 |
BuildRequires: perl(Net::DNS) |
BuildRequires: perl(Net::DNS) |
107 |
BuildRequires: perl(Time::HiRes) |
BuildRequires: perl(Time::HiRes) |
108 |
BuildRequires: perl(HTML::Parser) |
BuildRequires: perl(HTML::Parser) |
116 |
BuildRequires: perl(Digest::SHA1) |
BuildRequires: perl(Digest::SHA1) |
117 |
BuildRequires: perl(Test::More) |
BuildRequires: perl(Test::More) |
118 |
## added to build on Koozali SME Server builders |
## added to build on Koozali SME Server builders |
119 |
BuildRequires: perl(ExtUtils::MakeMaker) |
BuildRequires: perl(ExtUtils::MakeMaker) |
120 |
|
BuildRequires: perl-ExtUtils-Manifest perl-Net-LibIDN2 perl-Net-LibIDN perl-DBI perl-DBD-SQLite perl-Net-DNS-Nameserver perl-Net-Patricia perl-Archive-Zip perl-IO-String perl-Email-Address perl-Email-Address-XS perl-Mail-DMARC wget perl-MaxMind-DB-Reader-XS perl-MaxMind-DB-Reader perl-Geo-IP perl-IP-Country-DB_File perl-IP-Country |
121 |
|
# need to check if any deps are also needed at install in the list above |
122 |
# Fedora package needs fixing before we can depend on it |
# Fedora package needs fixing before we can depend on it |
123 |
#BuildRequires: re2c |
#BuildRequires: re2c |
124 |
%if %{use_systemd} |
%if %{use_systemd} |
212 |
|
|
213 |
%prep |
%prep |
214 |
%setup -q -n Mail-SpamAssassin-%{version} |
%setup -q -n Mail-SpamAssassin-%{version} |
215 |
|
|
216 |
# Patches 0-99 are RH specific |
# Patches 0-99 are RH specific |
217 |
|
|
218 |
%patch0 -p1 |
%patch0 -p1 |
219 |
%patch1 -p1 |
%patch1 -p1 |
220 |
|
|
221 |
# Patches 100+ are SVN backports (DO NOT REUSE!) |
# Patches 100+ are SVN backports (DO NOT REUSE!) |
222 |
# end of patches |
# end of patches |
223 |
|
|
398 |
%endif |
%endif |
399 |
|
|
400 |
%changelog |
%changelog |
401 |
|
* Mon Apr 01 2024 Brian Read <brianr@koozali.org> 4.0.1-3 |
402 |
|
- Fix patch file [SME: 12574] |
403 |
|
|
404 |
|
* Mon Apr 01 2024 John Crisp <jcrisp@safeandsoundit.co.uk> 4.0.1-2 |
405 |
|
- Fix the incorrect rules url |
406 |
|
|
407 |
|
* Mon Apr 01 2024 John Crisp <jcrisp@safeandsoundit.co.uk> 4.0.1-1 |
408 |
|
- Update to 4.0.1 [SME: 12574] |
409 |
|
|
410 |
|
* Mon Mar 27 2023 JP Pialasse <tests@pialasse.com> 4.0.0-2 |
411 |
|
- resolve build deps |
412 |
|
|
413 |
|
* Mon Feb 13 2023 John Crisp <jcrisp@safeandsoundit.co.uk> 4.0.0-1 |
414 |
|
- Update to 4.0.0 [SME: 12331] |
415 |
|
|
416 |
|
* Tue Dec 07 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 3.4.6-1.sme |
417 |
|
- Update to 3.4.6 [SME: 11798] |
418 |
|
- https://svn.apache.org/repos/asf/spamassassin/branches/3.4/build/announcements/3.4.6.txt |
419 |
|
|
420 |
|
* Sat Mar 27 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 3.4.5-1.sme |
421 |
|
- Update to 3.4.5 [SME: 11496] |
422 |
|
- https://svn.apache.org/repos/asf/spamassassin/branches/3.4/build/announcements/3.4.5.txt |
423 |
|
|
424 |
* Fri Nov 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 3.4.4-8.sme |
* Fri Nov 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 3.4.4-8.sme |
425 |
- import in SME Server 10 [SME: 11206] |
- import in SME Server 10 [SME: 11206] |
426 |
I just added BuildRequires for perl(ExtUtils::MakeMaker) |
- I just added BuildRequires for perl(ExtUtils::MakeMaker) |
427 |
all credit to John Crisp sweat on this one ! |
- all credit to John Crisp sweat on this one ! |
428 |
|
|
429 |
* Thu Nov 26 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 3.4.4-7.sme |
* Thu Nov 26 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 3.4.4-7.sme |
430 |
- First import to SME v10 |
- First import to SME v10 |