]>
Commit | Line | Data |
---|---|---|
526e9159 ER |
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 | # | |
229005d4 ER |
7 | # TODO: |
8 | # - everything | |
526e9159 | 9 | # - oracle driver |
229005d4 ER |
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 | |
c66382e4 PS |
14 | # |
15 | # Conditional build: | |
526e9159 ER |
16 | %bcond_without mysql # enable MySQL storage driver (disable sqlite/pgsql driver) |
17 | %bcond_with pgsql # enable PostgreSQL storage driver (disable sqlite/mysql driver) | |
6d23db82 | 18 | %bcond_with sqlite # enable SQLite3 storage driver |
526e9159 ER |
19 | %bcond_with daemon |
20 | ||
21 | %if %{with mysql} && %{with pgsql} | |
22 | %undefine with_pgsql | |
23 | %{warn:disabled pgsql as mysql and pgsql aren't supported together (yet) | |
24 | }#'vim | |
25 | %endif | |
26 | ||
27 | %if %{with mysql} && %{with sqlite} | |
28 | %undefine with_sqlite | |
29 | %{warn:disabled sqlite 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 | ||
6d23db82 AM |
39 | |
40 | %if %{with mysql} || %{with pgsql} | |
41 | %define with_daemon 1 | |
42 | %endif | |
43 | ||
782a8c09 | 44 | Summary: A library and Mail Delivery Agent for Bayesian spam filtering |
be22be94 | 45 | Summary(pl): Biblioteka i MDA do bayesowskiego filtrowania spamu |
782a8c09 | 46 | Name: dspam |
679693ff | 47 | Version: 3.4.9 |
526e9159 | 48 | Release: 0.2 |
782a8c09 AM |
49 | License: GPL |
50 | Group: Applications/Mail | |
51 | Source0: http://www.nuclearelephant.com/projects/dspam/sources/%{name}-%{version}.tar.gz | |
679693ff | 52 | # Source0-md5: ef7ceba47e63edb02a59be3c36cf0f6f |
6d23db82 | 53 | Source1: %{name}.init |
782a8c09 | 54 | URL: http://www.nuclearelephant.com/projects/dspam/ |
6d23db82 AM |
55 | BuildRequires: autoconf |
56 | BuildRequires: automake | |
57 | BuildRequires: libtool | |
526e9159 ER |
58 | %{?with_mysql:BuildRequires: mysql-devel} |
59 | %{?with_pgsql:BuildRequires: postgresql-devel} | |
60 | %{?with_sqlite:BuildRequires: sqlite3-devel} | |
43a9bb3e | 61 | BuildRequires: sed >= 4.0 |
782a8c09 AM |
62 | Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
63 | ||
64 | %description | |
65 | DSPAM (as in De-Spam) is an open-source project to create a new kind | |
66 | of anti-spam mechanism, and is currently effective as both a | |
67 | server-side agent for UNIX email servers and a developer's library for | |
68 | mail clients, other anti-spam tools, and similar projects requiring | |
69 | drop-in spam filtering. | |
70 | ||
71 | The DSPAM agent masquerades as the email server's local delivery agent | |
72 | and filters/learns spams using an advanced Bayesian statistical | |
be22be94 | 73 | approach (based on Bayes's theorem of combined probabilities) which |
782a8c09 AM |
74 | provides an administratively maintenance-free, easy-learning Anti-Spam |
75 | service custom tailored to each individual user's behavior. Advanced | |
76 | because on top of standard Bayesian filtering is also incorporated the | |
77 | use of Chained Tokens, de-obfuscation, and other enhancements. DSPAM | |
78 | works great with Sendmail and Exim, and should work well with any | |
79 | other MTA that supports an external local delivery agent (postfix, | |
80 | qmail, etc.) | |
81 | ||
be22be94 JB |
82 | %description -l pl |
83 |