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