1 |
# $Id: smeserver-manager.spec,v 1.6 2020/01/04 10:12:41 michel Exp $ |
# $Id: smeserver-manager.spec,v 1.8 2020/01/12 20:09:06 michel Exp $ |
2 |
|
|
3 |
Summary: smeserver manager 2 navigation module |
Summary: smeserver manager 2 navigation module |
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 6 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
20 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
21 |
BuildRequires: gettext |
BuildRequires: gettext |
31 |
AutoReqProv: no |
AutoReqProv: no |
32 |
|
|
33 |
%changelog |
%changelog |
34 |
* Wed Jan 12 2020 Michel Begue <mab974@gmail.com> 0.1.0-5.sme |
* Fri Jan 17 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.0-6.sme |
35 |
|
- Add in theme based on AdminLTE html template |
36 |
|
- Fixes Server name in header (Needs Template expansion - added to Console-Save |
37 |
|
|
38 |
|
* Sun Jan 12 2020 Michel Begue <mab974@gmail.com> 0.1.0-5.sme |
39 |
- new theme to come |
- new theme to come |
40 |
- css enhancement (thanks to B. Read) |
- css enhancement (thanks to B. Read) |
41 |
- panels: reboot and ibays |
- panels: reboot and ibays |
780 |
%patch2 -p1 |
%patch2 -p1 |
781 |
%patch3 -p1 |
%patch3 -p1 |
782 |
%patch4 -p1 |
%patch4 -p1 |
783 |
|
%patch5 -p1 |
784 |
|
|
785 |
%build |
%build |
786 |
# Force creation of potentially empty directories |
# Force creation of potentially empty directories |
790 |
mkdir -p root/etc/e-smith/web/common/css |
mkdir -p root/etc/e-smith/web/common/css |
791 |
mkdir -p root/etc/e-smith/web/panels/manager2/{cgi-bin,html} |
mkdir -p root/etc/e-smith/web/panels/manager2/{cgi-bin,html} |
792 |
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 |
|
|
|
793 |
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} |
794 |
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} |
795 |
|
|