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