1 Summary: Bayesian Spam Filter
2 Summary(pl): Bayesjañski Filtr Antyspamowy
7 Vendor: Eric S. Raymond <esr@thyrsus.com>
8 Group: Applications/Mail
9 Source0: http://osdn.dl.sourceforge.net/bogofilter/%{name}-%{version}.tar.gz
10 # Source0-md5: 789b90159d9863d9f02fa5ea749f88da
11 Patch0: %{name}-home_etc.patch
12 Patch1: %{name}-dummy.patch
13 URL: http://bogofilter.sourceforge.net/
14 BuildRequires: autoconf >= 2.53
15 BuildRequires: automake
16 BuildRequires: db-devel
18 BuildRequires: gsl-devel
19 BuildRequires: judy-devel
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 %define specflags_ia32 -fomit-frame-pointer
26 Bogofilter is a Bayesian spam filter. In its normal mode of operation,
27 it takes an email message or other text on standard input, does a
28 statistical check against lists of "good" and "bad" words, and returns
29 a status code indicating whether or not the message is spam.
30 Bogofilter is designed with fast algorithms (including Berkeley DB
31 system), coded directly in C, and tuned for speed, so it can be used
32 for production by sites that process a lot of mail.
35 Bogofilter jest bayesjañskim filtrem antyspamowym. W podstawowym
36 trybie dzia³ania na emailu lub innym tek¶cie odczytanym na wej¶ciu
37 wykonuje statystyczne testy na wystêpowanie "dobrych" i "z³ych" s³ów i
38 zwraca kod powrotu wskazuj±cy czy wiadomo¶æ jest spamem, czy te¿ nie.
39 Bogofilter jest zaprojektowany z u¿yciem szybkich algorytmów
40 (w³±czaj±c w to Berkeley DB), napisany w czystym C i "podkrêcony" pod
41 k±tem szybko¶ci, a wiêc mo¿e byæ u¿ywany na systemach "produkcyjnych",
42 które przetwarzaj± du¿e ilo¶ci poczty.
58 rm -rf $RPM_BUILD_ROOT
61 DESTDIR=$RPM_BUILD_ROOT
63 cp $RPM_BUILD_ROOT%{_sysconfdir}/bogofilter.cf.example $RPM_BUILD_ROOT%{_sysconfdir}/bogofilter.cf
65 rm -f $RPM_BUILD_ROOT%{_bindir}/lexertest
68 rm -rf $RPM_BUILD_ROOT
71 %defattr(644,root,root,755)
72 %doc AUTHORS GETTING.STARTED RELEASE* NEWS README TODO
73 %config(noreplace,missingok) %{_sysconfdir}/bogofilter.cf
74 %attr(755,root,root) %{_bindir}/*
75 %attr(644,root,root) %{_mandir}/man1/*