Name: python-heatclient Version: 0.4.0 Release: 1%{?dist} Summary: Python API and CLI for OpenStack Heat Group: Development/Languages License: ASL 2.0 URL: http://pypi.python.org/pypi/python-heatclient Source0: http://tarballs.openstack.org/%{name}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools BuildRequires: python-d2to1 BuildRequires: python-pbr Requires: python-argparse Requires: python-httplib2 Requires: python-iso8601 Requires: python-keystoneclient Requires: python-oslo-i18n Requires: python-oslo-serialization Requires: python-oslo-utils Requires: python-prettytable Requires: python-six Requires: python-swiftclient Requires: PyYAML Requires: python-babel %description This is a client for the OpenStack Heat API. There's a Python API (the heatclient module), and a command-line script (heat). Each implements 100% of the OpenStack Heat API. %package doc Summary: Documentation for OpenStack Heat API Client Group: Documentation BuildRequires: python-sphinx BuildRequires: python-oslo-sphinx BuildRequires: git %description doc This is a client for the OpenStack Heat API. There's a Python API (the heatclient module), and a command-line script (heat). Each implements 100% of the OpenStack Heat API. This package contains auto-generated documentation. %prep %setup -q # Remove the requirements file so that pbr hooks don't add it # to distutils requires_dist config. rm -rf {test-,}requirements.txt tools/{pip,test}-requires %build %{__python2} setup.py build %install %{__python2} setup.py install -O1 --skip-build --root %{buildroot} echo "%{version}" > %{buildroot}%{python2_sitelib}/heatclient/versioninfo # Install bash completion scripts mkdir -p %{buildroot}%{_sysconfdir}/bash_completion.d/ install -m 644 -T tools/heat.bash_completion %{buildroot}%{_sysconfdir}/bash_completion.d/python-heatclient # Delete tests rm -fr %{buildroot}%{python_sitelib}/heatclient/tests export PYTHONPATH="$( pwd ):$PYTHONPATH" sphinx-build -b html doc/source html # Fix hidden-file-or-dir warnings rm -fr html/.doctrees html/.buildinfo %files %doc LICENSE README.rst %{_bindir}/heat %{python2_sitelib}/heatclient %{python2_sitelib}/*.egg-info %{_sysconfdir}/bash_completion.d/python-heatclient %files doc %doc html %changelog * Wed Apr 01 2015 Haikel Guemar 0.4.0-1 - Update to upstream 0.4.0 * Thu Sep 26 2014 Ryan Brown - 0.2.12-1 - Bump to 0.2.12 client release * Mon Sep 22 2014 Ryan Brown - 0.2.11-2 - Remove patch and use sed in %prep to fix oslosphinx import instead * Mon Sep 22 2014 Ryan Brown - 0.2.11-1 - Bump to new (0.2.11) client release - Add git to BuildRequires * Thu Sep 18 2014 Ryan Brown - 0.2.10-1 - Bump to new (0.2.10) client release - Include bash completion file (rhbz #1140842) * Sat Jun 07 2014 Fedora Release Engineering - 0.2.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue Apr 15 2014 Jakub Ruzicka 0.2.9-1 - Update to upstream 0.2.9 * Mon Jan 06 2014 Jakub Ruzicka 0.2.6-3 - Add support for resource_types * Tue Dec 10 2013 Jeff Peeler 0.2.6-2 - Update to upstream version 0.2.6 - New dependency: python-six - Remove runtime dependency on python-pbr * Wed Nov 06 2013 Jakub Ruzicka 0.2.5-1 - Update to upstream version 0.2.5 * Mon Sep 16 2013 Jakub Ruzicka 0.2.4-1 - Update to upstream version 0.2.4. - Add BuildRequires: python2-devel. * Sun Aug 04 2013 Fedora Release Engineering - 0.2.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 17 2013 Jakub Ruzicka 0.2.3-1 - Updated to upstream version 0.2.3. - Add new dependency: PyYAML. - Add new build requires: python-d2to1 and python-pbr. - Remove requirements.txt file. - Generate versioninfo file. * Mon Mar 11 2013 Steven Dake 0.2.1-1 - copied from python-novaclient spec file and tailored to suit