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