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