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

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

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


Revision 1.20 - (show annotations) (download)
Mon Oct 13 20:37:02 2008 UTC (15 years, 7 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-mailstats-0_0_3-12_el4_sme
Changes since 1.19: +1 -2 lines
* Sun Oct 12 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.3-12
- Fix patches to apply cleanly [SME: 3631]
- Execute the database creation script as well [SME: 4275]

1 # $Id: smeserver-mailstats.spec,v 1.19 2008/10/13 20:28:25 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 0.0.3
9 %define release 12
10 Version: %{version}
11 Release: %{release}%{?dist}
12 License: GPL
13 Group: SME/addon
14 Source: %{name}-%{version}.tar.gz
15 Patch1: smeserver-mailstats-0.0.3-bjrupdate01.patch
16 Patch2: smeserver-mailstats-0.0.3-bjrupdate02.patch
17 Patch3: smeserver-mailstats-0.0.3-bjrupdate03.patch
18 Patch4: smeserver-mailstats-0.0.3-bjrupdate04.patch
19 Patch5: smeserver-mailstats-0.0.3-reworkDateManip.patch
20 Patch6: smeserver-mailstats-0.0.3-removeChangelogFromScript.patch
21 Patch7: smeserver-mailstats-0.0.3-implementDBCreation.patch
22 Patch8: smeserver-mailstats-0.0.3-removeMySQLInstructions.patch
23 Patch9: smeserver-mailstats-0.0.3-addCreatelinks.patch
24 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
25 BuildArchitectures: noarch
26 Requires: smeserver-release => 7.0
27 BuildRequires: e-smith-devtools >= 1.13.1-03
28
29 %description
30 A script that via cron.d e-mails mail statistics to admin on a daily basis.
31 See http://www.contribs.org/bugzilla/show_bug.cgi?id=819
32
33 %changelog
34 * Sun Oct 12 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.3-12
35 - Fix patches to apply cleanly [SME: 3631]
36 - Execute the database creation script as well [SME: 4275]
37
38 * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.3-11
39 - Implement MySQL database creation [SME: 4275]
40 - Remove changelog from spamfilter-stats script
41
42 * Fri Oct 3 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.3-10
43 - Remove debug commands introduced in [SME: 3631]
44 - Fixed version number in previous changelog entry
45
46 * Fri Oct 3 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.3-9
47 - Remove use of Date::Manip from spamfilter-stats-7.pl [SME: 3631]
48
49 * Mon Apr 28 2008 Brian J Read <brianr@bjsystems.co.uk> 0.0.3-8
50 - Another version number update (strugglinjg with CVS here)
51
52 * Mon Apr 28 2008 Brian J Read <brianr@bjsystems.co.uk> 0.0.3-7
53 - Update version number
54
55 * Sun Apr 27 2008 Brian J Read <brianr@bjsystems.co.uk> 0.0.3-6
56 - Fix up to enable disable SAreport and others [SME:3734]
57
58 * Fri Apr 11 2008 Brian J Read <brianr@bjsystems.co.uk> 0.0.3-5
59 - Fix up Db entries when none at all.[SME:4188]
60
61 * Thu Apr 3 2008 Brian J Read <brianr@bjsystems.co.uk> 0.0.3-4
62 - Take out extra lines in mailstats.cron and remove restart crond from
63 post actions in spec file, on Shad's advice.
64
65 * Tue Apr 1 2008 Brian J Read <brianr@bjsystems.co.uk> 0.0.3-3
66 - Add in restart of crond so that script in cron.d is noticed
67
68 * Tue Mar 25 2008 Brian J read <brianr@bjsystems.co.uk> 0.0.3-2
69 - New version incorporating Charlie's changes and latest changes from bjr [SME:3956]
70
71 * Fri Feb 15 2008 Shad L. Lords <slords@mail.com> 0.0.3-1
72 - Roll new version in prep for building on new buildsys
73
74 * Thu Oct 11 2007 <charlie_brady@mitel.com> 0.0.2-07
75 - Rename parse_args => analysis_period, and simplify substantially.
76
77 * Thu Oct 11 2007 <charlie_brady@mitel.com> 0.0.2-06
78 - Avoid re-opening config db all the time.
79
80 * Thu Oct 11 2007 <charlie_brady@mitel.com> 0.0.2-05
81 - Redo 1st of month bug fix. Expand all tabs to four spaces. [SME: 3366]
82
83 * Thu Oct 11 2007 <charlie_brady@mitel.com> 0.0.2-04
84 - Update spamfilter-stats-7.pl to Brian's 0.6.15 version. [SME: 3068]
85
86 * Mon Oct 1 2007 Charlie Brady <charlie_brady@mitel.com> 0.0.2-03
87 - Fix 1st of month bug, and uninitialised value warning. [SME: 3366]
88
89 * Mon Sep 10 2007 Charlie Brady <charlie_brady@mitel.com> 0.0.2-02
90 - Patch to update spamfilter-stats-7.pl to most recent verson that is
91 attached in bugzilla. http://bugs.contribs.org/show_bug.cgi?id=3068
92
93 * Mon Sep 10 2007 Charlie Brady <charlie_brady@mitel.com> 0.0.2-01
94 - Repackaging Darrell's 0.0.1-2dmay as 0.0.2. After all this time Darrell
95 is still publishing multiple RPMs with tarballs with different content
96 with the same version number - grrrr!!! Odd, since he is the quoted author
97 of rpm-patch-howto.html.
98
99 * Thu Aug 23 2007 John H. Bennett III <bennettj@johnbennettservices.com> [0.0.1-2]
100 - Patch to update spamfilter-stats-7.pl to most recent verson that is
101 attached in bugzilla. http://bugs.contribs.org/show_bug.cgi?id=3068
102
103 * Wed Apr 11 2007 Darrell May <dmay@myezserver.com>
104 - added db qpsmtpdLogLevel migrate fragment
105 - changed post commands being echoed
106 - [0.0.1-2dmay]
107 * Wed Apr 11 2007 Darrell May <dmay@myezserver.com>
108 - updated to use qpsmtpd logterse plugin
109 - [0.0.1-1dmay]
110 * Fri Oct 13 2006 Darrell May <dmay@myezserver.com>
111 - bundled into rpm
112 - [0.0.1-0dmay]
113
114 %prep
115
116 %setup
117 %patch1 -p1
118 %patch2 -p1
119 %patch3 -p1
120 %patch4 -p1
121 %patch5 -p1
122 %patch6 -p1
123 %patch7 -p1
124 %patch8 -p1
125 %patch9 -p1
126
127 %build
128 perl createlinks
129
130 %install
131 /bin/rm -rf $RPM_BUILD_ROOT
132 (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
133 /bin/rm -f %{name}-%{version}-filelist
134 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
135
136 %clean
137 /bin/rm -rf $RPM_BUILD_ROOT
138
139 %files -f %{name}-%{version}-filelist
140 %defattr(-,root,root)

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