1 |
# $Id: smeserver-manager.spec,v 1.5 2019/12/16 17:32:51 michel Exp $ |
# $Id: smeserver-manager.spec,v 1.7 2020/01/12 20:07:49 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 5 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
19 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
20 |
BuildRequires: gettext |
BuildRequires: gettext |
30 |
AutoReqProv: no |
AutoReqProv: no |
31 |
|
|
32 |
%changelog |
%changelog |
33 |
|
* Sun Jan 12 2020 Michel Begue <mab974@gmail.com> 0.1.0-5.sme |
34 |
|
- new theme to come |
35 |
|
- css enhancement (thanks to B. Read) |
36 |
|
- panels: reboot and ibays |
37 |
|
|
38 |
* 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 |
39 |
- fix setuid with wrapper (remove sudo) |
- fix setuid with wrapper (remove sudo) |
40 |
- panels quota and groups |
- panels quota and groups |
774 |
%patch1 -p1 |
%patch1 -p1 |
775 |
%patch2 -p1 |
%patch2 -p1 |
776 |
%patch3 -p1 |
%patch3 -p1 |
777 |
|
%patch4 -p1 |
778 |
|
|
779 |
%build |
%build |
780 |
# Force creation of potentially empty directoriesperl createlinks |
# Force creation of potentially empty directories |
781 |
|
perl createlinks |
782 |
mkdir -p root/etc/e-smith/web/functions2 |
mkdir -p root/etc/e-smith/web/functions2 |
783 |
mkdir -p root/home/e-smith/db/navigation |
mkdir -p root/home/e-smith/db/navigation |
784 |
mkdir -p root/etc/e-smith/web/common/css |
mkdir -p root/etc/e-smith/web/common/css |
785 |
mkdir -p root/etc/e-smith/web/panels/manager2/{cgi-bin,html} |
mkdir -p root/etc/e-smith/web/panels/manager2/{cgi-bin,html} |
786 |
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 |
787 |
|
|
788 |
|
mkdir -p root/etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/AdminLTE/public{css,images,js,tmp} |
789 |
|
mkdir -p root/etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/AdminLTE/templates/{layouts,partials} |
790 |
|
|
791 |
gcc -o root/etc/e-smith/web/functions2/wrapper2 manager2.c |
gcc -o root/etc/e-smith/web/functions2/wrapper2 manager2.c |
792 |
|
|
793 |
#mkdir -p root/usr/share/locale/en_US/LC_MESSAGES/ |
#mkdir -p root/usr/share/locale/en_US/LC_MESSAGES/ |