1 |
|
# $Id: smeserver-mailstats.spec,v 1.6 2008/04/11 14:28:19 brianread Exp $ |
2 |
|
# Authority: brianread |
3 |
|
# Name: Brian Read |
4 |
|
|
5 |
Summary: Daily mail statistics for SME Server |
Summary: Daily mail statistics for SME Server |
6 |
%define name smeserver-mailstats |
%define name smeserver-mailstats |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 0.0.3 |
%define version 0.0.3 |
9 |
%define release 3 |
%define release 6 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
13 |
Group: SME/addon |
Group: SME/addon |
14 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
15 |
Patch1:smeserver-mailstats-0.0.3-bjrupdate01.patch |
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-update04.patch |
19 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
20 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
21 |
Requires: smeserver-release => 7.0 |
Requires: smeserver-release => 7.0 |
26 |
See http://www.contribs.org/bugzilla/show_bug.cgi?id=819 |
See http://www.contribs.org/bugzilla/show_bug.cgi?id=819 |
27 |
|
|
28 |
%changelog |
%changelog |
29 |
|
|
30 |
|
* 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 |
|
- Fix up to enable disable SAreport and others [SME:3734] |
35 |
|
|
36 |
|
* Fri Apr 11 2008 Brian J Read <brianr@bjsystems.co.uk> 0.0.3-5 |
37 |
|
- Fix up Db entries when none at all.[SME:4188] |
38 |
|
|
39 |
|
* 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 |
* Tue Apr 1 2008 Brian J Read <brianr@bjsystems.co.uk> 0.0.3-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 |
- 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 |
* Tue Mar 25 2008 Brian J read <brianr@bjsystems.co.uk> 0.0.3-2 |
47 |
- New version incorporating Charlie's changes and latest changes from bjr |
- New version incorporating Charlie's changes and latest changes from bjr [SME:3956] |
48 |
|
|
49 |
* Fri Feb 15 2008 Shad L. Lords <slords@mail.com> 0.0.3-1 |
* 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 |
- Roll new version in prep for building on new buildsys |
93 |
|
|
94 |
%setup |
%setup |
95 |
%patch1 -p1 |
%patch1 -p1 |
96 |
|
%patch2 -p1 |
97 |
|
%patch3 -p1 |
98 |
|
%patch4 -p1 |
99 |
%build |
%build |
100 |
|
|
101 |
%install |
%install |
109 |
|
|
110 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
111 |
%defattr(-,root,root) |
%defattr(-,root,root) |
|
|
|
|
%post |
|
|
service crond restart |
|