1 |
unnilennium |
1.4 |
# $Id: smeserver-mailstats.spec,v 1.3 2012/09/09 23:59:25 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.4 |
%define release 4 |
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 |
slords |
1.1 |
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 |
unnilennium |
1.4 |
* 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 |
unnilennium |
1.3 |
* 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 |
slords |
1.2 |
* Sat May 26 2012 Brian J read <brianr@bjsystems.co.uk> 1.0-1.sme |
35 |
slords |
1.1 |
- Initial version |
36 |
|
|
|
37 |
|
|
%prep |
38 |
|
|
%setup |
39 |
unnilennium |
1.3 |
%patch0 -p1 |
40 |
unnilennium |
1.4 |
%patch1 -p1 |
41 |
slords |
1.1 |
|
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) |