1 |
# $Id: smeserver-manager.spec,v 1.8 2020/01/12 20:09:06 michel Exp $ |
# $Id: smeserver-manager.spec,v 1.15 2020/03/20 15:48:27 brianr 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 6 |
%define release 13 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
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 |
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 |
|
Patch11: smeserver-manager-0.1.0-localnetworks-panel-remove-adminlte.patch |
25 |
|
Patch12: smeserver-manager-0.1.0-localnetworks-remove-db-call-from-del.patch |
26 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
27 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
28 |
BuildRequires: gettext |
BuildRequires: gettext |
38 |
AutoReqProv: no |
AutoReqProv: no |
39 |
|
|
40 |
%changelog |
%changelog |
41 |
|
* Sun Mar 29 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.0-13.sme |
42 |
|
- Remove Db call in LN_del template |
43 |
|
- Use Sme-error css class and make sure parameters applied to error message |
44 |
|
- Remove creation of AdminLTE directories on install |
45 |
|
|
46 |
|
* Fri Mar 20 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.0-12.sme |
47 |
|
- Add panels : localnetworks |
48 |
|
- Delete AdminLTE code - will get added into new rpm |
49 |
|
|
50 |
|
* Sat Feb 29 2020 Michel Begue <mab974@gmail.com> 0.1.0-11.sme |
51 |
|
- Add panels : remoteaccess, useraccounts and viewlogfiles |
52 |
|
- Fix 'bugreport' download |
53 |
|
- css enhancement in default theme |
54 |
|
- Fix warnings and typos |
55 |
|
|
56 |
|
* Wed Feb 19 2020 Michel Begue <mab974@gmail.com> 0.1.0-10.sme |
57 |
|
- add panels : domains, hostentries and pseudonyms |
58 |
|
- remove old navigation menu |
59 |
|
|
60 |
|
* Mon Jan 27 2020 Michel Begue <mab974@gmail.com> 0.1.0-9.sme |
61 |
|
- Fix messages without variables expansion |
62 |
|
- add a theme switcher |
63 |
|
- split navigation menu between controller and template |
64 |
|
- template + event for .conf file |
65 |
|
|
66 |
|
* Thu Jan 23 2020 Michel Begue <mab974@gmail.com> 0.1.0-8.sme |
67 |
|
- Fix errors in Navigation |
68 |
|
|
69 |
|
* Wed Jan 22 2020 Michel Begue <mab974@gmail.com> 0.1.0-7.sme |
70 |
|
- Fix link between Navigation and Theme |
71 |
|
- Add System and Domain names to available data (header) |
72 |
|
- Move some data lists from template to controller (select_field) |
73 |
|
- Integrate last Brian's changes in server-manager2.css (AdminLTE) |
74 |
|
- Fix some warnings and typos |
75 |
|
|
76 |
* Fri Jan 17 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.0-6.sme |
* Fri Jan 17 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.0-6.sme |
77 |
- Add in theme based on AdminLTE html template |
- Add in theme based on AdminLTE html template |
78 |
- Fixes Server name in header (Needs Template expansion - added to Console-Save |
- Fixes Server name in header (Needs Template expansion - added to Console-Save |
823 |
%patch3 -p1 |
%patch3 -p1 |
824 |
%patch4 -p1 |
%patch4 -p1 |
825 |
%patch5 -p1 |
%patch5 -p1 |
826 |
|
%patch6 -p1 |
827 |
|
%patch7 -p1 |
828 |
|
%patch8 -p1 |
829 |
|
%patch9 -p1 |
830 |
|
%patch10 -p1 |
831 |
|
%patch11 -p1 |
832 |
|
%patch12 -p1 |
833 |
|
|
834 |
%build |
%build |
835 |
# Force creation of potentially empty directories |
# Force creation of potentially empty directories |
839 |
mkdir -p root/etc/e-smith/web/common/css |
mkdir -p root/etc/e-smith/web/common/css |
840 |
mkdir -p root/etc/e-smith/web/panels/manager2/{cgi-bin,html} |
mkdir -p root/etc/e-smith/web/panels/manager2/{cgi-bin,html} |
841 |
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 |
842 |
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} |
843 |
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} |
844 |
|
|
845 |
gcc -o root/etc/e-smith/web/functions2/wrapper2 manager2.c |
gcc -o root/etc/e-smith/web/functions2/wrapper2 manager2.c |
846 |
|
|
930 |
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 |
931 |
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 |
932 |
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 |
933 |
|
#chown root:admin /etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/AdminLTE/public/js/navigation.js |
934 |
|
#chmod 0660 /etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/AdminLTE/public/js/navigation.js |
935 |
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 |
936 |
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 |
937 |
chown root:admin /etc/e-smith/web/functions2/wrapper2 |
chown root:admin /etc/e-smith/web/functions2/wrapper2 |