1 |
# $Id$ |
# $Id: smeserver-mailstats.spec,v 1.4 2008/04/02 15:03:57 slords Exp $ |
2 |
# Authority: brianread |
# Authority: brianread |
3 |
# Name: Brian Read |
# Name: Brian Read |
4 |
|
|
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 4 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
18 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
19 |
Requires: smeserver-release => 7.0 |
Requires: smeserver-release => 7.0 |
24 |
See http://www.contribs.org/bugzilla/show_bug.cgi?id=819 |
See http://www.contribs.org/bugzilla/show_bug.cgi?id=819 |
25 |
|
|
26 |
%changelog |
%changelog |
27 |
|
* 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 |
* 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 |
32 |
- 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 |
33 |
|
|
81 |
|
|
82 |
%setup |
%setup |
83 |
%patch1 -p1 |
%patch1 -p1 |
84 |
|
%patch2 -p1 |
85 |
%build |
%build |
86 |
|
|
87 |
%install |
%install |
95 |
|
|
96 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
97 |
%defattr(-,root,root) |
%defattr(-,root,root) |
|
|
|
|
%post |
|
|
service crond restart |
|