]> git.pld-linux.org Git - packages/dspam.git/blame_incremental - dspam.spec
- added version info to prevoius commit ; adaptarized
[packages/dspam.git] / dspam.spec
... / ...
CommitLineData
1# NOTE about versioning:
2# Stable Releases: 3.4.x, Development Releases: 3.5.x
3# All odd-versioned minor releases are considered development
4# releases, and all even-versioned minor releases are stable releases
5# - from http://www.nuclearelephant.com/projects/dspam/download.shtml
6#
7# TODO:
8# - everything
9# - oracle driver
10# - missing /etc/dspam.conf for cron:
11# /etc/cron.daily/dspam:
12# 2430: [6/28/2005 1:2:1] Unable to open file for reading: /etc/dspam.conf: No such file or directory
13# 2430: [6/28/2005 1:2:1] Unable to read dspam.conf
14#
15# Conditional build:
16%bcond_without mysql # enable MySQL storage driver (disable sqlite/pgsql driver)
17%bcond_with pgsql # enable PostgreSQL storage driver (disable sqlite/mysql driver)
18%bcond_with sqlite # enable SQLite3 storage driver
19%bcond_with daemon
20
21%if %{with mysql} && %{with pgsql}
22%undefine with_mysql
23%{warn:disabled mysql as mysql and pgsql aren't supported together (yet)
24}#'vim
25%endif
26
27%if %{with mysql} && %{with sqlite}
28%undefine with_mysql
29%{warn:disabled mysql as mysql and sqlite aren't supported together (yet)
30}#'vim
31%endif
32
33%if %{with pgsql} && %{with sqlite}
34%undefine with_sqlite
35%{warn:disabled sqlite as pgsql and sqlite aren't supported together (yet)
36}#'vim
37%endif
38
39
40%if %{with mysql} || %{with pgsql}
41%define with_daemon 1
42%endif
43
44Summary: A library and Mail Delivery Agent for Bayesian spam filtering
45Summary(pl): Biblioteka i MDA do bayesowskiego filtrowania spamu
46Name: dspam
47Version: 3.6.0
48Release: 0.2
49License: GPL
50Group: Applications/Mail
51Source0: http://www.nuclearelephant.com/projects/dspam/sources/%{name}-%{version}.tar.gz
52# Source0-md5: d9ee63a8cf67ea933d711b00851ce916
53Source1: %{name}.init
54URL: http://www.nuclearelephant.com/projects/dspam/
55BuildRequires: autoconf
56BuildRequires: automake
57BuildRequires: libtool
58%{?with_mysql:BuildRequires: mysql-devel}
59%{?with_pgsql:BuildRequires: postgresql-devel}
60%{?with_sqlite:BuildRequires: sqlite3-devel}
61BuildRequires: sed >= 4.0
62Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
63
64%description
65DSPAM (as in De-Spam) is an open-source project to create a new kind
66of anti-spam mechanism, and is currently effective as both a
67server-side agent for UNIX email servers and a developer's library for
68mail clients, other anti-spam tools, and similar projects requiring
69drop-in spam filtering.
70
71The DSPAM agent masquerades as the email server's local delivery agent
72and filters/learns spams using an advanced Bayesian statistical
73approach (based on Bayes's theorem of combined probabilities) which
74provides an administratively maintenance-free, easy-learning Anti-Spam
75service custom tailored to each individual user's behavior. Advanced
76because on top of standard Bayesian filtering is also incorporated the
77use of Chained Tokens, de-obfuscation, and other enhancements. DSPAM
78works great with Sendmail and Exim, and should work well with any
79other MTA that supports an external local delivery agent (postfix,
80qmail, etc.)
81
82%description -l pl
83