Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:42.1
python-ceilometerclient
python-ceilometerclient.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-ceilometerclient.spec of Package python-ceilometerclient
# # spec file for package python-ceilometerclient # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2013 B1 Systems GmbH. # # 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/ # %define component ceilometerclient Name: python-%{component} Version: 1.0.13 Release: 0 Url: https://github.com/openstack/python-ceilometerclient Summary: OpenStack Metering (Ceilometer) API Client License: Apache-2.0 Group: Development/Languages/Python Source: https://pypi.python.org/packages/source/p/python-ceilometerclient/python-ceilometerclient-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: openstack-suse-macros BuildRequires: python-devel BuildRequires: python-pbr Requires: python-PrettyTable >= 0.7 Requires: python-argparse Requires: python-iso8601 >= 0.1.9 Requires: python-keystoneclient >= 1.1.0 Requires: python-six >= 1.7.0 %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %else BuildArch: noarch %endif %description This is a client library for Ceilometer built on the Ceilometer API. It provides a Python API (the ceilometerclient module) and a command-line tool (ceilometer). %package test Summary: Openstack Metering (Ceilometer) API Client - Testsuite Group: Development/Languages/Python Requires: %{name} = %{version} %if 0%{?suse_version} && 0%{?suse_version} <= 1110 Requires: python-discover %endif Requires: python-fixtures >= 0.3.14 Requires: python-mock >= 1.0 Requires: python-python-subunit >= 0.0.18 Requires: python-testrepository >= 0.0.18 Requires: python-testtools >= 0.9.36 %description test This package contains testsuite files for %{name}. %prep %setup -q %openstack_cleanup_prep echo %{version} > ceilometerclient/versioninfo %build %{__python2} setup.py build %install %{__python2} setup.py install --prefix=%{_prefix} --root=%{buildroot} --install-data=%{python2_sitelib} ### test subpackage %openstack_test_package_install %files %defattr(-,root,root,-) %doc LICENSE README.rst %{_bindir}/ceilometer %{python2_sitelib}/%{component}/ %{python2_sitelib}/python_%{component}-*.egg-info %files test %defattr(-,root,root,-) %{_localstatedir}/lib/%{name}-test/ %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