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