Add starlingx dashboard package
Add the centos package details for the starlingx_dashboard. starlingx_dashboard/enabled/__init__.py is already provided by the openstack-dashboard package, so that file will be removed from this package. Story: 2002891 Task: 24821 Change-Id: I7b890a2adb24627dfba4e73ab968ef1b3f2ac576 Signed-off-by: David Sullivan <david.sullivan@windriver.com>
This commit is contained in:
parent
825178fb53
commit
8b0101c5ed
1
centos_pkg_dirs
Normal file
1
centos_pkg_dirs
Normal file
@ -0,0 +1 @@
|
|||||||
|
starlingx-dashboard
|
2
starlingx-dashboard/centos/build_srpm.data
Normal file
2
starlingx-dashboard/centos/build_srpm.data
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
SRC_DIR="starlingx-dashboard"
|
||||||
|
TIS_PATCH_VER=1
|
48
starlingx-dashboard/centos/starlingx-dashboard.spec
Normal file
48
starlingx-dashboard/centos/starlingx-dashboard.spec
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
##
|
||||||
|
Summary: stx horizon plugins
|
||||||
|
Name: starlingx-dashboard
|
||||||
|
Version: 1.0
|
||||||
|
Release: %{tis_patch_ver}%{?_tis_dist}
|
||||||
|
License: Apache-2.0
|
||||||
|
Group: base
|
||||||
|
Packager: Wind River <info@windriver.com>
|
||||||
|
URL: unknown
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: python-setuptools
|
||||||
|
BuildRequires: python-pbr
|
||||||
|
Requires: openstack-dashboard
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
starlingx specific horizon plugins
|
||||||
|
|
||||||
|
%define py_pkg_name starlingx_dashboard
|
||||||
|
%define enabled_dir %{_datadir}/openstack-dashboard/openstack_dashboard/enabled/
|
||||||
|
|
||||||
|
%define debug_package %{nil}
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup
|
||||||
|
|
||||||
|
%build
|
||||||
|
export PBR_VERSION=%{version}
|
||||||
|
%py2_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
export PBR_VERSION=%{version}
|
||||||
|
%py2_install
|
||||||
|
|
||||||
|
install -d -m 755 %{buildroot}%{enabled_dir}
|
||||||
|
install -p -D -m 755 %{py_pkg_name}/enabled/* %{buildroot}%{enabled_dir}
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%files
|
||||||
|
%{python2_sitelib}/%{py_pkg_name}
|
||||||
|
|
||||||
|
%{python2_sitelib}/%{py_pkg_name}-%{version}*.egg-info
|
||||||
|
|
||||||
|
%{enabled_dir}
|
1
starlingx-dashboard/starlingx-dashboard/MANIFEST.in
Normal file
1
starlingx-dashboard/starlingx-dashboard/MANIFEST.in
Normal file
@ -0,0 +1 @@
|
|||||||
|
recursive-include starlingx_dashboard *.js *.html *.keep
|
Loading…
x
Reference in New Issue
Block a user