]> git.pld-linux.org Git - packages/bogofilter.git/blob - bogofilter.spec
- BR: autoconf,automake; fixed inconsequence in pl description
[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:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  db3-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 %{__aclocal}
42 %{__autoconf}
43 autoheader
44 %{__automake}
45 %configure
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT
51
52 %{__make} install DESTDIR=$RPM_BUILD_ROOT
53 rm -f $RPM_BUILD_ROOT%{_bindir}/lexertest
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc README NEWS TODO
61 %attr(755,root,root) %{_bindir}/*
62 %attr(644,root,root) %{_mandir}/man1/*
This page took 0.066059 seconds and 4 git commands to generate.