]>
Commit | Line | Data |
---|---|---|
229005d4 | 1 | # TODO: |
db5b0be0 | 2 | # - support for libdclassify |
526e9159 | 3 | # - oracle driver |
15cf3cba | 4 | # - messages from default install of cron with mysql driver Memory fault |
c66382e4 PS |
5 | # |
6 | # Conditional build: | |
f8aabeb4 JB |
7 | %bcond_without mysql # disable MySQL storage driver |
8 | %bcond_without pgsql # disable PostgreSQL storage driver | |
9 | %bcond_without sqlite # disable SQLite3 storage driver | |
10 | %bcond_without db # disable BerkeleyDB storage driver | |
11 | %bcond_without daemon # disable daemon mode | |
5fe98dd6 | 12 | %bcond_with mysql40 # use with mysql 4.0 |
f8aabeb4 | 13 | # |
15cf3cba | 14 | %include /usr/lib/rpm/macros.perl |
782a8c09 | 15 | Summary: A library and Mail Delivery Agent for Bayesian spam filtering |
be22be94 | 16 | Summary(pl): Biblioteka i MDA do bayesowskiego filtrowania spamu |
782a8c09 | 17 | Name: dspam |
afb1dbdc | 18 | Version: 3.6.5 |
15cf3cba | 19 | Release: 0.14 |
782a8c09 AM |
20 | License: GPL |
21 | Group: Applications/Mail | |
22 | Source0: http://www.nuclearelephant.com/projects/dspam/sources/%{name}-%{version}.tar.gz | |
afb1dbdc | 23 | # Source0-md5: da4f0e00633bff49d71fde418caaf14b |
15cf3cba | 24 | Patch0: %{name}-webui.patch |
6d23db82 | 25 | Source1: %{name}.init |
15cf3cba | 26 | Source2: %{name}-apache.conf |
782a8c09 | 27 | URL: http://www.nuclearelephant.com/projects/dspam/ |
6d23db82 AM |
28 | BuildRequires: autoconf |
29 | BuildRequires: automake | |
db5b0be0 | 30 | BuildRequires: clamav-devel |
db5b0be0 | 31 | %{?with_db:BuildRequires: db-devel} |
786a7fbe | 32 | BuildRequires: libtool |
526e9159 | 33 | %{?with_mysql:BuildRequires: mysql-devel} |
f8aabeb4 | 34 | BuildRequires: openldap-devel |
526e9159 | 35 | %{?with_pgsql:BuildRequires: postgresql-devel} |
15cf3cba | 36 | BuildRequires: rpm-perlprov >= 4.1-13 |
cc754752 | 37 | BuildRequires: rpmbuild(macros) >= 1.268 |
f8aabeb4 | 38 | BuildRequires: sed >= 4.0 |
526e9159 | 39 | %{?with_sqlite:BuildRequires: sqlite3-devel} |
db5b0be0 | 40 | BuildRequires: zlib-devel |
786a7fbe ER |
41 | Requires(post,preun): /sbin/chkconfig |
42 | Requires: rc-scripts | |
782a8c09 AM |
43 | Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
44 | ||
15cf3cba ER |
45 | %define _webapps /etc/webapps |
46 | %define _webapp %{name} | |
47 | ||
782a8c09 AM |
48 | %description |
49 | DSPAM (as in De-Spam) is an open-source project to create a new kind | |
50 | of anti-spam mechanism, and is currently effective as both a | |
51 | server-side agent for UNIX email servers and a developer's library for | |
52 | mail clients, other anti-spam tools, and similar projects requiring | |
53 | drop-in spam filtering. | |
54 | ||
55 | The DSPAM agent masquerades as the email server's local delivery agent | |
56 | and filters/learns spams using an advanced Bayesian statistical | |
be22be94 | 57 | approach (based on Bayes's theorem of combined probabilities) which |
782a8c09 AM |
58 | provides an administratively maintenance-free, easy-learning Anti-Spam |
59 | service custom tailored to each individual user's behavior. Advanced | |
60 | because on top of standard Bayesian filtering is also incorporated the | |
61 | use of Chained Tokens, de-obfuscation, and other enhancements. DSPAM | |
62 | works great with Sendmail and Exim, and should work well with any | |
63 | other MTA that supports an external local delivery agent (postfix, | |
64 | qmail, etc.) | |
65 | ||
be22be94 JB |
66 | %description -l pl |
67 |