--- rpms/smeserver-mailstats/contribs7/smeserver-mailstats.spec 2008/04/01 08:48:09 1.3 +++ rpms/smeserver-mailstats/contribs7/smeserver-mailstats.spec 2008/10/11 23:29:50 1.17 @@ -1,14 +1,24 @@ +# $Id: smeserver-mailstats.spec,v 1.16 2008/10/04 08:46:59 snetram Exp $ +# Authority: brianread +# Name: Brian Read + Summary: Daily mail statistics for SME Server %define name smeserver-mailstats Name: %{name} %define version 0.0.3 -%define release 3 +%define release 12 Version: %{version} Release: %{release}%{?dist} License: GPL Group: SME/addon Source: %{name}-%{version}.tar.gz -Patch1:smeserver-mailstats-0.0.3-bjrupdate01.patch +Patch1: smeserver-mailstats-0.0.3-bjrupdate01.patch +Patch2: smeserver-mailstats-0.0.3-bjrupdate02.patch +Patch3: smeserver-mailstats-0.0.3-bjrupdate03.patch +Patch4: smeserver-mailstats-0.0.3-bjrupdate04.patch +Patch5: smeserver-mailstats-0.0.3-reworkDateManip.patch +Patch6: smeserver-mailstats-0.0.3-removeChangelogFromScript.patch +Patch7: smeserver-mailstats-0.0.3-implementDBCreation.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch Requires: smeserver-release => 7.0 @@ -19,11 +29,43 @@ A script that via cron.d e-mails mail st See http://www.contribs.org/bugzilla/show_bug.cgi?id=819 %changelog +* Sun Oct 12 2008 Jonathan Martens 0.0.3-12 +- Fix patches to apply cleanly [SME: 3631] +- Execute the database creation script as well [SME: 4275] +- TODO: Add createlinks script to source + +* Sat Oct 4 2008 Jonathan Martens 0.0.3-11 +- Implement MySQL database creation [SME: 4275] +- Remove changelog from spamfilter-stats script + +* Fri Oct 3 2008 Jonathan Martens 0.0.3-10 +- Remove debug commands introduced in [SME: 3631] +- Fixed version number in previous changelog entry + +* Fri Oct 3 2008 Jonathan Martens 0.0.3-9 +- Remove use of Date::Manip from spamfilter-stats-7.pl [SME: 3631] + +* Mon Apr 28 2008 Brian J Read 0.0.3-8 +- Another version number update (strugglinjg with CVS here) + +* Mon Apr 28 2008 Brian J Read 0.0.3-7 +- Update version number + +* Sun Apr 27 2008 Brian J Read 0.0.3-6 +- Fix up to enable disable SAreport and others [SME:3734] + +* Fri Apr 11 2008 Brian J Read 0.0.3-5 +- Fix up Db entries when none at all.[SME:4188] + +* Thu Apr 3 2008 Brian J Read 0.0.3-4 +- Take out extra lines in mailstats.cron and remove restart crond from + post actions in spec file, on Shad's advice. + * Tue Apr 1 2008 Brian J Read 0.0.3-3 - Add in restart of crond so that script in cron.d is noticed * Tue Mar 25 2008 Brian J read 0.0.3-2 -- New version incorporating Charlie's changes and latest changes from bjr +- New version incorporating Charlie's changes and latest changes from bjr [SME:3956] * Fri Feb 15 2008 Shad L. Lords 0.0.3-1 - Roll new version in prep for building on new buildsys @@ -72,7 +114,15 @@ See http://www.contribs.org/bugzilla/sho %setup %patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 + %build +perl createlinks %install /bin/rm -rf $RPM_BUILD_ROOT @@ -85,6 +135,3 @@ See http://www.contribs.org/bugzilla/sho %files -f %{name}-%{version}-filelist %defattr(-,root,root) - -%post -service crond restart