1 |
# $Id: smeserver-manager.spec,v 1.6 2020/01/04 10:12:41 michel Exp $ |
# $Id: smeserver-manager.spec,v 1.12 2020/01/27 09:34:11 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 10 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
24 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
25 |
BuildRequires: gettext |
BuildRequires: gettext |
35 |
AutoReqProv: no |
AutoReqProv: no |
36 |
|
|
37 |
%changelog |
%changelog |
38 |
* Wed Jan 12 2020 Michel Begue <mab974@gmail.com> 0.1.0-5.sme |
* Wed Feb 19 2020 Michel Begue <mab974@gmail.com> 0.1.0-10.sme |
39 |
|
- add panels : domains, hostentries and pseudonyms |
40 |
|
- remove old navigation menu |
41 |
|
|
42 |
|
* Mon Jan 27 2020 Michel Begue <mab974@gmail.com> 0.1.0-9.sme |
43 |
|
- Fix messages without variables expansion |
44 |
|
- add a theme switcher |
45 |
|
- split navigation menu between controller and template |
46 |
|
- template + event for .conf file |
47 |
|
|
48 |
|
* Thu Jan 23 2020 Michel Begue <mab974@gmail.com> 0.1.0-8.sme |
49 |
|
- Fix errors in Navigation |
50 |
|
|
51 |
|
* Wed Jan 22 2020 Michel Begue <mab974@gmail.com> 0.1.0-7.sme |
52 |
|
- Fix link between Navigation and Theme |
53 |
|
- Add System and Domain names to available data (header) |
54 |
|
- Move some data lists from template to controller (select_field) |
55 |
|
- Integrate last Brian's changes in server-manager2.css (AdminLTE) |
56 |
|
- Fix some warnings and typos |
57 |
|
|
58 |
|
* Fri Jan 17 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.0-6.sme |
59 |
|
- Add in theme based on AdminLTE html template |
60 |
|
- Fixes Server name in header (Needs Template expansion - added to Console-Save |
61 |
|
|
62 |
|
* Sun Jan 12 2020 Michel Begue <mab974@gmail.com> 0.1.0-5.sme |
63 |
- new theme to come |
- new theme to come |
64 |
- css enhancement (thanks to B. Read) |
- css enhancement (thanks to B. Read) |
65 |
- panels: reboot and ibays |
- panels: reboot and ibays |
804 |
%patch2 -p1 |
%patch2 -p1 |
805 |
%patch3 -p1 |
%patch3 -p1 |
806 |
%patch4 -p1 |
%patch4 -p1 |
807 |
|
%patch5 -p1 |
808 |
|
%patch6 -p1 |
809 |
|
%patch7 -p1 |
810 |
|
%patch8 -p1 |
811 |
|
%patch9 -p1 |
812 |
|
|
813 |
%build |
%build |
814 |
# Force creation of potentially empty directories |
# Force creation of potentially empty directories |
818 |
mkdir -p root/etc/e-smith/web/common/css |
mkdir -p root/etc/e-smith/web/common/css |
819 |
mkdir -p root/etc/e-smith/web/panels/manager2/{cgi-bin,html} |
mkdir -p root/etc/e-smith/web/panels/manager2/{cgi-bin,html} |
820 |
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 |
|
|
|
821 |
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} |
822 |
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} |
823 |
|
|
909 |
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 |
910 |
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 |
911 |
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 |
912 |
|
chown root:admin /etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/AdminLTE/public/js/navigation.js |
913 |
|
chmod 0660 /etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/AdminLTE/public/js/navigation.js |
914 |
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 |
915 |
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 |
916 |
chown root:admin /etc/e-smith/web/functions2/wrapper2 |
chown root:admin /etc/e-smith/web/functions2/wrapper2 |