Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
systemsmanagement:Ardana:8
ardana-installer-ui
ardana-installer-ui.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ardana-installer-ui.spec of Package ardana-installer-ui
# # spec file # # Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %if "@BUILD_FLAVOR@" == "" %define hpe_theme 0 %define name_ext %nil %else %define hpe_theme 1 %define name_ext -hpe %endif %define version_unconverted 8.0+git.1548886771.dcb8801 %define installdir /usr/share/ardana/ardana-installer-ui Name: ardana-installer-ui%{name_ext} Version: 8.0+git.1548886771.dcb8801 Release: 0 Summary: Install UI for Ardana based Clouds License: Apache-2.0 AND MIT AND ISC AND BSD-3-Clause Group: System/Management URL: https://github.com/ArdanaCLM/ardana-installer-ui Source0: ardana-installer-ui-%{version}.tar Source1: node_modules.tar.bz2 %if %{hpe_theme} # since the patch mechanism doesn't play well with binaries, # the bz2 file has image files that need to be updated Source2: install_ui_branding_binaries.tar.bz2 # patch file created with "git format-patch master" after # making a local commit of the branding changes, minus images # (see above for images) # PATCH-FEATURE-OEM 0001-HPE-OEM-Branding.patch supports OEM of product to HPE # PATCH-FEATURE-OEM 0001-HPE-OEM-Branding.patch jmoffitt@suse.com Patch1: 0001-HPE-OEM-Branding.patch Provides: ardana-installer-ui = %{version} %endif Source3: ardana-installer-ui.service #!BuildIgnore: post-build-checks rpmlint-Factory BuildRequires: ardana-devel BuildRequires: npm Requires: ardana BuildArch: noarch %description %{ardana_description} This is the frontend code for the Ardana Installer UI %prep %setup -q -n ardana-installer-ui-%{version} %setup -q -n ardana-installer-ui-%{version} -T -D -a 1 %if %{hpe_theme} %setup -q -n ardana-installer-ui-%{version} -T -D -a 2 %patch1 -p1 %endif %build ./build_ui.sh %install install -d -m 755 %{buildroot}%{installdir}/web install -d -m 755 %{buildroot}%{_unitdir} install -p -D -m 444 %{SOURCE3} %{buildroot}%{_unitdir}/ardana-installer-ui.service rsync -av --exclude '*.map' dist/ %{buildroot}%{installdir}/web %files %defattr(-,root,root,-) %doc LICENSE %dir %{installdir} %{installdir}/web %{_unitdir}/ardana-installer-ui.service %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor