1 |
# $Id: smeserver-durep.spec,v 1.7 2022/01/07 12:48:50 brianr Exp $ |
# $Id: smeserver-durep.spec,v 1.14 2023/03/23 16:31:25 michel Exp $ |
2 |
# Authority: unnilennnium |
# Authority: unnilennnium |
3 |
# Name: JP Pialasse |
# Name: JP Pialasse |
4 |
|
|
6 |
Name: %{name} |
Name: %{name} |
7 |
%define version 1.5.0 |
%define version 1.5.0 |
8 |
Version: %{version} |
Version: %{version} |
9 |
%define release 11 |
%define release 17 |
10 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
11 |
License: GPL |
License: GPL |
12 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
19 |
Patch5: smeserver-durep-1.5.0-manager2.patch |
Patch5: smeserver-durep-1.5.0-manager2.patch |
20 |
Patch6: smeserver-durep-1.5.0-Add-class-to-div-for-AdminLTE.patch |
Patch6: smeserver-durep-1.5.0-Add-class-to-div-for-AdminLTE.patch |
21 |
Patch7: smeserver-durep-1.5.0-bz11841_localisation_dir.patch |
Patch7: smeserver-durep-1.5.0-bz11841_localisation_dir.patch |
22 |
|
Patch8: smeserver-durep-1.5.0-bz11975.patch |
23 |
|
Patch9: smeserver-durep-1.5.0-bz12007-backup.patch |
24 |
|
Patch10: smeserver-durep-1.5.0-bz12342_sm2_bar_image.patch |
25 |
|
Patch11: smeserver-durep-1.5.0-bz12342_sm2_bar_bis.patch |
26 |
|
Patch12: smeserver-durep-1.5.0-Alter-menu-category-for-new-arrangement.patch |
27 |
|
|
28 |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
29 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
38 |
AutoReqProv: no |
AutoReqProv: no |
39 |
|
|
40 |
%changelog |
%changelog |
41 |
|
* Fri Mar 01 2024 Brian Read <brianr@koozali.org> 1.5.0-17.sme |
42 |
|
- Edit SM2 Menu entry to conform to new arrangements [SME: 12493] |
43 |
|
|
44 |
|
* Thu Mar 23 2023 Michel Begue <mab974@misouk.com> 1.5.0-16.sme |
45 |
|
- fix typo in previous release [SME: 12342] |
46 |
|
|
47 |
|
* Wed Mar 22 2023 Michel Begue <mab974@misouk.com> 1.5.0-15.sme |
48 |
|
- allow access to bar.png image in SM2 [SME: 12342] |
49 |
|
|
50 |
|
* Sat Jul 30 2022 Brian Read <brianr@bjsystems.co.uk> 1.5.0-14.sme |
51 |
|
- Re-build and link to latest devtools [SME: 11997] |
52 |
|
|
53 |
|
* Fri Jul 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.5.0-13.sme |
54 |
|
- add to core backup [SME: 12007] |
55 |
|
|
56 |
|
* Wed May 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.5.0-12.sme |
57 |
|
- allow access to user with userpanel [SME: 11975] |
58 |
|
|
59 |
* Sat Jan 08 2022 Michel Begue <mab974@misouk.com> 1.5.0-11.sme |
* Sat Jan 08 2022 Michel Begue <mab974@misouk.com> 1.5.0-11.sme |
60 |
- fix wrong localisation directory [SME: 11841] |
- Re-build and link to latest devtools wrong localisation directory [SME: 11841] |
61 |
|
|
62 |
* Fri Jan 07 2022 Brian Read <brianr@bjsystems.co.uk> 1.5.0-10.sme |
* Fri Jan 07 2022 Brian Read <brianr@bjsystems.co.uk> 1.5.0-10.sme |
63 |
- Add-class-to-div-for-AdminLTE [SME: 11835] |
- Add-class-to-div-for-AdminLTE [SME: 11835] |
66 |
- first use with smeserver-manager [SME: 11618] |
- first use with smeserver-manager [SME: 11618] |
67 |
|
|
68 |
* Thu Mar 04 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.5.0-8.sme |
* Thu Mar 04 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.5.0-8.sme |
69 |
- fix permissions of cgi inside spec file too |
- Re-build and link to latest devtools permissions of cgi inside spec file too |
70 |
|
|
71 |
* Thu Mar 04 2021 Michel Begue <mab974@gmail.com> 1.5.0-7.sme |
* Thu Mar 04 2021 Michel Begue <mab974@gmail.com> 1.5.0-7.sme |
72 |
- fix permissions of cgi and data files |
- Re-build and link to latest devtools permissions of cgi and data files |
73 |
|
|
74 |
* Mon Feb 22 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.5.0-6.sme |
* Mon Feb 22 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.5.0-6.sme |
75 |
- add smeserver-durep-update event [SME: 10893] |
- add smeserver-durep-update event [SME: 10893] |
97 |
- TODO cleaning spec file post and filelist chmod |
- TODO cleaning spec file post and filelist chmod |
98 |
|
|
99 |
* Mon Sep 10 2012 JP Pialasse <test@pialasse.com> 1.3.0-5.sme |
* Mon Sep 10 2012 JP Pialasse <test@pialasse.com> 1.3.0-5.sme |
100 |
- fix do not copy files and filelist [SME 7098] |
- Re-build and link to latest devtools do not copy files and filelist [SME 7098] |
101 |
- patch df of plugged disk |
- patch df of plugged disk |
102 |
|
|
103 |
* Sun Sep 09 2012 JP Pialasse <test@pialasse.com> 1.3.0-4.sme |
* Sun Sep 09 2012 JP Pialasse <test@pialasse.com> 1.3.0-4.sme |
125 |
%patch5 -p1 |
%patch5 -p1 |
126 |
%patch6 -p1 |
%patch6 -p1 |
127 |
%patch7 -p1 |
%patch7 -p1 |
128 |
|
%patch8 -p1 |
129 |
|
%patch9 -p1 |
130 |
|
%patch10 -p1 |
131 |
|
%patch11 -p1 |
132 |
|
%patch12 -p1 |
133 |
|
|
134 |
%build |
%build |
135 |
perl createlinks |
perl createlinks |
155 |
|
|
156 |
%post -p /bin/sh |
%post -p /bin/sh |
157 |
|
|
158 |
|
if (systemctl list-unit-files |grep smanager) then |
159 |
|
echo "Smanager restart in spec file" |
160 |
|
/sbin/e-smith/signal-event smanager-refresh; |
161 |
|
fi |
162 |
|
|
163 |
|
|
164 |
%preun -p /bin/sh |
%preun -p /bin/sh |
165 |
|
|
166 |
%postun -p /bin/sh |
%postun -p /bin/sh |
167 |
|
if [ $1 = 0 ] ; then |
168 |
|
/bin/rm -f /usr/share/smanager/themes/default/images/bar.png |
169 |
|
fi |
170 |
|
true |