1 |
# $Id: smeserver-manager.spec,v 1.5 2019/12/16 17:32:51 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 4 |
%define release 6 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
14 |
Patch1: smeserver-manager-add-basic-files.patch |
Patch1: smeserver-manager-add-basic-files.patch |
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 |
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 |
|
* 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 |
40 |
|
- css enhancement (thanks to B. Read) |
41 |
|
- panels: reboot and ibays |
42 |
|
|
43 |
* Wed Jan 01 2020 Michel Begue <mab974@gmail.com> 0.1.0-4.sme |
* Wed Jan 01 2020 Michel Begue <mab974@gmail.com> 0.1.0-4.sme |
44 |
- fix setuid with wrapper (remove sudo) |
- fix setuid with wrapper (remove sudo) |
45 |
- panels quota and groups |
- panels quota and groups |
779 |
%patch1 -p1 |
%patch1 -p1 |
780 |
%patch2 -p1 |
%patch2 -p1 |
781 |
%patch3 -p1 |
%patch3 -p1 |
782 |
|
%patch4 -p1 |
783 |
|
%patch5 -p1 |
784 |
|
|
785 |
%build |
%build |
786 |
# Force creation of potentially empty directoriesperl createlinks |
# Force creation of potentially empty directories |
787 |
|
perl createlinks |
788 |
mkdir -p root/etc/e-smith/web/functions2 |
mkdir -p root/etc/e-smith/web/functions2 |
789 |
mkdir -p root/home/e-smith/db/navigation |
mkdir -p root/home/e-smith/db/navigation |
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} |
794 |
|
mkdir -p root/etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/AdminLTE/templates/{layouts,partials} |
795 |
|
|
796 |
gcc -o root/etc/e-smith/web/functions2/wrapper2 manager2.c |
gcc -o root/etc/e-smith/web/functions2/wrapper2 manager2.c |
797 |
|
|