]> git.pld-linux.org Git - packages/bogofilter.git/blob - bogofilter.spec
9a9f2a458dc87ab1df946c3503b3e864492a6328
[packages/bogofilter.git] / bogofilter.spec
1 Summary:        Bayesian Spam Filter
2 Summary(pl):    Bayesjañski Filtr Antyspamowy
3 Name:           bogofilter
4 Version:        0.7.4
5 Release:        1
6 License:        GPL
7 Group:          Applications/Mail
8 Vendor:         Eric S. Raymond <esr@thyrsus.com>
9 Source0:        http://prdownloads.sourceforge.net/bogofilter/%{name}-%{version}.tar.gz
10 URL:            http://bogofilter.sourceforge.net/
11 BuildRequires:  judy-devel
12 BuildRequires:  db3-devel
13 BuildRequires:  flex
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Bogofilter is a Bayesian spam filter. In its normal mode of operation,
18 it takes an email message or other text on standard input, does a
19 statistical check against lists of "good" and "bad" words, and returns
20 a status code indicating whether or not the message is spam.
21 Bogofilter is designed with fast algorithms (including Berkeley DB
22 system), coded directly in C, and tuned for speed, so it can be used
23 for production by sites that process a lot of mail.
24
25 %description -l pl
26 Bogofilter jest bajesjañskim filtrem antyspamowym. W podstawowym
27 trybie dzia³ania na emailu lub innym tek¶cie odczytanym na wej¶ciu
28 wykonuje statystyczne testy na wystêpowanie "dobrych" i "z³ych" s³ów i
29 zwraca kod powrotu wskazuj±cy czy wiadomo¶æ jest spamem, czy te¿ nie.
30 Bogofilter jest zaprojektowany z u¿yciem szybkich algorytmów
31 (w³aczaj±c w to Berkeley DB), napisany w czystym C i "podkrêcony" pod
32 k±tek szybko¶ci, a wiêc mo¿e byæ u¿ywany na systemach "produkcyjnych",
33 które przetwarzaj± du¿e ilo¶ci poczty.
34
35 %prep
36 %setup -q
37
38 %build
39 aclocal
40 %{__autoconf}
41 autoheader
42 %{__automake}
43 %configure
44 %{__make}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT
49
50 %{__make} install DESTDIR=$RPM_BUILD_ROOT
51 rm -f $RPM_BUILD_ROOT%{_bindir}/lexertest
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc README NEWS TODO
59 %attr(755,root,root) %{_bindir}/*
60 %attr(644,root,root) %{_mandir}/man1/*
This page took 0.060078 seconds and 3 git commands to generate.