1 |
unnilennium |
1.10 |
# $Id: smeserver-mailstats.spec,v 1.9 2016/03/08 04:17:38 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.10 |
%define release 9 |
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 |
unnilennium |
1.10 |
Patch5: smeserver-mailstats-1.0-628.patch |
21 |
slords |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
22 |
|
|
BuildArchitectures: noarch |
23 |
|
|
Requires: smeserver-release => 8.0 |
24 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
25 |
|
|
|
26 |
|
|
%description |
27 |
|
|
A script that via cron.d e-mails mail statistics to admin on a daily basis. |
28 |
|
|
See http://www.contribs.org/bugzilla/show_bug.cgi?id=819 |
29 |
|
|
|
30 |
|
|
%changelog |
31 |
unnilennium |
1.10 |
* Sun Apr 10 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-9.sme |
32 |
|
|
- account for all unknown qpsmtpd plugins [SME: 9428] |
33 |
|
|
- extra for "unofficial" extra clamav signatures |
34 |
|
|
- code by Brian Read <brianr@bjsystems.co.uk> |
35 |
|
|
- (only small suggestions from JP Pialasse aka Unnilennium) |
36 |
|
|
|
37 |
unnilennium |
1.8 |
*Fri Nov 06 2015 JP Pialasse <tests@pialasse.com> 1.1-8.sme |
38 |
|
|
- backport SME9 patch [SME: 9115] |
39 |
|
|
- Fixed the problem with Spamassassin scores and tags. |
40 |
|
|
- Also added Geoip league table [SME: 8656] |
41 |
|
|
- code done by Brian Read <brianr@bjsystems.co.uk> |
42 |
unnilennium |
1.9 |
- fix missing user [SME: 8957] |
43 |
unnilennium |
1.8 |
|
44 |
stephdl |
1.7 |
* Sun Jun 14 2015 stephane de labrusse <stephdl@de-labrusse.fr> 1.0-6 |
45 |
stephdl |
1.5 |
- added a random cron job |
46 |
stephdl |
1.7 |
- spamfilter-stats-7-update |
47 |
|
|
- code done by Brian Read <brianr@bjsystems.co.uk> and John Crisp <jcrisp@safeandsoundit.co.uk> |
48 |
stephdl |
1.5 |
|
49 |
unnilennium |
1.4 |
* Mon Sep 23 2013 JP Pialasse <tests@pialasse.com> 1.1-4.sme |
50 |
|
|
- uninitialized value in sprintf [SME: 4747] |
51 |
|
|
- patch smeserver-mailstats-1.0-spamfilter.patch |
52 |
|
|
|
53 |
unnilennium |
1.3 |
* Sun Sep 09 2012 JP Pialasse <tests@pialasse.com> 1.1-2.sme |
54 |
|
|
- fix Unexpected failure string in log file: auth::auth_cvm_unix_local see [SME 7089] |
55 |
|
|
|
56 |
slords |
1.2 |
* Sat May 26 2012 Brian J read <brianr@bjsystems.co.uk> 1.0-1.sme |
57 |
slords |
1.1 |
- Initial version |
58 |
|
|
|
59 |
|
|
%prep |
60 |
|
|
%setup |
61 |
unnilennium |
1.3 |
%patch0 -p1 |
62 |
unnilennium |
1.4 |
%patch1 -p1 |
63 |
stephdl |
1.5 |
%patch2 -p1 |
64 |
unnilennium |
1.8 |
%patch3 -p1 |
65 |
unnilennium |
1.9 |
%patch4 -p1 |
66 |
unnilennium |
1.10 |
%patch5 -p1 |
67 |
|
|
|
68 |
slords |
1.1 |
|
69 |
|
|
%build |
70 |
|
|
perl createlinks |
71 |
|
|
|
72 |
|
|
%install |
73 |
|
|
/bin/rm -rf $RPM_BUILD_ROOT |
74 |
|
|
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
75 |
|
|
/bin/rm -f %{name}-%{version}-filelist |
76 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
77 |
|
|
|
78 |
|
|
%clean |
79 |
|
|
/bin/rm -rf $RPM_BUILD_ROOT |
80 |
|
|
|
81 |
|
|
%files -f %{name}-%{version}-filelist |
82 |
|
|
%defattr(-,root,root) |