Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Cloud:OTC:CLI-Queens
python-karborclient
python-karborclient.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-karborclient.spec of Package python-karborclient
# # spec file for package python-karborclient # # Copyright (c) 2016 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/ # %if 0%{?suse_version} >= 1500 %define pyth python3 %define py_sitelib %{python3_sitelib} %define py_build %{py3_build} %define py_install %{py3_install} %else %define pyth python %define py_sitelib %{python2_sitelib} %define py_build %{py2_build} %define py_install %{py2_install} %endif %global sname python-karborclient Name: %{pyth}-karborclient Version: 1.0.0 Release: 0 Summary: Python API and CLI for OpenStack Karbor License: Apache-2.0 Group: Development/Languages/Python Url: https://launchpad.net/%{sname} Source0: https://pypi.io/packages/source/p/%{sname}/%{sname}-%{version}.tar.gz Patch1: downlevel-deps.diff Patch2: user-domain-id-no-default.diff BuildRequires: openstack-macros BuildRequires: %{pyth}-Babel >= 2.3.4 BuildRequires: %{pyth}-PrettyTable >= 0.7 BuildRequires: %{pyth}-devel #BuildRequires: %{pyth}-simplejson >= 2.2.0 # via osc-lib #BuildRequires: %{pyth}-openstackclient >= 2.1.0 BuildRequires: %{pyth}-osc-lib >= 1.0.2 BuildRequires: %{pyth}-oslo.i18n >= 2.1.0 BuildRequires: %{pyth}-oslo.utils >= 3.16.0 BuildRequires: %{pyth}-oslo.log >= 3.16.0 BuildRequires: %{pyth}-pbr >= 1.6 BuildRequires: %{pyth}-requests >= 2.10.0 BuildRequires: %{pyth}-dogpile-cache >= 0.6.2 BuildRequires: %{pyth}-devel Requires: %{pyth}-Babel >= 2.3.4 Requires: %{pyth}-PrettyTable >= 0.7 #Requires: %{pyth}-simplejson >= 2.2.0 #Requires: %{pyth}-openstackclient >= 2.1.0 Requires: %{pyth}-osc-lib >= 1.0.2 Requires: %{pyth}-oslo.i18n >= 2.1.0 Requires: %{pyth}-oslo.utils >= 3.16.0 Requires: %{pyth}-oslo.log >= 3.16.0 Requires: %{pyth}-pbr >= 1.6 Requires: %{pyth}-requests >= 2.10.0 BuildArch: noarch %description OpenStack Data Backup Service API Client Library This is a client for the OpenStack Karbor API. It provides a Python API (the karborclient module) and a command-line interface (karbor). %package doc Summary: Documentation for OpenStack Karbor API Client Group: Documentation BuildRequires: %{pyth}-Sphinx BuildRequires: %{pyth}-oslosphinx >= 2.5.0 BuildRequires: %{pyth}-reno >= 1.8.0 BuildRequires: %{pyth}-openstackdocstheme %description doc This is a client for the OpenStack Karbor API (Data Protection). There's a Python API (the barborclient module), and a command-line script (karbor). Each implements 100% of the OpenStack Karbor API. This package contains auto-generated documentation. %prep %setup -q -n %{sname}-%{version} %patch1 -p1 %patch2 -p1 %build export LANG=en_US.UTF-8 export LC_ALL=en_US.UTF-8 %{py_build} #%{__python2} setup.py build_sphinx # remove the sphinx-build leftovers #rm -rf doc/build/html/.{doctrees,buildinfo} %install export LANG=en_US.UTF-8 export LC_ALL=en_US.UTF-8 %{py_install} %if 0%{?suse_version} < 1500 %check %pyth setup.py testr %endif %files %license LICENSE %doc README.rst %{_bindir}/karbor %{py_sitelib}/karborclient %{py_sitelib}/*.egg-info %files doc %license LICENSE #%doc doc/build/html %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor