1 Name: python-ceilometerclient
4 Summary: Python API and CLI for OpenStack Ceilometer
6 Group: Development/Languages
8 URL: https://github.com/openstack/%{name}
9 Source0: https://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
12 BuildRequires: python-setuptools
13 BuildRequires: python2-devel
14 BuildRequires: python-pbr
15 BuildRequires: python-d2to1
17 Requires: python-setuptools
18 Requires: python-argparse
19 Requires: python-prettytable >= 0.7, python-prettytable < 0.8
20 Requires: python-iso8601
21 Requires: python-pbr >= 0.6, python-pbr < 0.7, python-pbr > 0.7, python-pbr < 1.0
22 Requires: python-keystoneclient
23 Requires: python-six >= 1.5.2
28 Patch0001: 0001-Remove-runtime-dependency-on-python-pbr.patch
31 This is a client library for Ceilometer built on the Ceilometer API. It
32 provides a Python API (the ceilometerclient module) and a command-line tool
37 Summary: Documentation for OpenStack Ceilometer API Client
40 BuildRequires: python-sphinx
43 This is a client library for Ceilometer built on the Ceilometer API. It
44 provides a Python API (the ceilometerclient module) and a command-line tool
47 This package contains auto-generated documentation.
55 # We provide version like this in order to remove runtime dep on pbr.
56 sed -i s/REDHATCEILOMETERCLIENTVERSION/%{version}/ ceilometerclient/__init__.py
58 # Remove bundled egg-info
59 rm -rf python_ceilometerclient.egg-info
61 # Let RPM handle the requirements
62 rm -f {,test-}requirements.txt
65 %{__python} setup.py build
68 %{__python} setup.py install -O1 --skip-build --root %{buildroot}
70 export PYTHONPATH="$( pwd ):$PYTHONPATH"
71 sphinx-build -b html doc/source html
73 # Fix hidden-file-or-dir warnings
74 rm -rf html/.doctrees html/.buildinfo
80 %{python_sitelib}/ceilometerclient
81 %{python_sitelib}/*.egg-info
87 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.10-2
88 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
90 * Thu Jun 05 2014 Jakub Ruzicka <jruzicka@redhat.com> 1.0.10-1
91 - Update to upstream 1.0.10
92 - Remove requirements.txt in .spec instead of patch
94 * Mon Feb 17 2014 Pádraig Brady <pbrady@redhat.com> - 1.0.9-3
95 - Require python-six >= 1.4.1 to ensure update
97 * Mon Feb 17 2014 Alan Pevec <apevec@redhat.com> 1.0.9-1
98 - Update to upstream 1.0.9
100 * Mon Dec 16 2013 Jakub Ruzicka <jruzicka@redhat.com> 1.0.8-1
101 - Update to upstream 1.0.8
102 - New dependency: python-six
104 * Mon Oct 07 2013 Jakub Ruzicka <jruzicka@redhat.com> 1.0.6-1
105 - Update to upstream 1.0.6.
107 * Mon Sep 09 2013 Jakub Ruzicka <jruzicka@redhat.com> 1.0.3-1
108 - Update to upstream 1.0.3.
109 - README extension changed.
110 - Get rid of pbr deps in the patch instead of this spec file.
112 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-3
113 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
115 * Tue Jul 16 2013 Jakub Ruzicka <jruzicka@redhat.com> 1.0.1-2
116 - New build requires: python-d2to1, python-pbr.
118 * Tue Jul 16 2013 Jakub Ruzicka <jruzicka@redhat.com> 1.0.1-1
119 - Update to upstream version 1.0.1.
120 - Remove new runtime dependency on python-pbr.
121 - Remove requirements file.
122 - Make requires generic instead of requiring specific versions.
124 * Mon Apr 01 2013 Jakub Ruzicka <jruzicka@redhat.com> 1.0.0
125 - Update to upstream version 1.0.0.
126 - Added Requires: python-keystoneclient >= 0.1.2.
128 * Tue Mar 26 2013 Jakub Ruzicka <jruzicka@redhat.com> 0.0.10-0.2.gitd84fd99
129 - Add BuildRequires: python2-devel.
131 * Tue Mar 26 2013 Jakub Ruzicka <jruzicka@redhat.com> 0.0.10-0.1.gitd84fd99
132 - Initial package based on python-novaclient.