1 |
# $Id: smeserver-awstats.spec,v 1.9 2023/02/12 19:07:17 michel Exp $ |
# $Id: smeserver-awstats.spec,v 1.10 2023/03/21 13:07:04 michel Exp $ |
2 |
# Authority: dungog |
# Authority: dungog |
3 |
# Name: Stephen Noble |
# Name: Stephen Noble |
4 |
|
|
5 |
%define realname smeserver-awstats |
%define realname smeserver-awstats |
6 |
%define version 1.4 |
%define version 1.4 |
7 |
%define release 8 |
%define release 9 |
8 |
|
|
9 |
Summary: SME Server integration rpm for awstats |
Summary: SME Server integration rpm for awstats |
10 |
Name: %{realname} |
Name: %{realname} |
17 |
URL: https://wiki.koozali.org/AWStats |
URL: https://wiki.koozali.org/AWStats |
18 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
19 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
20 |
Requires: e-smith-release >= 9 |
Requires: e-smith-release >= 10 |
21 |
Requires: awstats >= 6.5 |
Requires: awstats >= 6.5 |
22 |
|
Requires: perl(POSIX) |
23 |
AutoReqProv: no |
AutoReqProv: no |
24 |
Patch0: smeserver-awstats-1.4-bz11045.patch |
Patch0: smeserver-awstats-1.4-bz11045.patch |
25 |
Patch1: smeserver-awstats-1.4-bz11998-backup.patch |
Patch1: smeserver-awstats-1.4-bz11998-backup.patch |
26 |
Patch2: smeserver-awstats-1.4-bz5925_add_qmail_stats.patch |
Patch2: smeserver-awstats-1.4-bz5925_add_qmail_stats.patch |
27 |
Patch3: smeserver-awstats-1.4-bz12324_sm2_initial.patch |
Patch3: smeserver-awstats-1.4-bz12324_sm2_initial.patch |
28 |
|
Patch4: smeserver-awstats-1.4-bz12324_sm2_init_bis.patch |
29 |
|
|
30 |
%description |
%description |
31 |
SME Server integration rpm for awstats. |
SME Server integration rpm for awstats. |
32 |
|
|
33 |
%changelog |
%changelog |
34 |
|
* Fri Mar 24 2023 Michel Begue <mab974@misouk.com> 1.4-9.sme |
35 |
|
- fix typo and Requires in .spec file [SME: 12324] |
36 |
|
- (sm2) consider Daily and Hourly Reported Period |
37 |
|
- (sm2) remove unnecessary file in templates directory |
38 |
|
|
39 |
* Mon Mar 20 2023 Michel Begue <mab974@misouk.com> 1.4-8.sme |
* Mon Mar 20 2023 Michel Begue <mab974@misouk.com> 1.4-8.sme |
40 |
- Initial release for server-manager (sm2) [SME: 12324] |
- Initial release for server-manager (sm2) [SME: 12324] |
41 |
|
|
171 |
%patch1 -p1 |
%patch1 -p1 |
172 |
%patch2 -p1 |
%patch2 -p1 |
173 |
%patch3 -p1 |
%patch3 -p1 |
174 |
|
%patch4 -p1 |
175 |
|
|
176 |
%build |
%build |
177 |
perl createlinks |
perl createlinks |
209 |
/bin/rm -rf /etc/e-smith/web/panels/manager/cgi-bin/.awstats |
/bin/rm -rf /etc/e-smith/web/panels/manager/cgi-bin/.awstats |
210 |
/bin/rm -rf /etc/e-smith/web/panels/user/html/awstats |
/bin/rm -rf /etc/e-smith/web/panels/user/html/awstats |
211 |
/bin/rm -rf /etc/e-smith/web/panels/user/cgi-bin/.awstats |
/bin/rm -rf /etc/e-smith/web/panels/user/cgi-bin/.awstats |
212 |
/bin/rm -fs /usr/share/smanager/themes/default/images/awstats/icon |
/bin/rm -f /usr/share/smanager/themes/default/images/awstats/icon |
213 |
/sbin/e-smith/config setprop AWStats status removed |
/sbin/e-smith/config setprop AWStats status removed |
214 |
/sbin/e-smith/expand-template /etc/crontab |
/sbin/e-smith/expand-template /etc/crontab |
215 |
fi |
fi |
216 |
|
true |
217 |
|
|
218 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
219 |
%defattr(-,root,root) |
%defattr(-,root,root) |