1 |
unnilennium |
1.9 |
# $Id: smeserver-mailstats.spec,v 1.8 2015/11/06 23:49:56 unnilennium Exp $ |
2 |
slords |
1.1 |
# 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.0 |
9 |
unnilennium |
1.9 |
%define release 8 |
10 |
slords |
1.1 |
Version: %{version} |
11 |
|
|
Release: %{release}%{?dist} |
12 |
|
|
License: GPL |
13 |
|
|
Group: SME/addon |
14 |
|
|
Source: %{name}-%{version}.tgz |
15 |
unnilennium |
1.3 |
Patch0: smeserver-mailstats-1.0-auth_cvm_unix_local.patch |
16 |
unnilennium |
1.4 |
Patch1: smeserver-mailstats-1.0-spamfilter.patch |
17 |
stephdl |
1.7 |
Patch2: smeserver-mailstats-1.0-random-cron_and_spamfilter-stats-7-update.patch |
18 |
unnilennium |
1.8 |
Patch3: smeserver-mailstats-1.0.bz9115.Spamassassin_scores_and_tags-geoip.patch |
19 |
unnilennium |
1.9 |
Patch4: smeserver-mailstats-1.0.bz8957.Create_the_mailstats_user.patch |
20 |
slords |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
21 |
|
|
BuildArchitectures: noarch |
22 |
|
|
Requires: smeserver-release => 8.0 |
23 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
24 |
|
|
|
25 |
|
|
%description |
26 |
|
|
A script that via cron.d e-mails mail statistics to admin on a daily basis. |
27 |
|
|
See http://www.contribs.org/bugzilla/show_bug.cgi?id=819 |
28 |
|
|
|
29 |
|
|
%changelog |
30 |
unnilennium |
1.8 |
*Fri Nov 06 2015 JP Pialasse <tests@pialasse.com> 1.1-8.sme |
31 |
|
|
- backport SME9 patch [SME: 9115] |
32 |
|
|
- Fixed the problem with Spamassassin scores and tags. |
33 |
|
|
- Also added Geoip league table [SME: 8656] |
34 |
|
|
- code done by Brian Read <brianr@bjsystems.co.uk> |
35 |
unnilennium |
1.9 |
- fix missing user [SME: 8957] |
36 |
unnilennium |
1.8 |
|
37 |
stephdl |
1.7 |
* Sun Jun 14 2015 stephane de labrusse <stephdl@de-labrusse.fr> 1.0-6 |
38 |
stephdl |
1.5 |
- added a random cron job |
39 |
stephdl |
1.7 |
- spamfilter-stats-7-update |
40 |
|
|
- code done by Brian Read <brianr@bjsystems.co.uk> and John Crisp <jcrisp@safeandsoundit.co.uk> |
41 |
stephdl |
1.5 |
|
42 |
unnilennium |
1.4 |
* Mon Sep 23 2013 JP Pialasse <tests@pialasse.com> 1.1-4.sme |
43 |
|
|
- uninitialized value in sprintf [SME: 4747] |
44 |
|
|
- patch smeserver-mailstats-1.0-spamfilter.patch |
45 |
|
|
|
46 |
unnilennium |
1.3 |
* Sun Sep 09 2012 JP Pialasse <tests@pialasse.com> 1.1-2.sme |
47 |
|
|
- fix Unexpected failure string in log file: auth::auth_cvm_unix_local see [SME 7089] |
48 |
|
|
|
49 |
slords |
1.2 |
* Sat May 26 2012 Brian J read <brianr@bjsystems.co.uk> 1.0-1.sme |
50 |
slords |
1.1 |
- Initial version |
51 |
|
|
|
52 |
|
|
%prep |
53 |
|
|
%setup |
54 |
unnilennium |
1.3 |
%patch0 -p1 |
55 |
unnilennium |
1.4 |
%patch1 -p1 |
56 |
stephdl |
1.5 |
%patch2 -p1 |
57 |
unnilennium |
1.8 |
%patch3 -p1 |
58 |
unnilennium |
1.9 |
%patch4 -p1 |
59 |
slords |
1.1 |
|
60 |
|
|
%build |
61 |
|
|
perl createlinks |
62 |
|
|
|
63 |
|
|
%install |
64 |
|
|
/bin/rm -rf $RPM_BUILD_ROOT |
65 |
|
|
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
66 |
|
|
/bin/rm -f %{name}-%{version}-filelist |
67 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
68 |
|
|
|
69 |
|
|
%clean |
70 |
|
|
/bin/rm -rf $RPM_BUILD_ROOT |
71 |
|
|
|
72 |
|
|
%files -f %{name}-%{version}-filelist |
73 |
|
|
%defattr(-,root,root) |