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