1 |
snetram |
1.17 |
# $Id: smeserver-mailstats.spec,v 1.16 2008/10/04 08:46:59 snetram Exp $ |
2 |
slords |
1.4 |
# Authority: brianread |
3 |
|
|
# Name: Brian Read |
4 |
|
|
|
5 |
slords |
1.1 |
Summary: Daily mail statistics for SME Server |
6 |
|
|
%define name smeserver-mailstats |
7 |
|
|
Name: %{name} |
8 |
slords |
1.2 |
%define version 0.0.3 |
9 |
snetram |
1.17 |
%define release 12 |
10 |
slords |
1.1 |
Version: %{version} |
11 |
slords |
1.2 |
Release: %{release}%{?dist} |
12 |
slords |
1.1 |
License: GPL |
13 |
|
|
Group: SME/addon |
14 |
|
|
Source: %{name}-%{version}.tar.gz |
15 |
snetram |
1.16 |
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 |
snetram |
1.17 |
Patch6: smeserver-mailstats-0.0.3-removeChangelogFromScript.patch |
21 |
snetram |
1.16 |
Patch7: smeserver-mailstats-0.0.3-implementDBCreation.patch |
22 |
slords |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
23 |
|
|
BuildArchitectures: noarch |
24 |
|
|
Requires: smeserver-release => 7.0 |
25 |
slords |
1.2 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
26 |
|
|
|
27 |
slords |
1.1 |
%description |
28 |
|
|
A script that via cron.d e-mails mail statistics to admin on a daily basis. |
29 |
|
|
See http://www.contribs.org/bugzilla/show_bug.cgi?id=819 |
30 |
|
|
|
31 |
|
|
%changelog |
32 |
snetram |
1.17 |
* 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 |
snetram |
1.16 |
* 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 |
snetram |
1.15 |
* 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 |
snetram |
1.13 |
- Remove use of Date::Manip from spamfilter-stats-7.pl [SME: 3631] |
47 |
brianread |
1.6 |
|
48 |
brianread |
1.12 |
* 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 |
brianread |
1.9 |
* 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 |
brianread |
1.7 |
- Fix up to enable disable SAreport and others [SME:3734] |
56 |
|
|
|
57 |
brianread |
1.6 |
* Fri Apr 11 2008 Brian J Read <brianr@bjsystems.co.uk> 0.0.3-5 |
58 |
brianread |
1.7 |
- Fix up Db entries when none at all.[SME:4188] |
59 |
brianread |
1.6 |
|
60 |
brianread |
1.5 |
* 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 |
brianread |
1.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 |
66 |
|
|
|
67 |
|
|
* Tue Mar 25 2008 Brian J read <brianr@bjsystems.co.uk> 0.0.3-2 |
68 |
brianread |
1.7 |
- New version incorporating Charlie's changes and latest changes from bjr [SME:3956] |
69 |
brianread |
1.3 |
|
70 |
slords |
1.2 |
* 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 |
72 |
|
|
|
73 |
slords |
1.1 |
* Thu Oct 11 2007 <charlie_brady@mitel.com> 0.0.2-07 |
74 |
|
|
- Rename parse_args => analysis_period, and simplify substantially. |
75 |
|
|
|
76 |
|
|
* Thu Oct 11 2007 <charlie_brady@mitel.com> 0.0.2-06 |
77 |
|
|
- Avoid re-opening config db all the time. |
78 |
|
|
|
79 |
|
|
* Thu Oct 11 2007 <charlie_brady@mitel.com> 0.0.2-05 |
80 |
|
|
- Redo 1st of month bug fix. Expand all tabs to four spaces. [SME: 3366] |
81 |
|
|
|
82 |
|
|
* Thu Oct 11 2007 <charlie_brady@mitel.com> 0.0.2-04 |
83 |
|
|
- Update spamfilter-stats-7.pl to Brian's 0.6.15 version. [SME: 3068] |
84 |
|
|
|
85 |
|
|
* Mon Oct 1 2007 Charlie Brady <charlie_brady@mitel.com> 0.0.2-03 |
86 |
|
|
- Fix 1st of month bug, and uninitialised value warning. [SME: 3366] |
87 |
|
|
|
88 |
|
|
* Mon Sep 10 2007 Charlie Brady <charlie_brady@mitel.com> 0.0.2-02 |
89 |
|
|
- Patch to update spamfilter-stats-7.pl to most recent verson that is |
90 |
|
|
attached in bugzilla. http://bugs.contribs.org/show_bug.cgi?id=3068 |
91 |
|
|
|
92 |
|
|
* Mon Sep 10 2007 Charlie Brady <charlie_brady@mitel.com> 0.0.2-01 |
93 |
|
|
- Repackaging Darrell's 0.0.1-2dmay as 0.0.2. After all this time Darrell |
94 |
|
|
is still publishing multiple RPMs with tarballs with different content |
95 |
|
|
with the same version number - grrrr!!! Odd, since he is the quoted author |
96 |
|
|
of rpm-patch-howto.html. |
97 |
|
|
|
98 |
|
|
* Thu Aug 23 2007 John H. Bennett III <bennettj@johnbennettservices.com> [0.0.1-2] |
99 |
|
|
- Patch to update spamfilter-stats-7.pl to most recent verson that is |
100 |
|
|
attached in bugzilla. http://bugs.contribs.org/show_bug.cgi?id=3068 |
101 |
|
|
|
102 |
|
|
* Wed Apr 11 2007 Darrell May <dmay@myezserver.com> |
103 |
|
|
- added db qpsmtpdLogLevel migrate fragment |
104 |
|
|
- changed post commands being echoed |
105 |
|
|
- [0.0.1-2dmay] |
106 |
|
|
* Wed Apr 11 2007 Darrell May <dmay@myezserver.com> |
107 |
|
|
- updated to use qpsmtpd logterse plugin |
108 |
|
|
- [0.0.1-1dmay] |
109 |
|
|
* Fri Oct 13 2006 Darrell May <dmay@myezserver.com> |
110 |
|
|
- bundled into rpm |
111 |
|
|
- [0.0.1-0dmay] |
112 |
|
|
|
113 |
|
|
%prep |
114 |
|
|
|
115 |
|
|
%setup |
116 |
brianread |
1.3 |
%patch1 -p1 |
117 |
brianread |
1.5 |
%patch2 -p1 |
118 |
brianread |
1.6 |
%patch3 -p1 |
119 |
brianread |
1.8 |
%patch4 -p1 |
120 |
snetram |
1.13 |
%patch5 -p1 |
121 |
snetram |
1.15 |
%patch6 -p1 |
122 |
snetram |
1.16 |
%patch7 -p1 |
123 |
snetram |
1.15 |
|
124 |
slords |
1.1 |
%build |
125 |
snetram |
1.17 |
perl createlinks |
126 |
slords |
1.1 |
|
127 |
|
|
%install |
128 |
|
|
/bin/rm -rf $RPM_BUILD_ROOT |
129 |
slords |
1.2 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
130 |
slords |
1.1 |
/bin/rm -f %{name}-%{version}-filelist |
131 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
132 |
|
|
|
133 |
|
|
%clean |
134 |
|
|
/bin/rm -rf $RPM_BUILD_ROOT |
135 |
|
|
|
136 |
slords |
1.2 |
%files -f %{name}-%{version}-filelist |
137 |
|
|
%defattr(-,root,root) |