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