Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > c98c98f6e2c56e6259be15341cd83cfe > files > 2

spamoracle-1.4-2mdk.src.rpm

Name: spamoracle
Version: 1.4
Release: 2mdk
Group: Networking/Mail
Summary: Spam filter based on statistical analysis of e-mail contents
License: GPL
Url: http://pauillac.inria.fr/~xleroy/software.html#spamoracle
Source: http://pauillac.inria.fr/~xleroy/software/spamoracle-%version.tar.bz2
BuildRequires: ocaml
Requires: procmail
Buildroot: %_tmppath/%name-%version-buildroot

%description
SpamOracle is a tool to help detect and filter away "spam"
(unsolicited commercial e-mail).  It proceeds by statistical analysis
of the words that appear in the e-mail, comparing the frequencies of
words with those found in a user-provided corpus of known spam and
known legitimate e-mail.  The classification algorithm is based on
Bayes' formula, and is described in Paul Graham's paper, "A plan for
spam", http://www.paulgraham.com/spam.html.

%prep
%setup -q

%build
%make

%install
rm -rf %buildroot
mkdir -p %buildroot/{%_bindir,%_mandir/{man1,man5}}
%makeinstall BINDIR=%buildroot/%_bindir MANDIR=%buildroot/%_mandir

%clean
rm -rf %buildroot

%files
%defattr(-,root,root)
%doc README Changes
%_bindir/spamoracle
%_mandir/man1/spamoracle.1*
%_mandir/man5/spamoracle.conf.5*

%changelog
* Fri Nov  5 2004 Götz Waschk <waschk@linux-mandrake.com> 1.4-2mdk
- rebuild

* Wed Oct 15 2003 Götz Waschk <waschk@linux-mandrake.com> 1.4-1mdk
- new version

* Tue Jul 29 2003 Götz Waschk <waschk@linux-mandrake.com> 1.3.1-1mdk
- initial package inspired by an Alt Linux rpm


* Fri Oct 25 2002 Vitaly Lugovsky <vsl@altlinux.ru> 1.2-alt2
- initial release