1 |
# $Id: smeserver-manager.spec,v 1.7 2020/01/12 20:07:49 michel Exp $ |
# $Id: smeserver-manager.spec,v 1.13 2020/02/19 20:05:06 michel Exp $ |
2 |
|
|
3 |
Summary: smeserver manager 2 navigation module |
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 5 |
%define release 11 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
15 |
Patch2: smeserver-manager-0.1.0-mojo_struct.patch |
Patch2: smeserver-manager-0.1.0-mojo_struct.patch |
16 |
Patch3: smeserver-manager-0.1.0-setuid_groups.patch |
Patch3: smeserver-manager-0.1.0-setuid_groups.patch |
17 |
Patch4: smeserver-manager-0.1.0-reboot_ibays_theme.patch |
Patch4: smeserver-manager-0.1.0-reboot_ibays_theme.patch |
18 |
|
Patch5: smeserver-manager-0.1.0-add-adminlte.patch |
19 |
|
Patch6: smeserver-manager-0.1.0-navigation_header_listes.patch |
20 |
|
Patch7: smeserver-manager-0.1.0-navigation_errors.patch |
21 |
|
Patch8: smeserver-manager-0.1.0-theme_navig_message.patch |
22 |
|
Patch9: smeserver-manager-0.1.0-domains_pseudos_hosts.patch |
23 |
|
Patch10: smeserver-manager-0.1.0-remotax_users_logs.patch |
24 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
25 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
26 |
BuildRequires: gettext |
BuildRequires: gettext |
36 |
AutoReqProv: no |
AutoReqProv: no |
37 |
|
|
38 |
%changelog |
%changelog |
39 |
|
* Sat Feb 29 2020 Michel Begue <mab974@gmail.com> 0.1.0-11.sme |
40 |
|
- Add panels : remoteaccess, useraccounts and viewlogfiles |
41 |
|
- Fix 'bugreport' download |
42 |
|
- css enhancement in default theme |
43 |
|
- Fix warnings and typos |
44 |
|
|
45 |
|
* Wed Feb 19 2020 Michel Begue <mab974@gmail.com> 0.1.0-10.sme |
46 |
|
- add panels : domains, hostentries and pseudonyms |
47 |
|
- remove old navigation menu |
48 |
|
|
49 |
|
* Mon Jan 27 2020 Michel Begue <mab974@gmail.com> 0.1.0-9.sme |
50 |
|
- Fix messages without variables expansion |
51 |
|
- add a theme switcher |
52 |
|
- split navigation menu between controller and template |
53 |
|
- template + event for .conf file |
54 |
|
|
55 |
|
* Thu Jan 23 2020 Michel Begue <mab974@gmail.com> 0.1.0-8.sme |
56 |
|
- Fix errors in Navigation |
57 |
|
|
58 |
|
* Wed Jan 22 2020 Michel Begue <mab974@gmail.com> 0.1.0-7.sme |
59 |
|
- Fix link between Navigation and Theme |
60 |
|
- Add System and Domain names to available data (header) |
61 |
|
- Move some data lists from template to controller (select_field) |
62 |
|
- Integrate last Brian's changes in server-manager2.css (AdminLTE) |
63 |
|
- Fix some warnings and typos |
64 |
|
|
65 |
|
* Fri Jan 17 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.0-6.sme |
66 |
|
- Add in theme based on AdminLTE html template |
67 |
|
- Fixes Server name in header (Needs Template expansion - added to Console-Save |
68 |
|
|
69 |
* Sun Jan 12 2020 Michel Begue <mab974@gmail.com> 0.1.0-5.sme |
* Sun Jan 12 2020 Michel Begue <mab974@gmail.com> 0.1.0-5.sme |
70 |
- new theme to come |
- new theme to come |
71 |
- css enhancement (thanks to B. Read) |
- css enhancement (thanks to B. Read) |
811 |
%patch2 -p1 |
%patch2 -p1 |
812 |
%patch3 -p1 |
%patch3 -p1 |
813 |
%patch4 -p1 |
%patch4 -p1 |
814 |
|
%patch5 -p1 |
815 |
|
%patch6 -p1 |
816 |
|
%patch7 -p1 |
817 |
|
%patch8 -p1 |
818 |
|
%patch9 -p1 |
819 |
|
%patch10 -p1 |
820 |
|
|
821 |
%build |
%build |
822 |
# Force creation of potentially empty directories |
# Force creation of potentially empty directories |
826 |
mkdir -p root/etc/e-smith/web/common/css |
mkdir -p root/etc/e-smith/web/common/css |
827 |
mkdir -p root/etc/e-smith/web/panels/manager2/{cgi-bin,html} |
mkdir -p root/etc/e-smith/web/panels/manager2/{cgi-bin,html} |
828 |
mkdir -p root/etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/default/public/images |
mkdir -p root/etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/default/public/images |
|
|
|
829 |
mkdir -p root/etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/AdminLTE/public{css,images,js,tmp} |
mkdir -p root/etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/AdminLTE/public{css,images,js,tmp} |
830 |
mkdir -p root/etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/AdminLTE/templates/{layouts,partials} |
mkdir -p root/etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/AdminLTE/templates/{layouts,partials} |
831 |
|
|
917 |
chmod 0660 /etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/log/development.log |
chmod 0660 /etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/log/development.log |
918 |
chown root:admin /etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/default/public/js/navigation.js |
chown root:admin /etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/default/public/js/navigation.js |
919 |
chmod 0660 /etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/default/public/js/navigation.js |
chmod 0660 /etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/default/public/js/navigation.js |
920 |
|
chown root:admin /etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/AdminLTE/public/js/navigation.js |
921 |
|
chmod 0660 /etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/AdminLTE/public/js/navigation.js |
922 |
chown root:admin /etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/default/templates/partials/_navig.html.ep |
chown root:admin /etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/default/templates/partials/_navig.html.ep |
923 |
chmod 0660 /etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/default/templates/partials/_navig.html.ep |
chmod 0660 /etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/default/templates/partials/_navig.html.ep |
924 |
chown root:admin /etc/e-smith/web/functions2/wrapper2 |
chown root:admin /etc/e-smith/web/functions2/wrapper2 |