summaryrefslogtreecommitdiffstats
path: root/bogofilter.spec
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2024-02-18 00:49:57 +0100
committerMatěj Cepl <mcepl@cepl.eu>2024-02-18 00:49:57 +0100
commit07584f5060ef6f5b59f2dc661fd8ce6ae94417ca (patch)
tree3a3d7ff6f9fac579121c3baabff175e43de84820 /bogofilter.spec
parent9eeb6456a38ee4348f140ac37b3f65c30d2609fd (diff)
downloadbogofilter_EL6-07584f5060ef6f5b59f2dc661fd8ce6ae94417ca.tar.gz
Update to 1.2.5. and SPEC file from src.fp.o.
Diffstat (limited to 'bogofilter.spec')
-rw-r--r--bogofilter.spec14
1 files changed, 12 insertions, 2 deletions
diff --git a/bogofilter.spec b/bogofilter.spec
index 19c48e3..071d5c3 100644
--- a/bogofilter.spec
+++ b/bogofilter.spec
@@ -1,6 +1,6 @@
Summary: Fast anti-spam filtering by Bayesian statistical analysis
Name: bogofilter
-Version: 1.2.4
+Version: 1.2.5
Release: 1%{?dist}
License: GPLv2
Group: Applications/Internet
@@ -10,12 +10,14 @@ URL: http://bogofilter.sourceforge.net/
# but due to bug 912694 which identified three files with license
# problems the following steps are necessary to repack bogofilter
# wget http://downloads.sourceforge.net/bogofilter/bogofilter-1.2.4.tar.gz
-# tar xf bogofilter-1.2.4.tar.gz
+# tar xf bogofilter-1.2.4.tar.gz
# rm bogofilter-1.2.4/doc/bogofilter-SA-20[0-1][0,5]-0[1,2]
# tar cf bogofilter-1.2.4.repack.tar.gz bogofilter-1.2.4
Source: bogofilter-%{version}.repack.tar.gz
+BuildRequires: gcc
BuildRequires: flex db4-devel gsl-devel
BuildRequires: /usr/bin/iconv
+BuildRequires: make
%description
Bogofilter is a Bayesian spam filter. In its normal mode of
@@ -62,6 +64,11 @@ CFLAGS="%{optflags} -I%{_includedir}/libdb4" LDFLAGS="-L%{_libdir}/libdb4" %conf
%{__install} -m644 doc/*.html rpm-doc/html/
%{__chmod} -x contrib/*
+%{__rm} -v contrib/bogogrep.o
+%{__rm} -rfv contrib/.deps
+
+%check
+%{__make} %{?_smp_mflags} check
%files bogoupgrade
%defattr(-, root, root, 0755)
@@ -82,6 +89,9 @@ CFLAGS="%{optflags} -I%{_includedir}/libdb4" LDFLAGS="-L%{_libdir}/libdb4" %conf
%exclude %{_mandir}/man1/bogoupgrade*
%changelog
+* Sun Feb 18 2024 Matej Cepl <mcepl@suse.com> - 1.2.5-1
+- New upstream version.
+
* Wed Apr 23 2014 Adrian Reber <adrian@lisas.de> - 1.2.4-1
- updated to 1.2.4 (fixes #1084359)