1 |
# $Id: smeserver-awstats.spec,v 1.10 2023/03/21 13:07:04 michel Exp $ |
# $Id: smeserver-awstats.spec,v 1.11 2023/04/19 14:10:10 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 9 |
%define release 10 |
8 |
|
|
9 |
Summary: SME Server integration rpm for awstats |
Summary: SME Server integration rpm for awstats |
10 |
Name: %{realname} |
Name: %{realname} |
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 |
Patch4: smeserver-awstats-1.4-bz12324_sm2_init_bis.patch |
29 |
|
Patch5: smeserver-awstats-1.4-Alter-menu-category-for-new-arrangement.patch |
30 |
|
|
31 |
%description |
%description |
32 |
SME Server integration rpm for awstats. |
SME Server integration rpm for awstats. |
33 |
|
|
34 |
%changelog |
%changelog |
35 |
|
* Fri Mar 01 2024 Brian Read <brianr@koozali.org> 1.4-10.sme |
36 |
|
- Edit SM2 Menu entry to conform to new arrangements [SME: 12493] |
37 |
|
|
38 |
* Fri Mar 24 2023 Michel Begue <mab974@misouk.com> 1.4-9.sme |
* Fri Mar 24 2023 Michel Begue <mab974@misouk.com> 1.4-9.sme |
39 |
- fix typo and Requires in .spec file [SME: 12324] |
- fix typo and Requires in .spec file [SME: 12324] |
40 |
- (sm2) consider Daily and Hourly Reported Period |
- (sm2) consider Daily and Hourly Reported Period |
176 |
%patch2 -p1 |
%patch2 -p1 |
177 |
%patch3 -p1 |
%patch3 -p1 |
178 |
%patch4 -p1 |
%patch4 -p1 |
179 |
|
%patch5 -p1 |
180 |
|
|
181 |
%build |
%build |
182 |
perl createlinks |
perl createlinks |
206 |
%pre |
%pre |
207 |
%post |
%post |
208 |
|
|
209 |
|
if (systemctl list-unit-files |grep smanager) then |
210 |
|
echo "Smanager restart in spec file" |
211 |
|
/sbin/e-smith/signal-event smanager-refresh; |
212 |
|
fi |
213 |
|
|
214 |
|
|
215 |
%preun |
%preun |
216 |
%postun |
%postun |