/[smecontribs]/rpms/smeserver-mailstats/contribs7/smeserver-mailstats.spec
ViewVC logotype

Diff of /rpms/smeserver-mailstats/contribs7/smeserver-mailstats.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by slords, Fri Feb 15 18:10:53 2008 UTC Revision 1.4 by slords, Wed Apr 2 15:03:57 2008 UTC
# Line 1  Line 1 
1    # $Id$
2    # Authority: brianread
3    # Name: Brian Read
4    
5  Summary: Daily mail statistics for SME Server  Summary: Daily mail statistics for SME Server
6  %define name smeserver-mailstats  %define name smeserver-mailstats
7  Name: %{name}  Name: %{name}
8  %define version 0.0.2  %define version 0.0.3
9  %define release 07  %define release 3
10  Version: %{version}  Version: %{version}
11  Release: %{release}  Release: %{release}%{?dist}
12  License: GPL  License: GPL
13  Group: SME/addon  Group: SME/addon
14  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
15  Patch0: smeserver-mailstats-0.0.2_spamfilter-stats.patch  Patch1:smeserver-mailstats-0.0.3-bjrupdate01.patch
 Patch1: smeserver-mailstats-bug3366.patch  
 Patch2: smeserver-mailstats-0.6.15.patch  
 Patch3: smeserver-mailstats-bug3366.patch2  
 Patch4: smeserver-mailstats-configdb_multiple_open.patch  
 Patch5: smeserver-mailstats-0.6.19.patch  
 Packager: Charlie Brady  
16  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
17  BuildArchitectures: noarch  BuildArchitectures: noarch
18  Requires: smeserver-release => 7.0  Requires: smeserver-release => 7.0
19    BuildRequires: e-smith-devtools >= 1.13.1-03
20    
21  %description  %description
22  A script that via cron.d e-mails mail statistics to admin on a daily basis.  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  See http://www.contribs.org/bugzilla/show_bug.cgi?id=819
24    
25  %changelog  %changelog
26    * Tue Apr 1 2008 Brian J Read <brianr@bjsystems.co.uk> 0.0.3-3
27    - Add in restart of crond so that script in cron.d is noticed
28    
29    * Tue Mar 25 2008 Brian J read <brianr@bjsystems.co.uk> 0.0.3-2
30    - New version incorporating Charlie's changes and latest changes from bjr
31    
32    * Fri Feb 15 2008 Shad L. Lords <slords@mail.com> 0.0.3-1
33    - Roll new version in prep for building on new buildsys
34    
35  * Thu Oct 11 2007 <charlie_brady@mitel.com> 0.0.2-07  * Thu Oct 11 2007 <charlie_brady@mitel.com> 0.0.2-07
36  - Rename parse_args => analysis_period, and simplify substantially.  - Rename parse_args => analysis_period, and simplify substantially.
37    
# Line 66  See http://www.contribs.org/bugzilla/sho Line 75  See http://www.contribs.org/bugzilla/sho
75  %prep  %prep
76    
77  %setup  %setup
 %patch0 -p1  
78  %patch1 -p1  %patch1 -p1
 %patch2 -p1  
 %patch3 -p1  
 %patch4 -p1  
 %patch5 -p1  
   
79  %build  %build
80    
81  %install  %install
82  /bin/rm -rf $RPM_BUILD_ROOT  /bin/rm -rf $RPM_BUILD_ROOT
83    (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
 (cd root   ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)  
84  /bin/rm -f %{name}-%{version}-filelist  /bin/rm -f %{name}-%{version}-filelist
85  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
 %files -f %{name}-%{version}-filelist  
   
 %defattr(-,root,root)  
86    
87  %clean  %clean
88  /bin/rm -rf $RPM_BUILD_ROOT  /bin/rm -rf $RPM_BUILD_ROOT
89    
90  %pre  %files -f %{name}-%{version}-filelist
91    %defattr(-,root,root)
92    
93  %post  %post
94  echo ""  service crond restart
 echo "You must run the following commands to complete the install:"  
 echo ""  
 echo "/etc/e-smith/events/actions/initialize-default-databases"  
 echo "/sbin/e-smith/signal-event email-update"  
 echo "/usr/local/bin/svc -t /var/service/qpsmtpd"  
   
 %preun  
   
 %postun  


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed