1 |
unnilennium |
1.1 |
# $Id: smeserver-mailstats.spec,v 1.4 2013/09/26 17:41:31 unnilennium Exp $ |
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 1.1 |
9 |
stephdl |
1.2 |
%define release 2 |
10 |
unnilennium |
1.1 |
Version: %{version} |
11 |
|
|
Release: %{release}%{?dist} |
12 |
|
|
License: GPL |
13 |
|
|
Group: SME/addon |
14 |
|
|
Source: %{name}-%{version}.tgz |
15 |
stephdl |
1.2 |
Patch0: smeserver-mailstats-1.1-random-cron.patch |
16 |
unnilennium |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
17 |
|
|
BuildArchitectures: noarch |
18 |
stephdl |
1.2 |
Requires: smeserver-release => 9.0 |
19 |
unnilennium |
1.1 |
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 |
stephdl |
1.2 |
* Sun Jun 14 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-2 |
27 |
|
|
- added a random cron job |
28 |
|
|
|
29 |
unnilennium |
1.1 |
* Mon Jun 16 2014 JP Pialasse <tests@pialasse.com> 1.1-1.sme |
30 |
|
|
- initial import to SME9 contribs |
31 |
|
|
|
32 |
|
|
* Mon Sep 23 2013 JP Pialasse <tests@pialasse.com> 1.1-4.sme |
33 |
|
|
- uninitialized value in sprintf [SME: 4747] |
34 |
|
|
- patch smeserver-mailstats-1.0-spamfilter.patch |
35 |
|
|
|
36 |
|
|
* Sun Sep 09 2012 JP Pialasse <tests@pialasse.com> 1.1-2.sme |
37 |
|
|
- fix Unexpected failure string in log file: auth::auth_cvm_unix_local see [SME 7089] |
38 |
|
|
|
39 |
|
|
* Sat May 26 2012 Brian J read <brianr@bjsystems.co.uk> 1.0-1.sme |
40 |
|
|
- Initial version |
41 |
|
|
|
42 |
|
|
%prep |
43 |
|
|
%setup |
44 |
stephdl |
1.2 |
%patch0 -p1 |
45 |
|
|
|
46 |
unnilennium |
1.1 |
|
47 |
|
|
%build |
48 |
|
|
perl createlinks |
49 |
|
|
|
50 |
|
|
%install |
51 |
|
|
/bin/rm -rf $RPM_BUILD_ROOT |
52 |
|
|
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
53 |
|
|
/bin/rm -f %{name}-%{version}-filelist |
54 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
55 |
|
|
|
56 |
|
|
%clean |
57 |
|
|
/bin/rm -rf $RPM_BUILD_ROOT |
58 |
|
|
|
59 |
|
|
%files -f %{name}-%{version}-filelist |
60 |
|
|
%defattr(-,root,root) |