File python-acitoolkit.spec of Package python-acitoolkit

#
# spec file for package acitoolkit
#
# Copyright (c) 2017 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 http://bugs.opensuse.org/
#

%global sname acitoolkit
%define version 0.3.2

Name:		python-acitoolkit
Version:	0.3.2
Release:	1
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
BuildArch:	noarch
BuildRequires:	python-devel
BuildRequires:	python-pbr
BuildRequires:	python-setuptools
Requires:	    python-oslo.config >= 1.4.0
Requires:	    python-click >= 3.3
Requires:       python-SQLAlchemy

%description
Python Library for configuring APIC Controller.

%prep
%setup -qn acitoolkit-%{version}
rm -f requirements.txt

%build
%{__python} setup.py build

%install
%{__python} setup.py install -O1 --install-data / --skip-build --root %{buildroot}

%files
%doc README.md
%{python_sitelib}/acitoolkit
%{python_sitelib}/acitoolkit-*.egg-info
%changelog
openSUSE Build Service is sponsored by