1 |
# $Id: smeserver-manager.spec,v 1.10 2020/01/22 13:50:10 michel Exp $ |
# $Id: smeserver-manager.spec,v 1.17 2020/04/07 13:29:49 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.0 |
%define version 0.1.0 |
7 |
%define release 8 |
%define release 15 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
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 |
Patch6: smeserver-manager-0.1.0-navigation_header_listes.patch |
20 |
Patch7: smeserver-manager-0.1.0-navigation_errors.patch |
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 |
|
Patch13: smeserver-manager-0.1.0-portforwarding-localnetwork-cleanup.patch |
27 |
|
Patch14: smeserver-manager-0.1.0-portforwarding-rule-comment-missing.patch |
28 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
29 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
30 |
BuildRequires: gettext |
BuildRequires: gettext |
40 |
AutoReqProv: no |
AutoReqProv: no |
41 |
|
|
42 |
%changelog |
%changelog |
43 |
|
* Tue Apr 07 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.0-14.sme |
44 |
|
- Sort out rule comment in portforwarding add panel |
45 |
|
|
46 |
|
* Tue Apr 07 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.0-14.sme |
47 |
|
- Add in portforwarding panel |
48 |
|
- Clean up localnetwork panel code |
49 |
|
|
50 |
|
* Sun Mar 29 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.0-13.sme |
51 |
|
- Remove Db call in LN_del template |
52 |
|
- Use Sme-error css class and make sure parameters applied to error message |
53 |
|
- Remove creation of AdminLTE directories on install |
54 |
|
|
55 |
|
* Fri Mar 20 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.0-12.sme |
56 |
|
- Add panels : localnetworks |
57 |
|
- Delete AdminLTE code - will get added into new rpm |
58 |
|
|
59 |
|
* Sat Feb 29 2020 Michel Begue <mab974@gmail.com> 0.1.0-11.sme |
60 |
|
- Add panels : remoteaccess, useraccounts and viewlogfiles |
61 |
|
- Fix 'bugreport' download |
62 |
|
- css enhancement in default theme |
63 |
|
- Fix warnings and typos |
64 |
|
|
65 |
|
* Wed Feb 19 2020 Michel Begue <mab974@gmail.com> 0.1.0-10.sme |
66 |
|
- add panels : domains, hostentries and pseudonyms |
67 |
|
- remove old navigation menu |
68 |
|
|
69 |
|
* Mon Jan 27 2020 Michel Begue <mab974@gmail.com> 0.1.0-9.sme |
70 |
|
- Fix messages without variables expansion |
71 |
|
- add a theme switcher |
72 |
|
- split navigation menu between controller and template |
73 |
|
- template + event for .conf file |
74 |
|
|
75 |
* Thu Jan 23 2020 Michel Begue <mab974@gmail.com> 0.1.0-8.sme |
* Thu Jan 23 2020 Michel Begue <mab974@gmail.com> 0.1.0-8.sme |
76 |
- Fix errors in Navigation |
- Fix errors in Navigation |
77 |
|
|
834 |
%patch5 -p1 |
%patch5 -p1 |
835 |
%patch6 -p1 |
%patch6 -p1 |
836 |
%patch7 -p1 |
%patch7 -p1 |
837 |
|
%patch8 -p1 |
838 |
|
%patch9 -p1 |
839 |
|
%patch10 -p1 |
840 |
|
%patch11 -p1 |
841 |
|
%patch12 -p1 |
842 |
|
%patch13 -p1 |
843 |
|
%patch14 -p1 |
844 |
|
|
845 |
%build |
%build |
846 |
# Force creation of potentially empty directories |
# Force creation of potentially empty directories |
850 |
mkdir -p root/etc/e-smith/web/common/css |
mkdir -p root/etc/e-smith/web/common/css |
851 |
mkdir -p root/etc/e-smith/web/panels/manager2/{cgi-bin,html} |
mkdir -p root/etc/e-smith/web/panels/manager2/{cgi-bin,html} |
852 |
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 |
853 |
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} |
854 |
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} |
855 |
|
|
856 |
gcc -o root/etc/e-smith/web/functions2/wrapper2 manager2.c |
gcc -o root/etc/e-smith/web/functions2/wrapper2 manager2.c |
857 |
|
|
941 |
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 |
942 |
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 |
943 |
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 |
944 |
chown root:admin /etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/AdminLTE/public/js/navigation.js |
#chown root:admin /etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/AdminLTE/public/js/navigation.js |
945 |
chmod 0660 /etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/AdminLTE/public/js/navigation.js |
#chmod 0660 /etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/AdminLTE/public/js/navigation.js |
946 |
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 |
947 |
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 |
948 |
chown root:admin /etc/e-smith/web/functions2/wrapper2 |
chown root:admin /etc/e-smith/web/functions2/wrapper2 |