# # spec file for package python-acitoolkit # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # 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/ # %global sname acitoolkit %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-acitoolkit Version: 0.3.2 Release: 0 Summary: Python library for programming ACI License: Apache-2.0 URL: http://github.com/datacenter/acitoolkit Source: https://github.com/datacenter/acitoolkit/archive/v%{version}.tar.gz BuildRequires: %{python_module Flask-Admin} BuildRequires: %{python_module Flask-Bootstrap} BuildRequires: %{python_module Flask-HTTPAuth} BuildRequires: %{python_module Flask-SQLAlchemy} BuildRequires: %{python_module Flask-WTF} BuildRequires: %{python_module Flask} BuildRequires: %{python_module GitPython} BuildRequires: %{python_module PyMySQL} BuildRequires: %{python_module pbr} BuildRequires: %{python_module requests} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module tabulate} BuildRequires: %{python_module websocket-client} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Flask Requires: python-Flask-Admin Requires: python-Flask-Bootstrap Requires: python-Flask-HTTPAuth Requires: python-Flask-SQLAlchemy Requires: python-Flask-WTF Requires: python-GitPython Requires: python-PyMySQL Requires: python-requests Requires: python-tabulate Requires: python-websocket-client BuildArch: noarch %python_subpackages %description Python Library for configuring APIC Controller. %prep %setup -q -n acitoolkit-%{version} %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %python_exec setup.py test %files %{python_files} %doc README.md %license LICENSE %{python_sitelib}/acitoolkit %{python_sitelib}/acitoolkit-*.egg-info %changelog