]> git.pld-linux.org Git - packages/dspam.git/blame - dspam.spec
- fix %%files
[packages/dspam.git] / dspam.spec
CommitLineData
b68e9706 1# TODO: everything
c66382e4
PS
2#
3# Conditional build:
b10b8478 4%bcond_with mysql # enable MySQL storage driver (disable sqlite driver)
5%bcond_with pgsql # enable PostgreSQL storage driver (disable sqlite driver)
6c5841c4 6%bcond_with sqlite3 # enable SQLite3 storage driver (disable sqlite2 driver)
c66382e4 7#
782a8c09 8Summary: A library and Mail Delivery Agent for Bayesian spam filtering
be22be94 9Summary(pl): Biblioteka i MDA do bayesowskiego filtrowania spamu
782a8c09 10Name: dspam
627b94f1 11Version: 3.4.3
dcc5a193 12Release: 0.2
782a8c09
AM
13License: GPL
14Group: Applications/Mail
15Source0: http://www.nuclearelephant.com/projects/dspam/sources/%{name}-%{version}.tar.gz
627b94f1 16# Source0-md5: befcaee35a69efe559471367b2249ea3
782a8c09 17URL: http://www.nuclearelephant.com/projects/dspam/
c66382e4 18%if %{with mysql}
9000be1b 19BuildRequires: mysql-devel
627b94f1 20%else
530172a9 21%if %{with pgsql}
2dd25777 22BuildRequires: postgresql-devel
c66382e4 23%else
6c5841c4 24%if %{with sqlite3}
25BuildRequires: sqlite3-devel
26%else
b68e9706 27BuildRequires: sqlite-devel
6c5841c4 28BuildRequires: sqlite-static
29%endif
c66382e4 30%endif
530172a9 31%endif
43a9bb3e 32BuildRequires: sed >= 4.0
782a8c09
AM
33Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35%description
36DSPAM (as in De-Spam) is an open-source project to create a new kind
37of anti-spam mechanism, and is currently effective as both a
38server-side agent for UNIX email servers and a developer's library for
39mail clients, other anti-spam tools, and similar projects requiring
40drop-in spam filtering.
41
42The DSPAM agent masquerades as the email server's local delivery agent
43and filters/learns spams using an advanced Bayesian statistical
be22be94 44approach (based on Bayes's theorem of combined probabilities) which
782a8c09
AM
45provides an administratively maintenance-free, easy-learning Anti-Spam
46service custom tailored to each individual user's behavior. Advanced
47because on top of standard Bayesian filtering is also incorporated the
48use of Chained Tokens, de-obfuscation, and other enhancements. DSPAM
49works great with Sendmail and Exim, and should work well with any
50other MTA that supports an external local delivery agent (postfix,
51qmail, etc.)
52
be22be94
JB
53%description -l pl
54