SPECS: bogofilter.spec - 1.0.1 - more docs, added contribs, remove...

blues blues at pld-linux.org
Wed Jan 4 00:45:30 CET 2006


Author: blues                        Date: Tue Jan  3 23:45:30 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- 1.0.1 - more docs, added contribs, removed dummy patch (well, it wasn't
  real fix anyway), changed %post into %pre (there is _any_ chance to make
  use of that information, but it should be some kind of trigger); addded
  some TODOs...

---- Files affected:
SPECS:
   bogofilter.spec (1.85 -> 1.86) 

---- Diffs:

================================================================
Index: SPECS/bogofilter.spec
diff -u SPECS/bogofilter.spec:1.85 SPECS/bogofilter.spec:1.86
--- SPECS/bogofilter.spec:1.85	Wed Dec 14 10:15:53 2005
+++ SPECS/bogofilter.spec	Wed Jan  4 00:45:25 2006
@@ -1,16 +1,20 @@
 # $Revision$, $Date$
+# TODO:
+# - make separate package linked with sqlite
+# - make milter subpackage
+# - maybe make some separate package with contrib perl scripts?
+# - remove bogus banner
+#
 Summary:	Bayesian Spam Filter
 Summary(pl):	Bayesowski Filtr Antyspamowy
 Name:		bogofilter
-Version:	1.0.0
-Release:	2
+Version:	1.0.1
+Release:	1
 License:	GPL v2
-Vendor:		Eric S. Raymond <esr at thyrsus.com>
 Group:		Applications/Mail
 Source0:	http://dl.sourceforge.net/bogofilter/%{name}-%{version}.tar.gz
-# Source0-md5:	1f3bff28f7d9cb7b0c3a28184c101b53
+# Source0-md5:	72b0bc4cd790cd0dedec77b77c4f76ae
 Patch0:		%{name}-home_etc.patch
-Patch1:		%{name}-dummy.patch
 URL:		http://bogofilter.sourceforge.net/
 BuildRequires:	autoconf >= 2.53
 BuildRequires:	automake
@@ -45,7 +49,6 @@
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
 
 %build
 %{__aclocal}
@@ -63,12 +66,25 @@
 
 cp $RPM_BUILD_ROOT%{_sysconfdir}/bogofilter.cf.example $RPM_BUILD_ROOT%{_sysconfdir}/bogofilter.cf
 
+install bogogrep $RPM_BUILD_ROOT%{_bindir}
+# Some apps from contrib:
+install contrib/bfproxy.pl $RPM_BUILD_ROOT%{_bindir}
+install contrib/bogominitrain.pl $RPM_BUILD_ROOT%{_bindir}
+install contrib/mime.get.rfc822.pl $RPM_BUILD_ROOT%{_bindir}
+install contrib/printmaildir.pl $RPM_BUILD_ROOT%{_bindir}
+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
 
-%post
+# That banner is bogus - no sense to have it _while_ upgrading...
+# It should be some trigger...
+%pre
 %banner %{name} -e <<'EOF'
 
 WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
@@ -90,7 +106,9 @@
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS GETTING.STARTED RELEASE* NEWS README doc/README.db TODO
+%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}
 %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/bogofilter.cf
 %attr(755,root,root) %{_bindir}/*
 %attr(644,root,root) %{_mandir}/man1/*
@@ -101,6 +119,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.86  2006/01/03 23:45:25  blues
+- 1.0.1 - more docs, added contribs, removed dummy patch (well, it wasn't
+  real fix anyway), changed %post into %pre (there is _any_ chance to make
+  use of that information, but it should be some kind of trigger); addded
+  some TODOs...
+
 Revision 1.85  2005/12/14 09:15:53  glen
 - use docdir macro
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/bogofilter.spec?r1=1.85&r2=1.86&f=u



More information about the pld-cvs-commit mailing list