1 |
# $Id: smeserver-manager.spec,v 1.27 2020/06/11 06:15:35 michel Exp $ |
# $Id: smeserver-manager.spec,v 1.30 2020/07/06 15:19:43 michel 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.0 |
%define version 0.1.0 |
7 |
%define release 25 |
%define release 28 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
33 |
Patch20: %{name}-0.1.0-mojo-app_password_menus.patch |
Patch20: %{name}-0.1.0-mojo-app_password_menus.patch |
34 |
Patch21: %{name}-0.1.0-missing_translations.patch |
Patch21: %{name}-0.1.0-missing_translations.patch |
35 |
Patch22: %{name}-0.1.0-bz9457_bz8903_pseudo_acct_swtheme.patch |
Patch22: %{name}-0.1.0-bz9457_bz8903_pseudo_acct_swtheme.patch |
36 |
|
Patch23: %{name}-0.1.0-start_service.patch |
37 |
|
Patch24: %{name}-0.1.0-datetime_quota.patch |
38 |
|
Patch25: %{name}-0.1.0-bz10976_bz10977_others.patch |
39 |
|
|
40 |
|
|
41 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
42 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
47 |
Requires: e-smith-manager >= 2.4.0-22 |
Requires: e-smith-manager >= 2.4.0-22 |
48 |
Requires: perl-Mojolicious >= 6.44 |
Requires: perl-Mojolicious >= 6.44 |
49 |
Requires: perl-Mojolicious-Plugin-I18N >= 1.6 |
Requires: perl-Mojolicious-Plugin-I18N >= 1.6 |
50 |
|
Requires: perl-Net-Netmask >= 1.9015 |
51 |
#Requires: js-jquery > 2.2.4-3 (optional) |
#Requires: js-jquery > 2.2.4-3 (optional) |
52 |
Requires: pwauth |
Requires: pwauth |
53 |
#Requires: perl(Apache::AuthTkt) |
#Requires: perl(Apache::AuthTkt) |
85 |
%patch20 -p1 |
%patch20 -p1 |
86 |
%patch21 -p1 |
%patch21 -p1 |
87 |
%patch22 -p1 |
%patch22 -p1 |
88 |
|
%patch23 -p1 |
89 |
|
%patch24 -p1 |
90 |
|
%patch25 -p1 |
91 |
|
|
92 |
%build |
%build |
93 |
perl createlinks |
perl createlinks |
151 |
mkdir %{dir_mngr}/themes/default/public/js |
mkdir %{dir_mngr}/themes/default/public/js |
152 |
ln -s /usr/share/javascript/jquery/latest/jquery.min.js %{dir_mngr}/themes/default/public/js/jquery.min.js |
ln -s /usr/share/javascript/jquery/latest/jquery.min.js %{dir_mngr}/themes/default/public/js/jquery.min.js |
153 |
fi |
fi |
154 |
|
/sbin/e-smith/expand-template /usr/share/smanager/conf/srvmngr.conf |
155 |
/sbin/e-smith/expand-template /etc/systemd/system/smanager.service |
/sbin/e-smith/expand-template /etc/systemd/system/smanager.service |
156 |
systemctl enable smanager.service |
systemctl enable smanager.service |
157 |
|
systemctl restart smanager.service |
158 |
true |
true |
159 |
|
|
160 |
%postun |
%postun |
162 |
%defattr(-,root,root) |
%defattr(-,root,root) |
163 |
|
|
164 |
%changelog |
%changelog |
165 |
|
* Fri Aug 07 2020 Michel Begue <mab974@gmail.com> 0.1.0-28.sme |
166 |
|
- validate netmask in LocalNetworks [SME: 10976] |
167 |
|
- validate netmask in RemoteAccess [SME: 10977] |
168 |
|
- prettier action button |
169 |
|
- accept undescore in lexicon name |
170 |
|
- change route urls for LocalNetworks and Portforwarding |
171 |
|
- add rendering to LocalNetworks notification |
172 |
|
|
173 |
|
* Mon Jul 06 2020 Michel Begue <mab974@gmail.com> 0.1.0-27.sme |
174 |
|
- Fix typo in %post here |
175 |
|
- Complete 'datetime' panel |
176 |
|
- Fix notification in 'quota' panel |
177 |
|
|
178 |
|
* Wed Jul 01 2020 Michel Begue <mab974@gmail.com> 0.1.0-26.sme |
179 |
|
- Fix first start error |
180 |
|
- Fix incorrect messages and various typos in modules |
181 |
|
- Add possibility to hide menu(s) (requires jquery) |
182 |
|
|
183 |
* Sat Jun 13 2020 Michel Begue <mab974@gmail.com> 0.1.0-25.sme |
* Sat Jun 13 2020 Michel Begue <mab974@gmail.com> 0.1.0-25.sme |
184 |
- Remove 'Starterwebsite' panel [SME: 8903] |
- Remove 'Starterwebsite' panel [SME: 8903] |
185 |
- Add choice for creating Pseudonyms [SME: 9457] |
- Add choice for creating Pseudonyms [SME: 9457] |