1 |
brianread |
1.7 |
# $Id: smeserver-mailstats.spec,v 1.6 2008/04/11 14:28:19 brianread 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 |
brianread |
1.10 |
%define release 7 |
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 |
brianread |
1.3 |
Patch1:smeserver-mailstats-0.0.3-bjrupdate01.patch |
16 |
brianread |
1.5 |
Patch2:smeserver-mailstats-0.0.3-bjrupdate02.patch |
17 |
brianread |
1.6 |
Patch3:smeserver-mailstats-0.0.3-bjrupdate03.patch |
18 |
brianread |
1.7 |
Patch4:smeserver-mailstats-0.0.3-update04.patch |
19 |
slords |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
20 |
|
|
BuildArchitectures: noarch |
21 |
|
|
Requires: smeserver-release => 7.0 |
22 |
slords |
1.2 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
23 |
|
|
|
24 |
slords |
1.1 |
%description |
25 |
|
|
A script that via cron.d e-mails mail statistics to admin on a daily basis. |
26 |
|
|
See http://www.contribs.org/bugzilla/show_bug.cgi?id=819 |
27 |
|
|
|
28 |
|
|
%changelog |
29 |
brianread |
1.6 |
|
30 |
brianread |
1.9 |
* Mon Apr 28 2008 Brian J Read <brianr@bjsystems.co.uk> 0.0.3-7 |
31 |
|
|
- Update version number |
32 |
|
|
|
33 |
|
|
* Sun Apr 27 2008 Brian J Read <brianr@bjsystems.co.uk> 0.0.3-6 |
34 |
brianread |
1.7 |
- Fix up to enable disable SAreport and others [SME:3734] |
35 |
|
|
|
36 |
brianread |
1.6 |
* Fri Apr 11 2008 Brian J Read <brianr@bjsystems.co.uk> 0.0.3-5 |
37 |
brianread |
1.7 |
- Fix up Db entries when none at all.[SME:4188] |
38 |
brianread |
1.6 |
|
39 |
brianread |
1.5 |
* Thu Apr 3 2008 Brian J Read <brianr@bjsystems.co.uk> 0.0.3-4 |
40 |
|
|
- Take out extra lines in mailstats.cron and remove restart crond from |
41 |
|
|
post actions in spec file, on Shad's advice. |
42 |
|
|
|
43 |
brianread |
1.3 |
* Tue Apr 1 2008 Brian J Read <brianr@bjsystems.co.uk> 0.0.3-3 |
44 |
|
|
- Add in restart of crond so that script in cron.d is noticed |
45 |
|
|
|
46 |
|
|
* Tue Mar 25 2008 Brian J read <brianr@bjsystems.co.uk> 0.0.3-2 |
47 |
brianread |
1.7 |
- New version incorporating Charlie's changes and latest changes from bjr [SME:3956] |
48 |
brianread |
1.3 |
|
49 |
slords |
1.2 |
* Fri Feb 15 2008 Shad L. Lords <slords@mail.com> 0.0.3-1 |
50 |
|
|
- Roll new version in prep for building on new buildsys |
51 |
|
|
|
52 |
slords |
1.1 |
* Thu Oct 11 2007 <charlie_brady@mitel.com> 0.0.2-07 |
53 |
|
|
- Rename parse_args => analysis_period, and simplify substantially. |
54 |
|
|
|
55 |
|
|
* Thu Oct 11 2007 <charlie_brady@mitel.com> 0.0.2-06 |
56 |
|
|
- Avoid re-opening config db all the time. |
57 |
|
|
|
58 |
|
|
* Thu Oct 11 2007 <charlie_brady@mitel.com> 0.0.2-05 |
59 |
|
|
- Redo 1st of month bug fix. Expand all tabs to four spaces. [SME: 3366] |
60 |
|
|
|
61 |
|
|
* Thu Oct 11 2007 <charlie_brady@mitel.com> 0.0.2-04 |
62 |
|
|
- Update spamfilter-stats-7.pl to Brian's 0.6.15 version. [SME: 3068] |
63 |
|
|
|
64 |
|
|
* Mon Oct 1 2007 Charlie Brady <charlie_brady@mitel.com> 0.0.2-03 |
65 |
|
|
- Fix 1st of month bug, and uninitialised value warning. [SME: 3366] |
66 |
|
|
|
67 |
|
|
* Mon Sep 10 2007 Charlie Brady <charlie_brady@mitel.com> 0.0.2-02 |
68 |
|
|
- Patch to update spamfilter-stats-7.pl to most recent verson that is |
69 |
|
|
attached in bugzilla. http://bugs.contribs.org/show_bug.cgi?id=3068 |
70 |
|
|
|
71 |
|
|
* Mon Sep 10 2007 Charlie Brady <charlie_brady@mitel.com> 0.0.2-01 |
72 |
|
|
- Repackaging Darrell's 0.0.1-2dmay as 0.0.2. After all this time Darrell |
73 |
|
|
is still publishing multiple RPMs with tarballs with different content |
74 |
|
|
with the same version number - grrrr!!! Odd, since he is the quoted author |
75 |
|
|
of rpm-patch-howto.html. |
76 |
|
|
|
77 |
|
|
* Thu Aug 23 2007 John H. Bennett III <bennettj@johnbennettservices.com> [0.0.1-2] |
78 |
|
|
- Patch to update spamfilter-stats-7.pl to most recent verson that is |
79 |
|
|
attached in bugzilla. http://bugs.contribs.org/show_bug.cgi?id=3068 |
80 |
|
|
|
81 |
|
|
* Wed Apr 11 2007 Darrell May <dmay@myezserver.com> |
82 |
|
|
- added db qpsmtpdLogLevel migrate fragment |
83 |
|
|
- changed post commands being echoed |
84 |
|
|
- [0.0.1-2dmay] |
85 |
|
|
* Wed Apr 11 2007 Darrell May <dmay@myezserver.com> |
86 |
|
|
- updated to use qpsmtpd logterse plugin |
87 |
|
|
- [0.0.1-1dmay] |
88 |
|
|
* Fri Oct 13 2006 Darrell May <dmay@myezserver.com> |
89 |
|
|
- bundled into rpm |
90 |
|
|
- [0.0.1-0dmay] |
91 |
|
|
|
92 |
|
|
%prep |
93 |
|
|
|
94 |
|
|
%setup |
95 |
brianread |
1.3 |
%patch1 -p1 |
96 |
brianread |
1.5 |
%patch2 -p1 |
97 |
brianread |
1.6 |
%patch3 -p1 |
98 |
brianread |
1.8 |
%patch4 -p1 |
99 |
slords |
1.1 |
%build |
100 |
|
|
|
101 |
|
|
%install |
102 |
|
|
/bin/rm -rf $RPM_BUILD_ROOT |
103 |
slords |
1.2 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
104 |
slords |
1.1 |
/bin/rm -f %{name}-%{version}-filelist |
105 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
106 |
|
|
|
107 |
|
|
%clean |
108 |
|
|
/bin/rm -rf $RPM_BUILD_ROOT |
109 |
|
|
|
110 |
slords |
1.2 |
%files -f %{name}-%{version}-filelist |
111 |
|
|
%defattr(-,root,root) |