--- rpms/smeserver-durep/contribs10/smeserver-durep.spec 2022/05/18 23:58:44 1.9 +++ rpms/smeserver-durep/contribs10/smeserver-durep.spec 2024/03/01 15:05:04 1.15 @@ -1,4 +1,4 @@ -# $Id: smeserver-durep.spec,v 1.8 2022/01/08 18:07:44 michel Exp $ +# $Id: smeserver-durep.spec,v 1.14 2023/03/23 16:31:25 michel Exp $ # Authority: unnilennnium # Name: JP Pialasse @@ -6,7 +6,7 @@ Name: %{name} %define version 1.5.0 Version: %{version} -%define release 12 +%define release 17 Release: %{release}%{?dist} License: GPL Source: %{name}-%{version}.tar.gz @@ -20,6 +20,10 @@ Patch5: smeserver-durep-1.5.0-manager2.p Patch6: smeserver-durep-1.5.0-Add-class-to-div-for-AdminLTE.patch Patch7: smeserver-durep-1.5.0-bz11841_localisation_dir.patch Patch8: smeserver-durep-1.5.0-bz11975.patch +Patch9: smeserver-durep-1.5.0-bz12007-backup.patch +Patch10: smeserver-durep-1.5.0-bz12342_sm2_bar_image.patch +Patch11: smeserver-durep-1.5.0-bz12342_sm2_bar_bis.patch +Patch12: smeserver-durep-1.5.0-Alter-menu-category-for-new-arrangement.patch BuildRoot: /var/tmp/%{name}-%{version}-buildroot BuildRequires: e-smith-devtools @@ -34,11 +38,26 @@ Obsoletes: e-smith-durep AutoReqProv: no %changelog +* Fri Mar 01 2024 Brian Read 1.5.0-17.sme +- Edit SM2 Menu entry to conform to new arrangements [SME: 12493] + +* Thu Mar 23 2023 Michel Begue 1.5.0-16.sme +- fix typo in previous release [SME: 12342] + +* Wed Mar 22 2023 Michel Begue 1.5.0-15.sme +- allow access to bar.png image in SM2 [SME: 12342] + +* Sat Jul 30 2022 Brian Read 1.5.0-14.sme +- Re-build and link to latest devtools [SME: 11997] + +* Fri Jul 22 2022 Jean-Philippe Pialasse 1.5.0-13.sme +- add to core backup [SME: 12007] + * Wed May 18 2022 Jean-Philippe Pialasse 1.5.0-12.sme - allow access to user with userpanel [SME: 11975] * Sat Jan 08 2022 Michel Begue 1.5.0-11.sme -- fix wrong localisation directory [SME: 11841] +- Re-build and link to latest devtools wrong localisation directory [SME: 11841] * Fri Jan 07 2022 Brian Read 1.5.0-10.sme - Add-class-to-div-for-AdminLTE [SME: 11835] @@ -47,10 +66,10 @@ AutoReqProv: no - first use with smeserver-manager [SME: 11618] * Thu Mar 04 2021 Jean-Philipe Pialasse 1.5.0-8.sme -- fix permissions of cgi inside spec file too +- Re-build and link to latest devtools permissions of cgi inside spec file too * Thu Mar 04 2021 Michel Begue 1.5.0-7.sme -- fix permissions of cgi and data files +- Re-build and link to latest devtools permissions of cgi and data files * Mon Feb 22 2021 Jean-Philipe Pialasse 1.5.0-6.sme - add smeserver-durep-update event [SME: 10893] @@ -78,7 +97,7 @@ AutoReqProv: no - TODO cleaning spec file post and filelist chmod * Mon Sep 10 2012 JP Pialasse 1.3.0-5.sme -- fix do not copy files and filelist [SME 7098] +- Re-build and link to latest devtools do not copy files and filelist [SME 7098] - patch df of plugged disk * Sun Sep 09 2012 JP Pialasse 1.3.0-4.sme @@ -107,6 +126,10 @@ DUREP is a Report Generator that create %patch6 -p1 %patch7 -p1 %patch8 -p1 +%patch9 -p1 +%patch10 -p1 +%patch11 -p1 +%patch12 -p1 %build perl createlinks @@ -132,7 +155,16 @@ perl createlinks %post -p /bin/sh +if (systemctl list-unit-files |grep smanager) then + echo "Smanager restart in spec file" + /sbin/e-smith/signal-event smanager-refresh; +fi + + %preun -p /bin/sh %postun -p /bin/sh - +if [ $1 = 0 ] ; then + /bin/rm -f /usr/share/smanager/themes/default/images/bar.png +fi +true