1 |
# $Id: smeserver-mailstats.spec,v 1.2 2012/05/26 23:11:34 slords 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 2 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
17 |
BuildArchitectures: noarch |
18 |
Requires: smeserver-release => 8.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 Sep 09 2012 JP Pialasse <tests@pialasse.com> 1.1-2.sme |
27 |
- fix Unexpected failure string in log file: auth::auth_cvm_unix_local see [SME 7089] |
28 |
|
29 |
* Sat May 26 2012 Brian J read <brianr@bjsystems.co.uk> 1.0-1.sme |
30 |
- Initial version |
31 |
|
32 |
%prep |
33 |
%setup |
34 |
%patch0 -p1 |
35 |
|
36 |
%build |
37 |
perl createlinks |
38 |
|
39 |
%install |
40 |
/bin/rm -rf $RPM_BUILD_ROOT |
41 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
42 |
/bin/rm -f %{name}-%{version}-filelist |
43 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
44 |
|
45 |
%clean |
46 |
/bin/rm -rf $RPM_BUILD_ROOT |
47 |
|
48 |
%files -f %{name}-%{version}-filelist |
49 |
%defattr(-,root,root) |