]> git.pld-linux.org Git - packages/dspam.git/blame - dspam.spec
- move dspam.init into proper place.
[packages/dspam.git] / dspam.spec
CommitLineData
b68e9706 1# TODO: everything
c66382e4
PS
2#
3# Conditional build:
6d23db82 4%bcond_without mysql # enable MySQL storage driver (disable sqlite driver)
b10b8478 5%bcond_with pgsql # enable PostgreSQL storage driver (disable sqlite driver)
6d23db82
AM
6%bcond_with sqlite # enable SQLite3 storage driver
7%bcond_with daemon
c66382e4 8#
6d23db82
AM
9
10%if %{with mysql} || %{with pgsql}
11%define with_daemon 1
12%endif
13
782a8c09 14Summary: A library and Mail Delivery Agent for Bayesian spam filtering
be22be94 15Summary(pl): Biblioteka i MDA do bayesowskiego filtrowania spamu
782a8c09 16Name: dspam
3a30d34c 17Version: 3.4.8
59103d42 18Release: 0.1
782a8c09
AM
19License: GPL
20Group: Applications/Mail
21Source0: http://www.nuclearelephant.com/projects/dspam/sources/%{name}-%{version}.tar.gz
3a30d34c 22# Source0-md5: b6930c31fe0940b8ad6d27324f8bab3e
6d23db82 23Source1: %{name}.init
782a8c09 24URL: http://www.nuclearelephant.com/projects/dspam/
6d23db82
AM
25BuildRequires: autoconf
26BuildRequires: automake
27BuildRequires: libtool
c66382e4 28%if %{with mysql}
9000be1b 29BuildRequires: mysql-devel
627b94f1 30%else
530172a9 31%if %{with pgsql}
2dd25777 32BuildRequires: postgresql-devel
c66382e4 33%else
6d23db82 34%if %{with sqlite}
18bb9c31 35BuildRequires: sqlite3-devel
6c5841c4 36%endif
c66382e4 37%endif
530172a9 38%endif
43a9bb3e 39BuildRequires: sed >= 4.0
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