3 |
Summary: Fast anti-spam filtering by Bayesian statistical analysis |
Summary: Fast anti-spam filtering by Bayesian statistical analysis |
4 |
Name: bogofilter |
Name: bogofilter |
5 |
Version: 1.2.2 |
Version: 1.2.2 |
6 |
|
%define subrel 1 |
7 |
Release: %mkrel 2 |
Release: %mkrel 2 |
8 |
License: GPLv2+ |
License: GPLv2+ |
9 |
Group: Networking/Mail |
Group: Networking/Mail |
10 |
URL: http://bogofilter.sourceforge.net |
URL: http://bogofilter.sourceforge.net |
11 |
Source0: http://prdownloads.sourceforge.net/bogofilter/%{name}-%{version}.tar.bz2 |
Source0: http://prdownloads.sourceforge.net/bogofilter/%{name}-%{version}.tar.bz2 |
12 |
|
Patch0: bogofilter-1.2.2-CVE-2012-5468.diff |
13 |
BuildRequires: db4-devel |
BuildRequires: db4-devel |
14 |
BuildRequires: gsl-devel |
BuildRequires: gsl-devel |
15 |
BuildRequires: valgrind |
BuildRequires: valgrind |
16 |
BuildRequires: flex |
BuildRequires: flex |
17 |
BuildRequires: xmlto |
BuildRequires: xmlto |
18 |
BuildRequires: openjade |
BuildRequires: openjade |
|
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot |
|
19 |
|
|
20 |
%description |
%description |
21 |
Bogofilter is a Bayesian spam filter. In its normal mode of |
Bogofilter is a Bayesian spam filter. In its normal mode of |
30 |
%prep |
%prep |
31 |
|
|
32 |
%setup -q |
%setup -q |
33 |
|
%patch0 -p1 |
34 |
|
|
35 |
%build |
%build |
36 |
|
|
81 |
[ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot} |
[ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot} |
82 |
|
|
83 |
%files |
%files |
|
%defattr(-,root,root) |
|
84 |
%doc AUTHORS GETTING.STARTED Doxyfile NEWS |
%doc AUTHORS GETTING.STARTED Doxyfile NEWS |
85 |
%doc README* RELEASE.NOTES |
%doc README* RELEASE.NOTES |
86 |
%doc RELEASE.NOTES* TODO bogofilter.cf.example |
%doc RELEASE.NOTES* TODO bogofilter.cf.example |
94 |
%{_bindir}/* |
%{_bindir}/* |
95 |
%{_datadir}/bogofilter |
%{_datadir}/bogofilter |
96 |
%{_mandir}/man1/* |
%{_mandir}/man1/* |
|
|
|
|
|
|