/[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.1 - (show annotations) (download)
Fri Feb 15 18:10:53 2008 UTC (16 years, 3 months ago) by slords
Branch: MAIN
Import on branch contribs7 of package smeserver-mailstats-0.0.2-07.src.rpm

1 Summary: Daily mail statistics for SME Server
2 %define name smeserver-mailstats
3 Name: %{name}
4 %define version 0.0.2
5 %define release 07
6 Version: %{version}
7 Release: %{release}
8 License: GPL
9 Group: SME/addon
10 Source: %{name}-%{version}.tar.gz
11 Patch0: smeserver-mailstats-0.0.2_spamfilter-stats.patch
12 Patch1: smeserver-mailstats-bug3366.patch
13 Patch2: smeserver-mailstats-0.6.15.patch
14 Patch3: smeserver-mailstats-bug3366.patch2
15 Patch4: smeserver-mailstats-configdb_multiple_open.patch
16 Patch5: smeserver-mailstats-0.6.19.patch
17 Packager: Charlie Brady
18 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
19 BuildArchitectures: noarch
20 Requires: smeserver-release => 7.0
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 * Thu Oct 11 2007 <charlie_brady@mitel.com> 0.0.2-07
27 - Rename parse_args => analysis_period, and simplify substantially.
28
29 * Thu Oct 11 2007 <charlie_brady@mitel.com> 0.0.2-06
30 - Avoid re-opening config db all the time.
31
32 * Thu Oct 11 2007 <charlie_brady@mitel.com> 0.0.2-05
33 - Redo 1st of month bug fix. Expand all tabs to four spaces. [SME: 3366]
34
35 * Thu Oct 11 2007 <charlie_brady@mitel.com> 0.0.2-04
36 - Update spamfilter-stats-7.pl to Brian's 0.6.15 version. [SME: 3068]
37
38 * Mon Oct 1 2007 Charlie Brady <charlie_brady@mitel.com> 0.0.2-03
39 - Fix 1st of month bug, and uninitialised value warning. [SME: 3366]
40
41 * Mon Sep 10 2007 Charlie Brady <charlie_brady@mitel.com> 0.0.2-02
42 - Patch to update spamfilter-stats-7.pl to most recent verson that is
43 attached in bugzilla. http://bugs.contribs.org/show_bug.cgi?id=3068
44
45 * Mon Sep 10 2007 Charlie Brady <charlie_brady@mitel.com> 0.0.2-01
46 - Repackaging Darrell's 0.0.1-2dmay as 0.0.2. After all this time Darrell
47 is still publishing multiple RPMs with tarballs with different content
48 with the same version number - grrrr!!! Odd, since he is the quoted author
49 of rpm-patch-howto.html.
50
51 * Thu Aug 23 2007 John H. Bennett III <bennettj@johnbennettservices.com> [0.0.1-2]
52 - Patch to update spamfilter-stats-7.pl to most recent verson that is
53 attached in bugzilla. http://bugs.contribs.org/show_bug.cgi?id=3068
54
55 * Wed Apr 11 2007 Darrell May <dmay@myezserver.com>
56 - added db qpsmtpdLogLevel migrate fragment
57 - changed post commands being echoed
58 - [0.0.1-2dmay]
59 * Wed Apr 11 2007 Darrell May <dmay@myezserver.com>
60 - updated to use qpsmtpd logterse plugin
61 - [0.0.1-1dmay]
62 * Fri Oct 13 2006 Darrell May <dmay@myezserver.com>
63 - bundled into rpm
64 - [0.0.1-0dmay]
65
66 %prep
67
68 %setup
69 %patch0 -p1
70 %patch1 -p1
71 %patch2 -p1
72 %patch3 -p1
73 %patch4 -p1
74 %patch5 -p1
75
76 %build
77
78 %install
79 /bin/rm -rf $RPM_BUILD_ROOT
80
81 (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
82 /bin/rm -f %{name}-%{version}-filelist
83 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
84 %files -f %{name}-%{version}-filelist
85
86 %defattr(-,root,root)
87
88 %clean
89 /bin/rm -rf $RPM_BUILD_ROOT
90
91 %pre
92
93 %post
94 echo ""
95 echo "You must run the following commands to complete the install:"
96 echo ""
97 echo "/etc/e-smith/events/actions/initialize-default-databases"
98 echo "/sbin/e-smith/signal-event email-update"
99 echo "/usr/local/bin/svc -t /var/service/qpsmtpd"
100
101 %preun
102
103 %postun

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