File ardana-installer-server.spec of Package ardana-installer-server

#
# spec file for package ardana-installer-server
#
# 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/
#


%define version_unconverted 9.0+git.1544129318.f82d36e

Name:           ardana-installer-server
Version:        9.0+git.1544129318.f82d36e
Release:        0
Summary:        Server component of 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-server
Source0:        %{name}-%{version}.tar
#!BuildIgnore:  post-build-checks rpmlint-Factory
BuildRequires:  python-devel
BuildRequires:  python-pbr
Requires:       python-Flask >= 0.10
Requires:       python-Flask-Cors
Requires:       python-Flask-SocketIO
Requires:       python-PyYAML >= 3.10.0
Requires:       python-eventlet >= 0.20.0
Requires:       python-oslo.config
Requires:       python-oslo.log
Requires:       python-requests
Requires:       python-socketIO-client
Requires:       python-tinydb
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
This is the backend service for the Ardana Installer UI

%prep
%setup -q -n ardana-installer-server-%{version}

%build
PBR_VERSION=%{version_unconverted} python setup.py build

%install
PBR_VERSION=%{version_unconverted} python setup.py install --prefix=%{_prefix} --root=%{buildroot}

%files
%defattr(-,root,root,-)
%doc LICENSE
%{python_sitelib}/*
%{_bindir}/ardana-installer-server

%changelog
openSUSE Build Service is sponsored by