]>
Commit | Line | Data |
---|---|---|
c66382e4 PS |
1 | # |
2 | # Conditional build: | |
0934c47d | 3 | %bcond_with mysql # enable MySQL storage driver (disable db4 driver) |
6d2d45f8 | 4 | %bcond_with pgsql # enable PostgreSQL storage driver (disable db4 driver) |
c66382e4 | 5 | # |
782a8c09 | 6 | Summary: A library and Mail Delivery Agent for Bayesian spam filtering |
be22be94 | 7 | Summary(pl): Biblioteka i MDA do bayesowskiego filtrowania spamu |
782a8c09 | 8 | Name: dspam |
94eb69b7 | 9 | Version: 3.2.5 |
96401a73 | 10 | Release: 1 |
782a8c09 AM |
11 | License: GPL |
12 | Group: Applications/Mail | |
13 | Source0: http://www.nuclearelephant.com/projects/dspam/sources/%{name}-%{version}.tar.gz | |
94eb69b7 | 14 | # Source0-md5: c89b246f42b62bf5d1e24d1f57877aed |
9000be1b | 15 | Patch0: %{name}-Makefile.patch |
782a8c09 | 16 | URL: http://www.nuclearelephant.com/projects/dspam/ |
96401a73 | 17 | BuildRequires: db-static |
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 |
9000be1b | 24 | BuildRequires: db-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 |