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