]> git.pld-linux.org Git - packages/dspam.git/blame - dspam.spec
- fix chkconfig, rc-scripts deps
[packages/dspam.git] / dspam.spec
CommitLineData
526e9159 1#
229005d4 2# TODO:
db5b0be0 3# - support for libdclassify
526e9159 4# - oracle driver
f357940a 5# - messages from default install of cron with mysql driver
f357940a 6# Memory fault
c66382e4
PS
7#
8# Conditional build:
f8aabeb4
JB
9%bcond_without mysql # disable MySQL storage driver
10%bcond_without pgsql # disable PostgreSQL storage driver
11%bcond_without sqlite # disable SQLite3 storage driver
12%bcond_without db # disable BerkeleyDB storage driver
13%bcond_without daemon # disable daemon mode
5fe98dd6 14%bcond_with mysql40 # use with mysql 4.0
f8aabeb4 15#
782a8c09 16Summary: A library and Mail Delivery Agent for Bayesian spam filtering
be22be94 17Summary(pl): Biblioteka i MDA do bayesowskiego filtrowania spamu
782a8c09 18Name: dspam
c708752a 19Version: 3.6.4
20Release: 0.0.1
782a8c09
AM
21License: GPL
22Group: Applications/Mail
23Source0: http://www.nuclearelephant.com/projects/dspam/sources/%{name}-%{version}.tar.gz
c708752a 24# Source0-md5: e9fdb00a23a99e05c9e4c22aa8aa3655
6d23db82 25Source1: %{name}.init
782a8c09 26URL: http://www.nuclearelephant.com/projects/dspam/
6d23db82
AM
27BuildRequires: autoconf
28BuildRequires: automake
db5b0be0 29BuildRequires: clamav-devel
db5b0be0 30%{?with_db:BuildRequires: db-devel}
786a7fbe 31BuildRequires: libtool
526e9159 32%{?with_mysql:BuildRequires: mysql-devel}
f8aabeb4 33BuildRequires: openldap-devel
526e9159 34%{?with_pgsql:BuildRequires: postgresql-devel}
f8aabeb4 35BuildRequires: sed >= 4.0
526e9159 36%{?with_sqlite:BuildRequires: sqlite3-devel}
db5b0be0 37BuildRequires: zlib-devel
786a7fbe
ER
38Requires(post,preun): /sbin/chkconfig
39Requires: rc-scripts
782a8c09
AM
40Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41
42%description
43DSPAM (as in De-Spam) is an open-source project to create a new kind
44of anti-spam mechanism, and is currently effective as both a
45server-side agent for UNIX email servers and a developer's library for
46mail clients, other anti-spam tools, and similar projects requiring
47drop-in spam filtering.
48
49The DSPAM agent masquerades as the email server's local delivery agent
50and filters/learns spams using an advanced Bayesian statistical
be22be94 51approach (based on Bayes's theorem of combined probabilities) which
782a8c09
AM
52provides an administratively maintenance-free, easy-learning Anti-Spam
53service custom tailored to each individual user's behavior. Advanced
54because on top of standard Bayesian filtering is also incorporated the
55use of Chained Tokens, de-obfuscation, and other enhancements. DSPAM
56works great with Sendmail and Exim, and should work well with any
57other MTA that supports an external local delivery agent (postfix,
58qmail, etc.)
59
be22be94
JB
60%description -l pl
61