/[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.16 by snetram, Sat Oct 4 08:46:59 2008 UTC
# Line 1  Line 1 
1    # $Id: smeserver-mailstats.spec,v 1.15 2008/10/03 17:57:54 snetram Exp $
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 11
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
16  Patch1: smeserver-mailstats-bug3366.patch  Patch2: smeserver-mailstats-0.0.3-bjrupdate02.patch
17  Patch2: smeserver-mailstats-0.6.15.patch  Patch3: smeserver-mailstats-0.0.3-bjrupdate03.patch
18  Patch3: smeserver-mailstats-bug3366.patch2  Patch4: smeserver-mailstats-0.0.3-bjrupdate04.patch
19  Patch4: smeserver-mailstats-configdb_multiple_open.patch  Patch5: smeserver-mailstats-0.0.3-reworkDateManip.patch
20  Patch5: smeserver-mailstats-0.6.19.patch  Patch6: smeserver-mailstats-0.0.3-removeDebugCommands.patch
21  Packager: Charlie Brady  Patch7: smeserver-mailstats-0.0.3-implementDBCreation.patch
22    Patch8: smeserver-mailstats-0.0.3-removeChangelogFromScript.patch
23  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
24  BuildArchitectures: noarch  BuildArchitectures: noarch
25  Requires: smeserver-release => 7.0  Requires: smeserver-release => 7.0
26    BuildRequires: e-smith-devtools >= 1.13.1-03
27    
28  %description  %description
29  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.
30  See http://www.contribs.org/bugzilla/show_bug.cgi?id=819  See http://www.contribs.org/bugzilla/show_bug.cgi?id=819
31    
32  %changelog  %changelog
33    * Sat Oct  4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.3-11
34    - Implement MySQL database creation [SME: 4275]
35    - Remove changelog from spamfilter-stats script
36    
37    * Fri Oct  3 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.3-10
38    - Remove debug commands introduced in [SME: 3631]
39    - Fixed version number in previous changelog entry
40    
41    * Fri Oct  3 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.3-9
42    - Remove use of Date::Manip from spamfilter-stats-7.pl [SME: 3631]
43    
44    * Mon Apr 28 2008 Brian J Read <brianr@bjsystems.co.uk> 0.0.3-8
45    - Another version number update (strugglinjg with CVS here)
46    
47    * Mon Apr 28 2008 Brian J Read <brianr@bjsystems.co.uk> 0.0.3-7
48    - Update version number
49    
50    * Sun Apr 27 2008 Brian J Read <brianr@bjsystems.co.uk> 0.0.3-6
51    - Fix up to enable disable SAreport and others [SME:3734]
52    
53    * Fri Apr 11 2008 Brian J Read <brianr@bjsystems.co.uk> 0.0.3-5
54    - Fix up Db entries when none at all.[SME:4188]
55    
56    * Thu Apr 3 2008 Brian J Read <brianr@bjsystems.co.uk> 0.0.3-4
57    - Take out extra lines in mailstats.cron and remove restart crond from
58      post actions in spec file, on Shad's advice.
59    
60    * Tue Apr 1 2008 Brian J Read <brianr@bjsystems.co.uk> 0.0.3-3
61    - Add in restart of crond so that script in cron.d is noticed
62    
63    * Tue Mar 25 2008 Brian J read <brianr@bjsystems.co.uk> 0.0.3-2
64    - New version incorporating Charlie's changes and latest changes from bjr [SME:3956]
65    
66    * Fri Feb 15 2008 Shad L. Lords <slords@mail.com> 0.0.3-1
67    - Roll new version in prep for building on new buildsys
68    
69  * Thu Oct 11 2007 <charlie_brady@mitel.com> 0.0.2-07  * Thu Oct 11 2007 <charlie_brady@mitel.com> 0.0.2-07
70  - Rename parse_args => analysis_period, and simplify substantially.  - Rename parse_args => analysis_period, and simplify substantially.
71    
# Line 66  See http://www.contribs.org/bugzilla/sho Line 109  See http://www.contribs.org/bugzilla/sho
109  %prep  %prep
110    
111  %setup  %setup
 %patch0 -p1  
112  %patch1 -p1  %patch1 -p1
113  %patch2 -p1  %patch2 -p1
114  %patch3 -p1  %patch3 -p1
115  %patch4 -p1  %patch4 -p1
116  %patch5 -p1  %patch5 -p1
117    %patch6 -p1
118    %patch7 -p1
119    %patch8 -p1
120    
121  %build  %build
122    
123  %install  %install
124  /bin/rm -rf $RPM_BUILD_ROOT  /bin/rm -rf $RPM_BUILD_ROOT
125    (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)  
126  /bin/rm -f %{name}-%{version}-filelist  /bin/rm -f %{name}-%{version}-filelist
127  /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)  
128    
129  %clean  %clean
130  /bin/rm -rf $RPM_BUILD_ROOT  /bin/rm -rf $RPM_BUILD_ROOT
131    
132  %pre  %files -f %{name}-%{version}-filelist
133    %defattr(-,root,root)
 %post  
 echo ""  
 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