1 |
# |
2 |
# RPM spec file for e-smith CGI interface to qmailanalog reports |
3 |
# |
4 |
Summary: e-smith module for analysing qmail logs |
5 |
%define name e-smith-qmailanalog |
6 |
Name: %{name} |
7 |
%define version 1.12.0 |
8 |
%define release 3 |
9 |
Version: %{version} |
10 |
Release: %{release}%{?dist} |
11 |
License: GPL |
12 |
Group: Networking/Daemons |
13 |
Source: %{name}-%{version}.tar.gz |
14 |
Patch0: e-smith-qmailanalog-1.12.0-tags2general.patch |
15 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
BuildArchitectures: noarch |
17 |
Requires: e-smith-base, qmailanalog >= 0.70-03, daemontools >= 0.70, tai64nunix |
18 |
Requires: e-smith-lib >= 1.13.1-08 |
19 |
Requires: e-smith-formmagick >= 1.4.0-9 |
20 |
BuildRequires: e-smith-devtools |
21 |
AutoReqProv: no |
22 |
|
23 |
%changelog |
24 |
* Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.12.0-3 |
25 |
- Remove <base> tags now in general [SME: 3921] |
26 |
|
27 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
28 |
- Clean up spec so package can be built by koji/plague |
29 |
|
30 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
31 |
- Update to new release naming. No functional changes. |
32 |
- Make Packager generic |
33 |
|
34 |
* Thu Mar 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.12.0-01 |
35 |
- Roll stable stream version. [SME: 1016] |
36 |
|
37 |
* Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.11.2-02 |
38 |
- Bump release number only |
39 |
|
40 |
* Fri Oct 14 2005 Gordon Rowell <gordonr@e-smith.com> |
41 |
- [1.11.2-01] |
42 |
- Remove L10Ns from base packages [SF: 1309520] |
43 |
|
44 |
* Fri Oct 14 2005 Gordon Rowell <gordonr@e-smith.com> |
45 |
- [1.11.1-01] |
46 |
- New dev stream before relocating L10Ns |
47 |
|
48 |
* Fri Sep 30 2005 Gordon Rowell <gordonr@e-smith.com> |
49 |
- [1.11.0-03] |
50 |
- Added Italian L10N - Thanks Filippo Carletti [SF: 1309266] |
51 |
|
52 |
* Mon Sep 26 2005 Gordon Rowell <gordonr@e-smith.com> |
53 |
- [1.11.0-02] |
54 |
- Added German L10N - Thanks Dietmar Berteld [SF: 1293325] |
55 |
|
56 |
* Mon Sep 26 2005 Gordon Rowell <gordonr@e-smith.com> |
57 |
- [1.11.0-01] |
58 |
- Changing version to development stream number - 1.11.0 |
59 |
|
60 |
* Thu Jun 26 2003 Charlie Brady <charlieb@e-smith.com> |
61 |
- [1.10.0-01] |
62 |
- Changing version to stable stream number - 1.10.0 |
63 |
|
64 |
* Tue Jun 24 2003 Gordon Rowell <gordonr@e-smith.com> |
65 |
- [1.9.0-08] |
66 |
- Spanish nav bar [gordonr 9153] |
67 |
|
68 |
* Tue May 6 2003 Lijie Deng <lijied@e-smith.com> |
69 |
- [1.9.0-07] |
70 |
- Add Spanish lexicon for qmailanalog [lijied 3793] |
71 |
|
72 |
* Fri Mar 28 2003 Lijie Deng <lijied@e-smith.com> |
73 |
- [1.9.0-06] |
74 |
- Modified French lexicon to use lang="fr", rename the lexicon |
75 |
directory to fr [lijied 6787] |
76 |
|
77 |
* Thu Mar 6 2003 Lijie Deng <lijied@e-smith.com> |
78 |
- [1.9.0-05] |
79 |
- Modified qmailanalog panel order [lijied 7356] |
80 |
|
81 |
* Tue Mar 4 2003 Lijie Deng <lijied@e-smith.com> |
82 |
- [1.9.0-04] |
83 |
- Split en-us lexicon from qmailanalog panel [lijied 4030] |
84 |
|
85 |
* Mon Mar 3 2003 Lijie Deng <lijied@e-smith.com> |
86 |
- [1.9.0-03] |
87 |
- Added French lexicon for qmailanalog. [lijied 5003] |
88 |
|
89 |
* Thu Jan 16 2003 Mark Knox <markk@e-smith.com> |
90 |
- [1.9.0-02] |
91 |
- Use the new gen_locale_date_string routine [markk 3357] |
92 |
|
93 |
* Thu Jan 16 2003 Mark Knox <markk@e-smith.com> |
94 |
- [1.9.0-01] |
95 |
- Forced version update by co2rpm to 1.9.0 |
96 |
|
97 |
* Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com> |
98 |
- [1.8.0-01] |
99 |
- Roll to maintained version number to 1.8.0 |
100 |
|
101 |
* Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com> |
102 |
- [1.8.0-01] |
103 |
- Roll to maintained version number to 1.8.0 |
104 |
|
105 |
* Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com> |
106 |
- [1.8.0-01] |
107 |
- Roll to maintained version number to 1.8.0 |
108 |
|
109 |
* Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com> |
110 |
- [1.8.0-01] |
111 |
- Roll to maintained version number to 1.8.0 |
112 |
|
113 |
* Wed Jun 5 2002 Charlie Brady <charlieb@e-smith.com> |
114 |
- [1.7.0-01] |
115 |
- Changing version to maintained stream number to 1.7.0 |
116 |
|
117 |
* Fri May 31 2002 Charlie Brady <charlieb@e-smith.com> |
118 |
- [1.6.0-01] |
119 |
- Changing version to maintained stream number to 1.6.0 |
120 |
|
121 |
* Thu May 23 2002 Gordon Rowell <gordonr@e-smith.com> |
122 |
- [1.5.5-01] |
123 |
- RPM rebuild forced by cvsroot2rpm |
124 |
|
125 |
* Wed May 22 2002 Charlie Brady <charlieb@e-smith.com> |
126 |
- [1.5.4-01] |
127 |
- Set up PATH variable so that qmailanalog can find things like tr and awk. |
128 |
[charlieb 3598] |
129 |
- Redirect STDERR from cat so that errors due to there being no @* files yet |
130 |
do not appear in the admin error log. [charlieb 3598] |
131 |
|
132 |
* Fri May 3 2002 Mark Knox <markk@e-smith.com> |
133 |
- [1.5.3-01] |
134 |
- Display the date in a localised way [markk 3321] |
135 |
|
136 |
* Mon Apr 15 2002 Gordon Rowell <gordonr@e-smith.com> |
137 |
- [1.5.2-01] |
138 |
- Language en->en-us |
139 |
|
140 |
* Thu Apr 11 2002 Mark Knox <markk@e-smith.com> |
141 |
- [1.5.1-01] |
142 |
- Moved all code into module qmailanalog.pm. [markk 3156] |
143 |
- Converted to FormMagick panel and internationalized [markk 3156] |
144 |
- added POD and testsuite [markk 3156] |
145 |
|
146 |
* Thu Apr 11 2002 Mark Knox <markk@e-smith.com> |
147 |
- [1.5.0-01] |
148 |
- new development stream from cvs sources |
149 |
|
150 |
* Thu Apr 11 2002 Mark Knox <markk@e-smith.com> |
151 |
- [1.4.1-01] |
152 |
- rollRPM: Rolled version number to 1.4.1-01. Includes patches up to 1.4.0-06. |
153 |
|
154 |
* Fri Aug 17 2001 gordonr |
155 |
- [1.4.0-06] |
156 |
- Autorebuild by rebuildRPM |
157 |
|
158 |
* Thu Aug 02 2001 Gordon Rowell <gordonr@e-smith.com> |
159 |
- [1.4.0-05] |
160 |
- Minor grammatical changes |
161 |
|
162 |
* Tue May 1 2001 Peter Samuel <peters@e-smith.com> |
163 |
- [1.4.0-04] |
164 |
- Now handles multilog files instead of older cyclog files |
165 |
- Adds qmail-qstat and qmail-qread to reports |
166 |
|
167 |
* Thu Feb 8 2001 Adrian Chung <adrianc@e-smith.com> |
168 |
- [1.4.0-03] |
169 |
- Rolling release number for GPG signing. |
170 |
|
171 |
* Mon Jan 29 2001 Peter Samuel <peters@e-smith.com> |
172 |
- [1.4.0-02] |
173 |
- Report output now cooks special HTML characters. |
174 |
|
175 |
* Thu Jan 25 2001 Peter Samuel <peters@e-smith.com> |
176 |
- [1.4.0-01] |
177 |
- Rolled version number to 1.4.0-01. Includes patches upto 1.3.0-03. |
178 |
|
179 |
* Mon Jan 15 2001 Jason Miller <jmiller@e-smith.com> |
180 |
- [1.3.0-03] |
181 |
- Changes to the ordering of the e-smith manager |
182 |
|
183 |
* Fri Jan 05 2001 Jason Miller <jmiller@e-smith.com> |
184 |
- [1.3.0-2] |
185 |
- Updated copyright information and removed warning |
186 |
messages sent to logs for lack of prototypes in |
187 |
qmail-analog panel |
188 |
|
189 |
* Wed Dec 06 2000 Peter Samuel <peters@e-smith.com> |
190 |
- [1.3.0-1] |
191 |
- Rolled version to 1.3.0-1. Includes patches up to 1.1-3 |
192 |
|
193 |
* Tue Nov 07 2000 Adrian Chung <adrianc@e-smith.com> |
194 |
- Changed panel to be in "Miscellaneous" section. |
195 |
|
196 |
* Tue Oct 31 2000 Charlie Brady <charlieb@e-smith.com> |
197 |
- Remove references to obsolete services database. |
198 |
|
199 |
* Thu Oct 26 2000 Peter Samuel <peters@e-smith.com> |
200 |
- Rolled version to 1.1. Includes patches up to 1.0-4 |
201 |
|
202 |
* Tue Oct 24 2000 Adrian Chung <adrian.chung@e-smith.com> |
203 |
- Instead of using a table rows, just wrap output in PRE's. |
204 |
|
205 |
* Thu Oct 20 2000 Adrian Chung <adrian.chung@e-smith.com> |
206 |
- HTMLized the output of qmailanalog reports. |
207 |
- Changed spec file to use genfilelist. |
208 |
|
209 |
* Thu Oct 19 2000 Adrian Chung <adrian.chung@e-smith.com> |
210 |
- Updated scripts in web/functions directory to pass |
211 |
merged configuration and services db hash. |
212 |
|
213 |
* Wed Aug 16 2000 Peter Samuel <peters@e-smith.com> |
214 |
- initial release |
215 |
|
216 |
%description |
217 |
e-smith cgi interface to qmailanalog. |
218 |
|
219 |
qmailanalog provides a number of programs to help analyse qmail logs. |
220 |
This program uses the e-smith manager to allow the administrator to |
221 |
choose a report. |
222 |
|
223 |
%prep |
224 |
%setup |
225 |
%patch0 -p1 |
226 |
|
227 |
%build |
228 |
mkdir -p root/etc/e-smith/web/panels/manager/cgi-bin |
229 |
perl createlinks |
230 |
/sbin/e-smith/buildtests 30e-smith-qmailanalog |
231 |
|
232 |
%install |
233 |
rm -rf $RPM_BUILD_ROOT |
234 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
235 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
236 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
237 |
|
238 |
%clean |
239 |
rm -rf $RPM_BUILD_ROOT |
240 |
|
241 |
%pre |
242 |
%preun |
243 |
%post |
244 |
%postun |
245 |
|
246 |
%files -f %{name}-%{version}-filelist |
247 |
%defattr(-,root,root) |