]> git.pld-linux.org Git - packages/dspam.git/blame - dspam.spec
- up to 3.6.8; DB driver no longer available
[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
5fe98dd6 14%bcond_with mysql40 # use with mysql 4.0
f8aabeb4 15#
15cf3cba 16%include /usr/lib/rpm/macros.perl
782a8c09 17Summary: A library and Mail Delivery Agent for Bayesian spam filtering
be22be94 18Summary(pl): Biblioteka i MDA do bayesowskiego filtrowania spamu
782a8c09 19Name: dspam
411ba1ca
AM
20Version: 3.6.8
21Release: 0.1
782a8c09
AM
22License: GPL
23Group: Applications/Mail
24Source0: http://www.nuclearelephant.com/projects/dspam/sources/%{name}-%{version}.tar.gz
411ba1ca 25# Source0-md5: c4b1a7079690ee16d8b0f36b2a2a90a4
15cf3cba 26Patch0: %{name}-webui.patch
e087d69c 27Patch1: %{name}-config.patch
3857584b 28Patch2: %{name}-speedup.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
786a7fbe 35BuildRequires: libtool
526e9159 36%{?with_mysql:BuildRequires: mysql-devel}
f8aabeb4 37BuildRequires: openldap-devel
526e9159 38%{?with_pgsql:BuildRequires: postgresql-devel}
15cf3cba 39BuildRequires: rpm-perlprov >= 4.1-13
cc754752 40BuildRequires: rpmbuild(macros) >= 1.268
f8aabeb4 41BuildRequires: sed >= 4.0
526e9159 42%{?with_sqlite:BuildRequires: sqlite3-devel}
db5b0be0 43BuildRequires: zlib-devel
786a7fbe
ER
44Requires(post,preun): /sbin/chkconfig
45Requires: rc-scripts
782a8c09
AM
46Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
47
15cf3cba
ER
48%define _webapps /etc/webapps
49%define _webapp %{name}
50
782a8c09
AM
51%description
52DSPAM (as in De-Spam) is an open-source project to create a new kind
53of anti-spam mechanism, and is currently effective as both a
54server-side agent for UNIX email servers and a developer's library for
55mail clients, other anti-spam tools, and similar projects requiring
56drop-in spam filtering.
57
58The DSPAM agent masquerades as the email server's local delivery agent
59and filters/learns spams using an advanced Bayesian statistical
be22be94 60approach (based on Bayes's theorem of combined probabilities) which
782a8c09
AM
61provides an administratively maintenance-free, easy-learning Anti-Spam
62service custom tailored to each individual user's behavior. Advanced
63because on top of standard Bayesian filtering is also incorporated the
64use of Chained Tokens, de-obfuscation, and other enhancements. DSPAM
65works great with Sendmail and Exim, and should work well with any
66other MTA that supports an external local delivery agent (postfix,
67qmail, etc.)
68
be22be94
JB
69%description -l pl
70