File ardana-opsconsole-ui.spec of Package ardana-opsconsole-ui

# spec file for package ardana-opsconsole-ui
# 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

%define version_unconverted 9.0+git.1611867924.eb82818

Name:           ardana-opsconsole-ui
Version:        9.0+git.1611867924.eb82818
Release:        0
Summary:        Ardana Opsconsole UI Implementation
License:        Apache-2.0
Group:          System/Management
Source0:        ardana-opsconsole-ui-%{version}.tar
Source1:        node_modules.tar.bz2
Source2:        bower_components.tar.bz2
Obsoletes:      ardana-opsconsole-ui-hpe
BuildRequires:  ardana-devel
BuildRequires:  git-core
BuildRequires:  nodejs6
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

This is the Ardana Opsconsole UI Implementation

%setup -q -n ardana-opsconsole-ui-%{version} -a 1 -a 2

./node_modules/gulp/bin/gulp.js dist

install -d -m 755 %{buildroot}%{_datadir}/ardana-opsconsole-ui
for subdir in dist.stdcfg/*; do
  cp -a $subdir %{buildroot}%{_datadir}/ardana-opsconsole-ui/


openSUSE Build Service is sponsored by