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