1 |
# $Id: smeserver-dspam.spec,v 1.1 2010/06/02 14:14:41 slords Exp $ |
2 |
# Authority: jesperknudsen |
3 |
# Name: Jesper Knudsen |
4 |
|
5 |
Summary: SME DSPAM Integration |
6 |
%define name smeserver-dspam |
7 |
Name: %{name} |
8 |
%define version 2.0 |
9 |
%define release 1 |
10 |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
12 |
License: GPL |
13 |
Group: SME Server/addon |
14 |
Source: %{name}-%{version}.tgz |
15 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
BuildArch: noarch |
17 |
BuildRequires: e-smith-devtools |
18 |
Requires: smeserver-release >= 7.0 |
19 |
Requires: dspam => 3.9 |
20 |
Requires: libdspam-mysql => 3.9 |
21 |
AutoReqProv: no |
22 |
|
23 |
%changelog |
24 |
* Wed Jun 02 2010 Shad L. Lords <slords@mail.com> 2.0-1.sme |
25 |
- Clean up spec for importing into CVS |
26 |
|
27 |
* Mon Jan 04 2010 Jesper Knudsen <jesper@swerts-knudsen.dk> |
28 |
- added sa-stats to enable checking of performance |
29 |
- added keepheaders option to allow keeping DSPAM headers in emails |
30 |
|
31 |
* Sun Jan 03 2010 Jesper Knudsen <jesper@swerts-knudsen.dk> |
32 |
- Added crontab check to switch from training to tagging mode when training complete |
33 |
- Changed reclassification from --corpus=spam|innocent to error |
34 |
- Now retraining works as well for false positives/negatives |
35 |
|
36 |
* Wed Dec 30 2009 Jesper Knudsen <jesper@swerts-knudsen.dk> |
37 |
- First release |
38 |
|
39 |
%description |
40 |
SME DSPAM integration provides a qpsmtpd plugin that first trains DSPAM based on the |
41 |
SpamAssassin results. When training is completed it scores using DSPAM and adds to the SpamAssassin Scores. |
42 |
|
43 |
%prep |
44 |
%setup |
45 |
|
46 |
%build |
47 |
|
48 |
%install |
49 |
rm -rf $RPM_BUILD_ROOT |
50 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
51 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
52 |
echo "%doc " >> %{name}-%{version}-filelist |
53 |
|
54 |
%clean |
55 |
cd .. |
56 |
rm -rf %{name}-%{version} |
57 |
|
58 |
%files -f %{name}-%{version}-filelist |
59 |
%defattr(-,root,root) |