
Most servers meanwhile default to secure http, so prefering to link those over plain http (better default, and saves one redirect) Change-Id: I0a7f31e000f8c0aedaae5e42d9b522aca4d8a814
73 lines
2.1 KiB
Django/Jinja
73 lines
2.1 KiB
Django/Jinja
Name: {{ py2name('python-scciclient') }}
|
|
Version: 0.5.0
|
|
Release: 0
|
|
Summary: Python API and CLI for OpenStack Scci
|
|
License: {{ license('Apache-2.0') }}
|
|
Group: Development/Languages/Python
|
|
URL: https://launchpad.net/%{name}
|
|
Source0: https://files.pythonhosted.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
|
|
BuildRequires: openstack-macros
|
|
BuildRequires: {{ py2pkg('fixtures') }}
|
|
BuildRequires: {{ py2pkg('mock') }}
|
|
BuildRequires: {{ py2pkg('oslo.serialization') }}
|
|
BuildRequires: {{ py2pkg('oslo.utils') }}
|
|
BuildRequires: {{ py2pkg('oslotest') }}
|
|
BuildRequires: {{ py2pkg('pbr') }}
|
|
BuildRequires: {{ py2pkg('python-subunit') }}
|
|
BuildRequires: {{ py2pkg('requests-mock') }}
|
|
BuildRequires: {{ py2pkg('setuptools') }}
|
|
BuildRequires: {{ py2pkg('testrepository') }}
|
|
BuildRequires: {{ py2pkg('testscenarios') }}
|
|
BuildRequires: {{ py2pkg('testtools') }}
|
|
Requires: {{ py2pkg('Babel') }}
|
|
Requires: {{ py2pkg('oslo.serialization') }}
|
|
Requires: {{ py2pkg('oslo.utils') }}
|
|
Requires: {{ py2pkg('pbr') }}
|
|
Requires: {{ py2pkg('requests') }}
|
|
Requires: {{ py2pkg('six') }}
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
Client library for Scci built on the Scci API. It provides a Python API
|
|
(the scciclient module) and a command-line tool (scci).
|
|
|
|
%package doc
|
|
Summary: Documentation for OpenStack Scci API client libary
|
|
Group: Documentation/HTML
|
|
BuildRequires: {{ py2pkg('Sphinx') }}
|
|
BuildRequires: {{ py2pkg('oslosphinx') }}
|
|
|
|
%description doc
|
|
Client library for Scci built on the Scci API. It provides a Python API
|
|
(the scciclient module) and a command-line tool (scci).
|
|
This package contains the documentation.
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version}
|
|
%py_req_cleanup
|
|
|
|
%build
|
|
%py2_build
|
|
|
|
# Build HTML docs and man page
|
|
%{__python2} setup.py build_sphinx
|
|
rm -rf html/.{doctrees,buildinfo}
|
|
|
|
%install
|
|
%py2_install
|
|
|
|
%check
|
|
%{__python2} setup.py testr
|
|
|
|
%files
|
|
%doc README.rst
|
|
%license LICENSE
|
|
%{python2_sitelib}/scciclient
|
|
%{python2_sitelib}/*.egg-info
|
|
|
|
%files doc
|
|
%doc doc/build/html
|
|
%license LICENSE
|
|
|
|
%changelog
|