]> git.pld-linux.org Git - packages/bogofilter.git/blobdiff - bogofilter.spec
- updated to 1.2.5
[packages/bogofilter.git] / bogofilter.spec
index c7df95f863fda46777e4686716c1b0207d639279..62de7869c27024347e6df669d061f00c9f6e5673 100644 (file)
@@ -7,20 +7,23 @@
 Summary:       Bayesian Spam Filter
 Summary(pl.UTF-8):     Bayesowski Filtr Antyspamowy
 Name:          bogofilter
-Version:       1.2.2
-Release:       4
+Version:       1.2.5
+Release:       1
 License:       GPL v2
 Group:         Applications/Mail
-Source0:       http://dl.sourceforge.net/bogofilter/%{name}-%{version}.tar.bz2
-# Source0-md5: 4bcabdf8c5e7efefcb508eda7e80eebc
+Source0:       https://downloads.sourceforge.net/bogofilter/%{name}-%{version}.tar.xz
+# Source0-md5: 8763f87adfff7b802ced177d8c654539
 Patch0:                %{name}-home_etc.patch
-URL:           http://bogofilter.sourceforge.net/
-BuildRequires: autoconf >= 2.53
-BuildRequires: automake
+URL:           https://bogofilter.sourceforge.net/
+BuildRequires: autoconf >= 2.68
+BuildRequires: automake >= 1:1.11
+# alternatives (--with-database=): qdbm,sqlite3,tokyocabinet,kyotocabinet,lmdb
 BuildRequires: db-devel
 BuildRequires: flex
 BuildRequires: gettext-tools
-BuildRequires: gsl-devel
+BuildRequires: gsl-devel >= 1.4
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
 Requires:      gsl >= 1.4
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -63,7 +66,7 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-cp $RPM_BUILD_ROOT%{_sysconfdir}/bogofilter.cf.example $RPM_BUILD_ROOT%{_sysconfdir}/bogofilter.cf
+cp -p $RPM_BUILD_ROOT%{_sysconfdir}/bogofilter.cf.example $RPM_BUILD_ROOT%{_sysconfdir}/bogofilter.cf
 
 install bogogrep $RPM_BUILD_ROOT%{_bindir}
 # Some apps from contrib:
@@ -75,9 +78,6 @@ install contrib/spamitarium.pl $RPM_BUILD_ROOT%{_bindir}
 install contrib/stripsearch.pl $RPM_BUILD_ROOT%{_bindir}
 install contrib/trainbogo.sh $RPM_BUILD_ROOT%{_bindir}
 
-# Some final cleanups:
-rm -f $RPM_BUILD_ROOT%{_bindir}/lexertest
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -110,9 +110,33 @@ EOF
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS GETTING.STARTED RELEASE* NEWS* README doc/{README.*,bogofilter-SA*,integrating*} TODO
-%doc contrib/{bogofilter-qfe.sh,bogofilter-milter.pl,dot-qmail-bogofilter-default,*.example,parmtest.sh}
-%doc contrib/{README.*,randomtrain.sh,scramble.sh}
+%doc AUTHORS GETTING.STARTED NEWS* README RELEASE.NOTES TODO doc/{README.*,bogofilter-SA*,bogofilter-faq.html,bogofilter-tuning.HOWTO.html,bogotune-faq.html,integrating*}
+%lang(bg) %doc doc/bogofilter-faq-bg.xhtml
+%lang(fr) %doc doc/bogofilter-faq-fr.html
+%lang(it) %doc doc/bogofilter-faq-it.html
+%doc contrib/{README.*,bogo.R,bogofilter-qfe.sh,bogofilter-milter.pl,dot-qmail-bogofilter-default,*.example,parmtest.sh,randomtrain.sh,scramble.sh,vm-bogofilter.el}
 %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/bogofilter.cf
-%attr(755,root,root) %{_bindir}/*
-%{_mandir}/man1/*
+%attr(755,root,root) %{_bindir}/bf_compact
+%attr(755,root,root) %{_bindir}/bf_copy
+%attr(755,root,root) %{_bindir}/bf_tar
+%attr(755,root,root) %{_bindir}/bfproxy.pl
+%attr(755,root,root) %{_bindir}/bogofilter
+%attr(755,root,root) %{_bindir}/bogogrep
+%attr(755,root,root) %{_bindir}/bogolexer
+%attr(755,root,root) %{_bindir}/bogominitrain.pl
+%attr(755,root,root) %{_bindir}/bogotune
+%attr(755,root,root) %{_bindir}/bogoupgrade
+%attr(755,root,root) %{_bindir}/bogoutil
+%attr(755,root,root) %{_bindir}/mime.get.rfc822.pl
+%attr(755,root,root) %{_bindir}/printmaildir.pl
+%attr(755,root,root) %{_bindir}/spamitarium.pl
+%attr(755,root,root) %{_bindir}/stripsearch.pl
+%attr(755,root,root) %{_bindir}/trainbogo.sh
+%{_mandir}/man1/bf_compact.1*
+%{_mandir}/man1/bf_copy.1*
+%{_mandir}/man1/bf_tar.1*
+%{_mandir}/man1/bogofilter.1*
+%{_mandir}/man1/bogolexer.1*
+%{_mandir}/man1/bogotune.1*
+%{_mandir}/man1/bogoupgrade.1*
+%{_mandir}/man1/bogoutil.1*
This page took 0.117118 seconds and 4 git commands to generate.