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