]> git.pld-linux.org Git - packages/dspam.git/blame - dspam.spec
- build dynamic binaries instead of static
[packages/dspam.git] / dspam.spec
CommitLineData
b68e9706 1# TODO: everything
c66382e4
PS
2#
3# Conditional build:
0934c47d 4%bcond_with mysql # enable MySQL storage driver (disable db4 driver)
6d2d45f8 5%bcond_with pgsql # enable PostgreSQL storage driver (disable db4 driver)
c66382e4 6#
782a8c09 7Summary: A library and Mail Delivery Agent for Bayesian spam filtering
be22be94 8Summary(pl): Biblioteka i MDA do bayesowskiego filtrowania spamu
782a8c09 9Name: dspam
b68e9706
AM
10Version: 3.2.6
11Release: 0.1
782a8c09
AM
12License: GPL
13Group: Applications/Mail
14Source0: http://www.nuclearelephant.com/projects/dspam/sources/%{name}-%{version}.tar.gz
b68e9706 15# Source0-md5: aad53b4542076840e2a0e1fd43e48ebb
9000be1b 16Patch0: %{name}-Makefile.patch
782a8c09 17URL: http://www.nuclearelephant.com/projects/dspam/
c66382e4 18%if %{with mysql}
9000be1b 19BuildRequires: mysql-devel
530172a9
MM
20%else
21%if %{with pgsql}
2dd25777 22BuildRequires: postgresql-devel
c66382e4 23%else
b68e9706 24BuildRequires: sqlite-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