File ardana-service.spec of Package ardana-service

#
# spec file for package ardana-service
#
# 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 8.0+git.1551382173.a81d5e1

Name:           ardana-service
Version:        8.0+git.1551382173.a81d5e1
Release:        0
Summary:        Ardana service
License:        Apache-2.0
Group:          System/Management
URL:            https://github.com/ArdanaCLM/
Source0:        %{name}-%{version}.tar
BuildRequires:  python-devel
BuildRequires:  python-pbr
Requires:       python-Flask >= 0.11
Requires:       python-Flask-Cors
Requires:       python-Flask-SocketIO
Requires:       python-GitPython >= 2.0
Requires:       python-PyYAML >= 3.10.0
Requires:       python-eventlet
Requires:       python-keystonemiddleware >= 4.17.0
Requires:       python-monascaclient
Requires:       python-neutronclient >= 6.0.0
Requires:       python-novaclient >= 9.0.0
Requires:       python-oslo.config >= 4.11.0
Requires:       python-oslo.context >= 2.14.0
Requires:       python-oslo.log >= 3.30.0
Requires:       python-oslo.middleware >= 3.27.0
Requires:       python-oslo.policy >= 1.23.0
Requires:       python-oslo.serialization >= 2.18.0
Requires:       python-pexpect >= 3.1
Requires:       python-promise
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
Ardana service

%prep
%setup -q -n ardana-service-%{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 README.rst
%{python_sitelib}/*
%{_bindir}/ardana-service

%changelog
openSUSE Build Service is sponsored by