1 |
# $Id: smeserver-mailstats.spec,v 1.3 2012/09/09 23:59:25 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.0 |
9 |
%define release 4 |
10 |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
12 |
License: GPL |
13 |
Group: SME/addon |
14 |
Source: %{name}-%{version}.tgz |
15 |
Patch0: smeserver-mailstats-1.0-auth_cvm_unix_local.patch |
16 |
Patch1: smeserver-mailstats-1.0-spamfilter.patch |
17 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
18 |
BuildArchitectures: noarch |
19 |
Requires: smeserver-release => 8.0 |
20 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
21 |
|
22 |
%description |
23 |
A script that via cron.d e-mails mail statistics to admin on a daily basis. |
24 |
See http://www.contribs.org/bugzilla/show_bug.cgi?id=819 |
25 |
|
26 |
%changelog |
27 |
* Mon Sep 23 2013 JP Pialasse <tests@pialasse.com> 1.1-4.sme |
28 |
- uninitialized value in sprintf [SME: 4747] |
29 |
- patch smeserver-mailstats-1.0-spamfilter.patch |
30 |
|
31 |
* Sun Sep 09 2012 JP Pialasse <tests@pialasse.com> 1.1-2.sme |
32 |
- fix Unexpected failure string in log file: auth::auth_cvm_unix_local see [SME 7089] |
33 |
|
34 |
* Sat May 26 2012 Brian J read <brianr@bjsystems.co.uk> 1.0-1.sme |
35 |
- Initial version |
36 |
|
37 |
%prep |
38 |
%setup |
39 |
%patch0 -p1 |
40 |
%patch1 -p1 |
41 |
|
42 |
%build |
43 |
perl createlinks |
44 |
|
45 |
%install |
46 |
/bin/rm -rf $RPM_BUILD_ROOT |
47 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
48 |
/bin/rm -f %{name}-%{version}-filelist |
49 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
50 |
|
51 |
%clean |
52 |
/bin/rm -rf $RPM_BUILD_ROOT |
53 |
|
54 |
%files -f %{name}-%{version}-filelist |
55 |
%defattr(-,root,root) |