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