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