]>
Commit | Line | Data |
---|---|---|
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 | ||
44 | Summary: A library and Mail Delivery Agent for Bayesian spam filtering | |
45 | Summary(pl): Biblioteka i MDA do bayesowskiego filtrowania spamu | |
46 | Name: dspam | |
47 | Version: 3.6.0 | |
48 | Release: 0.2 | |
49 | License: GPL | |
50 | Group: Applications/Mail | |
51 | Source0: http://www.nuclearelephant.com/projects/dspam/sources/%{name}-%{version}.tar.gz | |
52 | # Source0-md5: d9ee63a8cf67ea933d711b00851ce916 | |
53 | Source1: %{name}.init | |
54 | URL: http://www.nuclearelephant.com/projects/dspam/ | |
55 | BuildRequires: autoconf | |
56 | BuildRequires: automake | |
57 | BuildRequires: libtool | |
58 | %{?with_mysql:BuildRequires: mysql-devel} | |
59 | %{?with_pgsql:BuildRequires: postgresql-devel} | |
60 | %{?with_sqlite:BuildRequires: sqlite3-devel} | |
61 | BuildRequires: sed >= 4.0 | |
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 | |
73 | approach (based on Bayes's theorem of combined probabilities) which | |
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 | ||
82 | %description -l pl | |
83 |