1 |
# $Id: smeserver-manager.spec,v 1.48 2021/06/21 15:09:42 michel Exp $ |
# $Id: smeserver-manager.spec,v 1.51 2021/11/29 15:55:51 brianr Exp $ |
2 |
|
|
3 |
Summary: Sme server navigation module : manager 2 |
Summary: Sme server navigation module : manager 2 |
4 |
%define name smeserver-manager |
%define name smeserver-manager |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 0.1.4 |
%define version 0.1.4 |
7 |
%define release 2 |
%define release 5 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
11 |
Group: Networking/Daemons |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.xz |
13 |
Patch0: %{name}-%{version}-list_access_csrf.patch |
Patch0: %{name}-%{version}-list_access_csrf.patch |
14 |
|
Patch1: %{name}-%{version}-review_csrf_url.patch |
15 |
|
Patch2: smeserver-manager-0.1.4-Add-dummy-classes-to-ep-files.patch |
16 |
|
Patch3: smeserver-manager-0.1.4-Add-span-to-group-member-checkbox-list.patch |
17 |
|
|
18 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
19 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
20 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
47 |
%prep |
%prep |
48 |
%setup |
%setup |
49 |
%patch0 -p1 |
%patch0 -p1 |
50 |
|
%patch1 -p1 |
51 |
|
%patch2 -p1 |
52 |
|
%patch3 -p1 |
53 |
|
|
54 |
%build |
%build |
55 |
perl createlinks |
perl createlinks |
83 |
%pre |
%pre |
84 |
|
|
85 |
%preun |
%preun |
86 |
if [ -f /usr/share/javascript/jquery/latest/jquery.min.js ] |
if [ -h %{dir_mngr}/themes/default/public/js/jquery.min.js ] |
87 |
then |
then |
88 |
unlink %{dir_mngr}/themes/default/public/js/jquery.min.js |
unlink %{dir_mngr}/themes/default/public/js/jquery.min.js |
89 |
fi |
fi |
92 |
%post |
%post |
93 |
if [ -f /usr/share/javascript/jquery/latest/jquery.min.js ] |
if [ -f /usr/share/javascript/jquery/latest/jquery.min.js ] |
94 |
then |
then |
95 |
mkdir %{dir_mngr}/themes/default/public/js |
[ -d %{dir_mngr}/themes/default/public/js ] || |
96 |
ln -s /usr/share/javascript/jquery/latest/jquery.min.js %{dir_mngr}/themes/default/public/js/jquery.min.js |
mkdir %{dir_mngr}/themes/default/public/js |
97 |
|
[ -h %{dir_mngr}/themes/default/public/js/jquery.min.js ] || |
98 |
|
ln -s /usr/share/javascript/jquery/latest/jquery.min.js %{dir_mngr}/themes/default/public/js/jquery.min.js |
99 |
fi |
fi |
100 |
true |
true |
101 |
|
|
105 |
%defattr(-,root,root) |
%defattr(-,root,root) |
106 |
|
|
107 |
%changelog |
%changelog |
108 |
|
* Mon Dec 20 2021 Brian Read <brianr@bjsystems.co.uk> 0.1.4-5.sme |
109 |
|
- Add-span-to-group-member-checkbox-list [SME: 11815] |
110 |
|
|
111 |
|
* Mon Nov 29 2021 Brian Read <brianr@bjsystems.co.uk> 0.1.4-4.sme |
112 |
|
- Add-dummy-classes-to-ep-files.patch [SME: 11780] |
113 |
|
|
114 |
|
* Mon Nov 15 2021 Michel Begue <mab974@misouk.com> 0.1.4-3.sme |
115 |
|
- Fix error message when linking, unlinking jquery in spec |
116 |
|
- Correct the 'review' panel presentation |
117 |
|
- Modify CSRFDefender plugin to take into account GET method |
118 |
|
- Add TOKEN param where the GET method is used in templates |
119 |
|
- Remove smanager from local url address |
120 |
|
|
121 |
* Mon Oct 11 2021 Michel Begue <mab974@protonmail.com> 0.1.4-2.sme |
* Mon Oct 11 2021 Michel Begue <mab974@protonmail.com> 0.1.4-2.sme |
122 |
- Fix incorrect list order (users, ibays, ...) |
- Fix incorrect list order (users, ibays, ...) |
123 |
- Add external private access (remote management) |
- Add external private access (remote management) |