]>
Commit | Line | Data |
---|---|---|
229005d4 ER |
1 | # TODO: |
2 | # - everything | |
3 | # - missing /etc/dspam.conf for cron: | |
4 | # /etc/cron.daily/dspam: | |
5 | # 2430: [6/28/2005 1:2:1] Unable to open file for reading: /etc/dspam.conf: No such file or directory | |
6 | # 2430: [6/28/2005 1:2:1] Unable to read dspam.conf | |
c66382e4 PS |
7 | # |
8 | # Conditional build: | |
6d23db82 | 9 | %bcond_without mysql # enable MySQL storage driver (disable sqlite driver) |
b10b8478 | 10 | %bcond_with pgsql # enable PostgreSQL storage driver (disable sqlite driver) |
6d23db82 AM |
11 | %bcond_with sqlite # enable SQLite3 storage driver |
12 | %bcond_with daemon | |
c66382e4 | 13 | # |
6d23db82 AM |
14 | |
15 | %if %{with mysql} || %{with pgsql} | |
16 | %define with_daemon 1 | |
17 | %endif | |
18 | ||
782a8c09 | 19 | Summary: A library and Mail Delivery Agent for Bayesian spam filtering |
be22be94 | 20 | Summary(pl): Biblioteka i MDA do bayesowskiego filtrowania spamu |
782a8c09 | 21 | Name: dspam |
679693ff | 22 | Version: 3.4.9 |
59103d42 | 23 | Release: 0.1 |
782a8c09 AM |
24 | License: GPL |
25 | Group: Applications/Mail | |
26 | Source0: http://www.nuclearelephant.com/projects/dspam/sources/%{name}-%{version}.tar.gz | |
679693ff | 27 | # Source0-md5: ef7ceba47e63edb02a59be3c36cf0f6f |
6d23db82 | 28 | Source1: %{name}.init |
782a8c09 | 29 | URL: http://www.nuclearelephant.com/projects/dspam/ |
6d23db82 AM |
30 | BuildRequires: autoconf |
31 | BuildRequires: automake | |
32 | BuildRequires: libtool | |
c66382e4 | 33 | %if %{with mysql} |
9000be1b | 34 | BuildRequires: mysql-devel |
627b94f1 | 35 | %else |
530172a9 | 36 | %if %{with pgsql} |
2dd25777 | 37 | BuildRequires: postgresql-devel |
c66382e4 | 38 | %else |
6d23db82 | 39 | %if %{with sqlite} |
18bb9c31 | 40 | BuildRequires: sqlite3-devel |
6c5841c4 | 41 | %endif |
c66382e4 | 42 | %endif |
530172a9 | 43 | %endif |
43a9bb3e | 44 | BuildRequires: sed >= 4.0 |
782a8c09 AM |
45 | Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
46 | ||
47 | %description | |
48 | DSPAM (as in De-Spam) is an open-source project to create a new kind | |
49 | of anti-spam mechanism, and is currently effective as both a | |
50 | server-side agent for UNIX email servers and a developer's library for | |
51 | mail clients, other anti-spam tools, and similar projects requiring | |
52 | drop-in spam filtering. | |
53 | ||
54 | The DSPAM agent masquerades as the email server's local delivery agent | |
55 | and filters/learns spams using an advanced Bayesian statistical | |
be22be94 | 56 | approach (based on Bayes's theorem of combined probabilities) which |
782a8c09 AM |
57 | provides an administratively maintenance-free, easy-learning Anti-Spam |
58 | service custom tailored to each individual user's behavior. Advanced | |
59 | because on top of standard Bayesian filtering is also incorporated the | |
60 | use of Chained Tokens, de-obfuscation, and other enhancements. DSPAM | |
61 | works great with Sendmail and Exim, and should work well with any | |
62 | other MTA that supports an external local delivery agent (postfix, | |
63 | qmail, etc.) | |
64 | ||
be22be94 JB |
65 | %description -l pl |
66 |