* Updated from global requirements * Use osc_lib instead of cliff * Add quota set / list / reset commands * Mark the v1 API Client as deprecated * Add global flags to cli * Use osc-lib instead of openstackclient * Revert "Add Global Flags for filtering results" * Add pool listing to python designate client * Add `openstack zone transfer accept list` cli to designateclient * Allow cli to query "v2/recordsets" * Add Global Flags for filtering results * Use the correct capitalization of OpenStack * Update the home-page with developer documentation * Add reno support for release notes * Switch to keystoneauth * Added CONTRIBUTING.rst file * Docs Update * Don't use the 'keystone' client (functional tests) * Update doc examples to use keystoneauth * Update designate cli page with more examples Closes-Bug: #1578207 * Add python-openstackclient to test-requirements * Improve python-designateclient docs * Add support for service status * Fix a race condition in one of the zone import tests * Run the functional tests in a more verbose mode * Show responses on zone and recordset deletes * Implement zone import * Doc changes for installation webpage * Fix an issue causing a blacklist test to fail OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-designateclient?expand=0&rev=13
94 lines
2.8 KiB
RPMSpec
94 lines
2.8 KiB
RPMSpec
#
|
|
# spec file for package python-designateclient
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
|
|
%global sname python-designateclient
|
|
Name: python-designateclient
|
|
Version: 2.2.0
|
|
Release: 0
|
|
Summary: OpenStack DNS as a Service - Client
|
|
License: Apache-2.0
|
|
Group: Documentation
|
|
Url: https://launchpad.net/%{sname}
|
|
Source0: https://pypi.io/packages/source/p/%{sname}/%{sname}-%{version}.tar.gz
|
|
BuildRequires: openstack-macros
|
|
BuildRequires: python-devel
|
|
BuildRequires: python-jsonschema >= 2.0.0
|
|
BuildRequires: python-keystoneclient >= 1.7.0
|
|
BuildRequires: python-mock >= 1.2
|
|
BuildRequires: python-oslotest >= 1.10.0
|
|
BuildRequires: python-pbr >= 1.6
|
|
BuildRequires: python-python-subunit >= 0.0.18
|
|
BuildRequires: python-requests-mock >= 0.7.0
|
|
BuildRequires: python-setuptools >= 16.0
|
|
BuildRequires: python-testrepository >= 0.0.18
|
|
Requires: python-cliff >= 1.15.0
|
|
Requires: python-debtcollector >= 1.2.0
|
|
Requires: python-jsonschema >= 2.0.0
|
|
Requires: python-keystoneclient >= 1.7.0
|
|
Requires: python-oslo.utils >= 3.5.0
|
|
Requires: python-pbr >= 1.6
|
|
Requires: python-requests >= 2.10.0
|
|
Requires: python-six >= 1.9.0
|
|
Requires: python-stevedore >= 1.10.0
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
OpenStack DNS as a Service - Client
|
|
|
|
%package doc
|
|
Summary: Documentation for the OpenStack DNS as a Service - Client
|
|
Group: Documentation
|
|
BuildRequires: python-Sphinx
|
|
BuildRequires: python-oslosphinx >= 2.5.0
|
|
|
|
%description doc
|
|
Documentation for the OpenStack DNS as a Service - Client.
|
|
|
|
%prep
|
|
%setup -q -n %{sname}-%{version}
|
|
|
|
%build
|
|
%py2_build
|
|
|
|
# generate html docs
|
|
%{__python2} setup.py build_sphinx
|
|
# remove the sphinx-build leftovers
|
|
rm -rf doc/build/html/.{doctrees,buildinfo}
|
|
|
|
%install
|
|
%py2_install
|
|
#man pages
|
|
install -p -D -m 644 doc/build/man/python-designateclient.1 %{buildroot}%{_mandir}/man1/python-designateclient.1
|
|
|
|
%check
|
|
%{__python2} setup.py testr
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc README.rst ChangeLog
|
|
%{python2_sitelib}/designateclient
|
|
%{python2_sitelib}/python_designateclient-%{version}-py2.?.egg-info
|
|
%{_bindir}/designate
|
|
%{_mandir}/man1/python-designateclient.1.*
|
|
|
|
%files doc
|
|
%license LICENSE
|
|
%doc doc/build/html
|
|
|
|
%changelog
|