--- rpms/smeserver-awstats/contribs10/smeserver-awstats.spec 2022/07/21 14:37:45 1.6 +++ rpms/smeserver-awstats/contribs10/smeserver-awstats.spec 2023/03/21 13:07:04 1.10 @@ -1,12 +1,12 @@ -# $Id: smeserver-awstats.spec,v 1.5 2021/02/22 20:14:44 jpp Exp $ +# $Id: smeserver-awstats.spec,v 1.9 2023/02/12 19:07:17 michel Exp $ # Authority: dungog # Name: Stephen Noble %define realname smeserver-awstats %define version 1.4 -%define release 4 +%define release 8 -Summary: SME Server intergration rpm for awstats +Summary: SME Server integration rpm for awstats Name: %{realname} Version: %{version} Release: %{release}%{?dist} @@ -14,7 +14,7 @@ License: GNU GPL (GNU General Public Lic Group: SMEserver/addon Source: %{name}-%{version}.tar.gz BuildRoot: /var/tmp/%{name}-%{version} -URL: http://www.dungog.net/sme +URL: https://wiki.koozali.org/AWStats BuildArchitectures: noarch BuildRequires: e-smith-devtools >= 1.13.1-03 Requires: e-smith-release >= 9 @@ -22,12 +22,23 @@ Requires: awstats >= 6.5 AutoReqProv: no Patch0: smeserver-awstats-1.4-bz11045.patch Patch1: smeserver-awstats-1.4-bz11998-backup.patch +Patch2: smeserver-awstats-1.4-bz5925_add_qmail_stats.patch +Patch3: smeserver-awstats-1.4-bz12324_sm2_initial.patch %description SME Server integration rpm for awstats. %changelog -* Thu Jul 21 2022 Jean-Philippe Pialasse 1.4-4.sme +* Mon Mar 20 2023 Michel Begue 1.4-8.sme +- Initial release for server-manager (sm2) [SME: 12324] + +* Sun Feb 12 2023 Michel Begue 1.4-7.sme +- add mail stats to panel (ftp stats too) [SME: 5925] + +* Sat Jul 30 2022 Brian Read 1.4-6.sme +- Re-build and link to latest devtools [SME: 11997] + +* Thu Jul 21 2022 Jean-Philippe Pialasse 1.4-5.sme - add to core backup [SME: 11998] * Mon Feb 22 2021 Jean-Philipe Pialasse 1.4-3.sme @@ -150,7 +161,9 @@ SME Server integration rpm for awstats. %prep %setup -q -n %{realname}-%{version} %patch0 -p1 -%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 %build perl createlinks @@ -162,7 +175,6 @@ mkdir -p root/etc/e-smith/web/panels/use mkdir -p root/etc/e-smith/web/panels/user/cgi-bin/ ln -fs /etc/e-smith/web/panels/manager/html/awstats root/etc/e-smith/web/panels/user/html/awstats ln -fs /etc/e-smith/web/panels/manager/cgi-bin/.awstats root/etc/e-smith/web/panels/user/cgi-bin/.awstats - echo %{version}-%{release} > root/etc/e-smith/web/panels/manager/cgi-bin/.awstats/version %install @@ -189,10 +201,10 @@ if [ $1 = 0 ] ; then /bin/rm -rf /etc/e-smith/web/panels/manager/cgi-bin/.awstats /bin/rm -rf /etc/e-smith/web/panels/user/html/awstats /bin/rm -rf /etc/e-smith/web/panels/user/cgi-bin/.awstats + /bin/rm -fs /usr/share/smanager/themes/default/images/awstats/icon /sbin/e-smith/config setprop AWStats status removed /sbin/e-smith/expand-template /etc/crontab fi %files -f %{name}-%{version}-filelist %defattr(-,root,root) -