]> git.pld-linux.org Git - packages/dspam.git/blobdiff - dspam.spec
- updated to 3.2.1
[packages/dspam.git] / dspam.spec
index 90a76e495a6a5bdf1687ac3f8f9daacac9bb08e1..511b368ab0d84b438238b08ef88ff2e1c476beab 100644 (file)
@@ -1,19 +1,20 @@
 #
 # Conditional build:
-%bcond_with    mysql   # enable mysql storage driver (disable db4 driver)
-%bcond_with    pgsql   # enable pgsql storage driver (disable db4 driver)
+%bcond_with    mysql   # enable MySQL storage driver (disable db4 driver)
+%bcond_with    pgsql   # enable PostgreSQL storage driver (disable db4 driver)
 #
 Summary:       A library and Mail Delivery Agent for Bayesian spam filtering
 Summary(pl):   Biblioteka i MDA do bayesowskiego filtrowania spamu
 Name:          dspam
-Version:       3.0.0
-Release:       1.1
+Version:       3.2.1
+Release:       1
 License:       GPL
 Group:         Applications/Mail
 Source0:       http://www.nuclearelephant.com/projects/dspam/sources/%{name}-%{version}.tar.gz
-# Source0-md5: f5b568e8fea50faaf4c1fcabee177934
+# Source0-md5: a4357c02ca39a68480719adf47fca67a
 Patch0:                %{name}-Makefile.patch
 URL:           http://www.nuclearelephant.com/projects/dspam/
+BuildRequires: db-static
 %if %{with mysql}
 BuildRequires: mysql-devel
 %else if %{with pgsql}
@@ -177,7 +178,7 @@ install -d $RPM_BUILD_ROOT%{_sysconfdir}/cron.weekly
 
 cat > $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/%{name} <<EOF
 #!/bin/sh
-exec %{_bindir}/%{name}_clean 2>&1 > /dev/null
+exec %{_bindir}/%{name}_clean -s -p
 EOF
 
 chmod 755 $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/%{name}
@@ -238,7 +239,7 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc README CHANGELOG RELEASE.NOTES
-%doc cgi/base.css cgi/dspam.cgi cgi/logo.gif
+%doc cgi/base.css cgi/dspam.cgi
 %if %{with mysql}
 %doc README.mysql
 %doc tools.mysql_drv/mysql_objects.sql.space.optimized
This page took 0.089891 seconds and 4 git commands to generate.