1 |
# $Id: smeserver-mailstats.spec,v 1.25 2010/01/11 18:21:58 snetram 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 1 |
10 |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
12 |
License: GPL |
13 |
Group: SME/addon |
14 |
Source: %{name}-%{version}.tgz |
15 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
BuildArchitectures: noarch |
17 |
Requires: smeserver-release => 8.0 |
18 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
19 |
|
20 |
%description |
21 |
A script that via cron.d e-mails mail statistics to admin on a daily basis. |
22 |
See http://www.contribs.org/bugzilla/show_bug.cgi?id=819 |
23 |
|
24 |
%changelog |
25 |
* Tue Mar 25 2008 Brian J read <brianr@bjsystems.co.uk> 1.0-1.sme |
26 |
- Initial version |
27 |
|
28 |
%prep |
29 |
%setup |
30 |
|
31 |
%build |
32 |
perl createlinks |
33 |
|
34 |
%install |
35 |
/bin/rm -rf $RPM_BUILD_ROOT |
36 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
37 |
/bin/rm -f %{name}-%{version}-filelist |
38 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
39 |
|
40 |
%clean |
41 |
/bin/rm -rf $RPM_BUILD_ROOT |
42 |
|
43 |
%files -f %{name}-%{version}-filelist |
44 |
%defattr(-,root,root) |