]> git.pld-linux.org Git - packages/bogofilter.git/blob - bogofilter.spec
- buildrequires: flex;
[packages/bogofilter.git] / bogofilter.spec
1 Summary:        Bayesian Spam Filter
2 Summary(pl):    Bayesjañski Filtr Antyspamowy
3 Name:           bogofilter
4 Version:        0.7
5 Release:        2
6 License:        GPL
7 Group:          Applications/Mail
8 Vendor:         Eric S. Raymond <esr@thyrsus.com>
9 Source0:        http://www.tuxedo.org/~esr/bogofilter/%{name}-%{version}.tar.gz
10 URL:            http://www.tuxedo.org/~esr/bogofilter/
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 %{__make}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT
44
45 %{__make} install DESTDIR=$RPM_BUILD_ROOT
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc README NEWS TODO
53 %attr(755,root,root) %{_bindir}/*
54 %attr(644,root,root) %{_mandir}/man1/*
This page took 0.064324 seconds and 4 git commands to generate.