1 |
# $Id$ |
# $Id: smeserver-mailstats.spec,v 1.16 2008/10/04 08:46:59 snetram Exp $ |
2 |
# Authority: brianread |
# Authority: brianread |
3 |
# Name: Brian Read |
# Name: Brian Read |
4 |
|
|
6 |
%define name smeserver-mailstats |
%define name smeserver-mailstats |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 0.0.3 |
%define version 0.0.3 |
9 |
%define release 3 |
%define release 12 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
13 |
Group: SME/addon |
Group: SME/addon |
14 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
15 |
Patch1:smeserver-mailstats-0.0.3-bjrupdate01.patch |
Patch1: smeserver-mailstats-0.0.3-bjrupdate01.patch |
16 |
|
Patch2: smeserver-mailstats-0.0.3-bjrupdate02.patch |
17 |
|
Patch3: smeserver-mailstats-0.0.3-bjrupdate03.patch |
18 |
|
Patch4: smeserver-mailstats-0.0.3-bjrupdate04.patch |
19 |
|
Patch5: smeserver-mailstats-0.0.3-reworkDateManip.patch |
20 |
|
Patch6: smeserver-mailstats-0.0.3-removeChangelogFromScript.patch |
21 |
|
Patch7: smeserver-mailstats-0.0.3-implementDBCreation.patch |
22 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
23 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
24 |
Requires: smeserver-release => 7.0 |
Requires: smeserver-release => 7.0 |
29 |
See http://www.contribs.org/bugzilla/show_bug.cgi?id=819 |
See http://www.contribs.org/bugzilla/show_bug.cgi?id=819 |
30 |
|
|
31 |
%changelog |
%changelog |
32 |
|
* Sun Oct 12 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.3-12 |
33 |
|
- Fix patches to apply cleanly [SME: 3631] |
34 |
|
- Execute the database creation script as well [SME: 4275] |
35 |
|
- TODO: Add createlinks script to source |
36 |
|
|
37 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.3-11 |
38 |
|
- Implement MySQL database creation [SME: 4275] |
39 |
|
- Remove changelog from spamfilter-stats script |
40 |
|
|
41 |
|
* Fri Oct 3 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.3-10 |
42 |
|
- Remove debug commands introduced in [SME: 3631] |
43 |
|
- Fixed version number in previous changelog entry |
44 |
|
|
45 |
|
* Fri Oct 3 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.3-9 |
46 |
|
- Remove use of Date::Manip from spamfilter-stats-7.pl [SME: 3631] |
47 |
|
|
48 |
|
* Mon Apr 28 2008 Brian J Read <brianr@bjsystems.co.uk> 0.0.3-8 |
49 |
|
- Another version number update (strugglinjg with CVS here) |
50 |
|
|
51 |
|
* Mon Apr 28 2008 Brian J Read <brianr@bjsystems.co.uk> 0.0.3-7 |
52 |
|
- Update version number |
53 |
|
|
54 |
|
* Sun Apr 27 2008 Brian J Read <brianr@bjsystems.co.uk> 0.0.3-6 |
55 |
|
- Fix up to enable disable SAreport and others [SME:3734] |
56 |
|
|
57 |
|
* Fri Apr 11 2008 Brian J Read <brianr@bjsystems.co.uk> 0.0.3-5 |
58 |
|
- Fix up Db entries when none at all.[SME:4188] |
59 |
|
|
60 |
|
* Thu Apr 3 2008 Brian J Read <brianr@bjsystems.co.uk> 0.0.3-4 |
61 |
|
- Take out extra lines in mailstats.cron and remove restart crond from |
62 |
|
post actions in spec file, on Shad's advice. |
63 |
|
|
64 |
* Tue Apr 1 2008 Brian J Read <brianr@bjsystems.co.uk> 0.0.3-3 |
* Tue Apr 1 2008 Brian J Read <brianr@bjsystems.co.uk> 0.0.3-3 |
65 |
- Add in restart of crond so that script in cron.d is noticed |
- Add in restart of crond so that script in cron.d is noticed |
66 |
|
|
67 |
* Tue Mar 25 2008 Brian J read <brianr@bjsystems.co.uk> 0.0.3-2 |
* Tue Mar 25 2008 Brian J read <brianr@bjsystems.co.uk> 0.0.3-2 |
68 |
- New version incorporating Charlie's changes and latest changes from bjr |
- New version incorporating Charlie's changes and latest changes from bjr [SME:3956] |
69 |
|
|
70 |
* Fri Feb 15 2008 Shad L. Lords <slords@mail.com> 0.0.3-1 |
* Fri Feb 15 2008 Shad L. Lords <slords@mail.com> 0.0.3-1 |
71 |
- Roll new version in prep for building on new buildsys |
- Roll new version in prep for building on new buildsys |
114 |
|
|
115 |
%setup |
%setup |
116 |
%patch1 -p1 |
%patch1 -p1 |
117 |
|
%patch2 -p1 |
118 |
|
%patch3 -p1 |
119 |
|
%patch4 -p1 |
120 |
|
%patch5 -p1 |
121 |
|
%patch6 -p1 |
122 |
|
%patch7 -p1 |
123 |
|
|
124 |
%build |
%build |
125 |
|
perl createlinks |
126 |
|
|
127 |
%install |
%install |
128 |
/bin/rm -rf $RPM_BUILD_ROOT |
/bin/rm -rf $RPM_BUILD_ROOT |
135 |
|
|
136 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
137 |
%defattr(-,root,root) |
%defattr(-,root,root) |
|
|
|
|
%post |
|
|
service crond restart |
|