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