]> git.pld-linux.org Git - SPECS.git/blob - spamoracle.spec
SPECS updated Tue 30 Apr 15:06:09 CEST 2024
[SPECS.git] / spamoracle.spec
1 Summary:        Spam classification tool
2 Summary(pl.UTF-8):      Narzędzie do rozpoznawania spamu
3 Name:           spamoracle
4 Version:        1.4
5 Release:        1
6 License:        GPL v2
7 Vendor:         Xavier Leroy <Xavier.Leroy@inria.fr>
8 Group:          Applications/Mail
9 Source0:        http://pauillac.inria.fr/~xleroy/software/%{name}-%{version}.tar.gz
10 # Source0-md5:  9cd2a825202c86a3728658545b0ac060
11 URL:            http://pauillac.inria.fr/~xleroy/software.html
12 Patch0:         %{name}-latin2.patch
13 BuildRequires:  ocaml
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 SpamOracle is a tool to help detect and filter away "spam"
18 (unsolicited commercial e-mail). It proceeds by statistical analysis
19 of the words that appear in the e-mail, comparing the frequencies of
20 words with those found in a user-provided corpus of known spam and
21 known legitimate e-mail. The classification algorithm is based on
22 Bayes' formula, and is described in Paul Graham's paper, "A plan for
23 spam", <http://www.paulgraham.com/spam.html>.
24
25
26 %description -l pl.UTF-8
27 SpamOracle jest narzędziem pomagającym wykryć i odfiltrować "spam"
28 (niechcianą, komercyjną pocztę). Program działa w oparciu o
29 statystyczną analizę słów występujących w wiadomości, porównując
30 częstotliwość ich występowania z częstotliwością w dostarczonych przez
31 użytkownika zbiorach znanego spamu i dobrych maili. Algorytm
32 klasyfikacji jest bazowany na wzorze Bayesa, jest on opisany w pracy
33 Paula Grahama "A plan for spam",
34 <http://www.paulgraham.com/spam.html>.
35
36 %prep
37 %setup -q
38 %patch0 -p1
39
40 %build
41 %{__make} LANGUAGES="-DFRENCH -DSPANISH -DITALIAN -DGERMAN"
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 install -d $RPM_BUILD_ROOT%{_bindir}
47 install spamoracle $RPM_BUILD_ROOT%{_bindir}
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc README
55 %attr(755,root,root) %{_bindir}/*
This page took 1.368309 seconds and 3 git commands to generate.