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