]> git.pld-linux.org Git - SPECS.git/blob - spamassassin-plugin-iXhash2.spec
SPECS updated Sat 31 Jul 21:27:02 CEST 2021
[SPECS.git] / spamassassin-plugin-iXhash2.spec
1 Summary:        SpamAssassin plugin to lookup e-mail checksums in blacklists
2 Name:           spamassassin-plugin-iXhash2
3 Version:        2.05
4 Release:        2
5 License:        Apache v2.0
6 Group:          Applications/Networking
7 Source0:        http://mailfud.org/iXhash2/iXhash2-%{version}.tar.gz
8 # Source0-md5:  3acd152c17207ae2454a35c29b41a258
9 Source1:        spamassassin-iXhash2.eml
10 Patch0:         spamassassin-iXhash2-2.05-conf.patch
11 URL:            http://mailfud.org/iXhash2/
12 BuildRequires:  perl-devel
13 Requires:       spamassassin >= 3.2
14 Provides:       spamassassin-iXhash = 1.5.5-2
15 Obsoletes:      spamassassin-iXhash < 1.5.5-2
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 iXhash2 is an unofficial improved version of the iXhash spam filter
21 plugin for SpamAssassin, adding async DNS lookups for performance and
22 removing unneeded features but fully compatible with the iXhash 1.5.5
23 (http://www.ixhash.net/) implementation. It computes MD5 checksums of
24 fragments of the body of an e-mail and compares them to those of known
25 spam using DNS queries to a RBL-like name server. So it works similar
26 to the standard plugins that use the Pyzor, Razor and DCC software
27 packages from within SpamAssassin.
28
29 %prep
30 %setup -q -n iXhash2-%{version}
31 %patch0 -p1 -b .conf
32 cp -pf %{SOURCE1} iXhash2.eml
33
34 %build
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38
39 install -D -p iXhash2.cf $RPM_BUILD_ROOT%{_sysconfdir}/mail/spamassassin/iXhash2.cf
40 touch -c -r iXhash2.cf.conf $RPM_BUILD_ROOT%{_sysconfdir}/mail/spamassassin/iXhash2.cf
41 install -D -p iXhash2.pm $RPM_BUILD_ROOT%{perl_vendorlib}/Mail/SpamAssassin/Plugin/iXhash2.pm
42 install -d $RPM_BUILD_ROOT%{_mandir}/man3/
43 perldoc iXhash2.pm > $RPM_BUILD_ROOT%{_mandir}/man3/Mail::SpamAssassin::Plugin::iXhash2.3pm
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc CHANGELOG LICENSE README iXhash2.eml
51 %config(noreplace) %{_sysconfdir}/mail/spamassassin/iXhash2.cf
52 %{perl_vendorlib}/Mail/SpamAssassin/Plugin/iXhash2.pm
53 %{_mandir}/man3/*.3pm*
This page took -7059.102019 seconds and 3 git commands to generate.