]>
Commit | Line | Data |
---|---|---|
b68e9706 | 1 | # TODO: everything |
c66382e4 PS |
2 | # |
3 | # Conditional build: | |
b10b8478 | 4 | %bcond_with mysql # enable MySQL storage driver (disable sqlite driver) |
5 | %bcond_with pgsql # enable PostgreSQL storage driver (disable sqlite driver) | |
c66382e4 | 6 | # |
782a8c09 | 7 | Summary: A library and Mail Delivery Agent for Bayesian spam filtering |
be22be94 | 8 | Summary(pl): Biblioteka i MDA do bayesowskiego filtrowania spamu |
782a8c09 | 9 | Name: dspam |
e36e34b9 | 10 | Version: 3.2.7 |
b68e9706 | 11 | Release: 0.1 |
782a8c09 AM |
12 | License: GPL |
13 | Group: Applications/Mail | |
14 | Source0: http://www.nuclearelephant.com/projects/dspam/sources/%{name}-%{version}.tar.gz | |
e36e34b9 | 15 | # Source0-md5: f2bc9fb56ab6f21ef0b0ec7a3d453121 |
9000be1b | 16 | Patch0: %{name}-Makefile.patch |
782a8c09 | 17 | URL: http://www.nuclearelephant.com/projects/dspam/ |
c66382e4 | 18 | %if %{with mysql} |
9000be1b | 19 | BuildRequires: mysql-devel |
530172a9 MM |
20 | %else |
21 | %if %{with pgsql} | |
2dd25777 | 22 | BuildRequires: postgresql-devel |
c66382e4 | 23 | %else |
b68e9706 | 24 | BuildRequires: sqlite-devel |
c66382e4 | 25 | %endif |
530172a9 | 26 | %endif |
782a8c09 AM |
27 | Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
28 | ||
29 | %description | |
30 | DSPAM (as in De-Spam) is an open-source project to create a new kind | |
31 | of anti-spam mechanism, and is currently effective as both a | |
32 | server-side agent for UNIX email servers and a developer's library for | |
33 | mail clients, other anti-spam tools, and similar projects requiring | |
34 | drop-in spam filtering. | |
35 | ||
36 | The DSPAM agent masquerades as the email server's local delivery agent | |
37 | and filters/learns spams using an advanced Bayesian statistical | |
be22be94 | 38 | approach (based on Bayes's theorem of combined probabilities) which |
782a8c09 AM |
39 | provides an administratively maintenance-free, easy-learning Anti-Spam |
40 | service custom tailored to each individual user's behavior. Advanced | |
41 | because on top of standard Bayesian filtering is also incorporated the | |
42 | use of Chained Tokens, de-obfuscation, and other enhancements. DSPAM | |
43 | works great with Sendmail and Exim, and should work well with any | |
44 | other MTA that supports an external local delivery agent (postfix, | |
45 | qmail, etc.) | |
46 | ||
be22be94 JB |
47 | %description -l pl |
48 |