Mark McLoughlin acbee3d
Name:             python-novaclient
d09fbdf
Version:          2012.2
d09fbdf
Release:          0.1.f1%{?dist}
Mark McLoughlin acbee3d
Summary:          Python API and CLI for OpenStack Nova
Mark McLoughlin acbee3d
Mark McLoughlin acbee3d
Group:            Development/Languages
Mark McLoughlin acbee3d
License:          ASL 2.0
Mark McLoughlin acbee3d
URL:              http://pypi.python.org/pypi/python-novaclient
d09fbdf
Source0:          https://launchpad.net/nova/folsom/folsom-1/+download/python-novaclient-%{version}~f1.tar.gz
Mark McLoughlin acbee3d
Mark McLoughlin acbee3d
Patch1:           novaclient-remove-argparse-from-egg-requires.patch
Mark McLoughlin acbee3d
Mark McLoughlin acbee3d
BuildArch:        noarch
Mark McLoughlin acbee3d
BuildRequires:    python-setuptools
Mark McLoughlin acbee3d
Mark McLoughlin acbee3d
Requires:         python-argparse
Mark McLoughlin acbee3d
Requires:         python-simplejson
Mark McLoughlin acbee3d
Requires:         python-httplib2
Mark McLoughlin acbee3d
Requires:         python-prettytable
Mark McLoughlin acbee3d
Mark McLoughlin acbee3d
%description
Mark McLoughlin acbee3d
This is a client for the OpenStack Nova API. There's a Python API (the
Mark McLoughlin acbee3d
novaclient module), and a command-line script (nova). Each implements 100% of
Mark McLoughlin acbee3d
the OpenStack Nova API.
Mark McLoughlin acbee3d
Mark McLoughlin acbee3d
%package doc
Mark McLoughlin acbee3d
Summary:          Documentation for OpenStack Nova API Client
Mark McLoughlin acbee3d
Group:            Documentation
Mark McLoughlin acbee3d
Mark McLoughlin acbee3d
Requires:         %{name} = %{version}-%{release}
Mark McLoughlin acbee3d
Mark McLoughlin acbee3d
BuildRequires:    python-sphinx
Mark McLoughlin acbee3d
Mark McLoughlin acbee3d
%description      doc
Mark McLoughlin acbee3d
This is a client for the OpenStack Nova API. There's a Python API (the
Mark McLoughlin acbee3d
novaclient module), and a command-line script (nova). Each implements 100% of
Mark McLoughlin acbee3d
the OpenStack Nova API.
Mark McLoughlin acbee3d
Mark McLoughlin acbee3d
This package contains auto-generated documentation.
Mark McLoughlin acbee3d
Mark McLoughlin acbee3d
%prep
Mark McLoughlin 9e5f795
%setup -q
Mark McLoughlin acbee3d
Mark McLoughlin acbee3d
%patch1 -p1
Mark McLoughlin acbee3d
Mark McLoughlin acbee3d
%build
Mark McLoughlin acbee3d
%{__python} setup.py build
Mark McLoughlin acbee3d
Mark McLoughlin acbee3d
%install
Mark McLoughlin acbee3d
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
Mark McLoughlin acbee3d
Mark McLoughlin acbee3d
# Delete tests
Mark McLoughlin acbee3d
rm -fr %{buildroot}%{python_sitelib}/tests
Mark McLoughlin acbee3d
Mark McLoughlin acbee3d
export PYTHONPATH="$( pwd ):$PYTHONPATH"
Mark McLoughlin acbee3d
sphinx-build -b html docs html
Mark McLoughlin acbee3d
Mark McLoughlin acbee3d
# Fix hidden-file-or-dir warnings
Mark McLoughlin acbee3d
rm -fr html/.doctrees html/.buildinfo
Mark McLoughlin acbee3d
Mark McLoughlin acbee3d
%files
Mark McLoughlin acbee3d
%doc README.rst
e129d47
%doc LICENSE
Mark McLoughlin acbee3d
%{_bindir}/nova
Mark McLoughlin acbee3d
%{python_sitelib}/novaclient
Mark McLoughlin acbee3d
%{python_sitelib}/*.egg-info
Mark McLoughlin acbee3d
Mark McLoughlin acbee3d
%files doc
Mark McLoughlin acbee3d
%doc html
Mark McLoughlin acbee3d
Mark McLoughlin acbee3d
%changelog
d09fbdf
* Wed Jun 13 2012 Pádraig Brady <P@draigBrady.com> 2012.2-0.1.f1
d09fbdf
- Update to folsom-1 release
d09fbdf
3fc9311
* Sun Apr  8 2012 Pádraig Brady <P@draigBrady.com> 2012.1-1
3fc9311
- Update to essex release
e129d47
- Include LICENSE (#732695)
e129d47
bce430a
* Thu Mar 22 2012 Pádraig Brady <P@draigBrady.com> 2012.1-0.4.rc1
bce430a
- Avoid a horizon issue trying to write to /var/www (#801202)
bce430a
17cc8b9
* Wed Mar 21 2012 Pádraig Brady <P@draigBrady.com> 2012.1-0.3.rc1
17cc8b9
- Update to essex-rc1
17cc8b9
163cf28
* Tue Mar 06 2012 Alan Pevec <apevec@redhat.com> 2012.1-0.2.e4
163cf28
- Update to essex-4
163cf28
bc6f743
* Fri Jan 27 2012 Pádraig Brady <P@draigBrady.com> - 2012.1-0.1.e3
bc6f743
- Update to essex milestone 3
bc6f743
5f29ca3
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.1-0.5.89bzr
5f29ca3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
5f29ca3
Mark McLoughlin 9e5f795
* Wed Aug 24 2011 Mark McLoughlin <markmc@redhat.com> - 2.6.1-0.4.89bzr
Mark McLoughlin 9e5f795
- Update to latest upstream snapshot
f7681af
- Don't use %%setup -n (#732694)
Mark McLoughlin 9e5f795
Mark McLoughlin acbee3d
* Mon Aug 22 2011 Mark McLoughlin <markmc@redhat.com> - 2.6.1-0.3.83bzr
Mark McLoughlin acbee3d
- Remove python-devel BR
Mark McLoughlin acbee3d
- Remove the openstack-novaclient sub-package
Mark McLoughlin acbee3d
Mark McLoughlin acbee3d
* Fri Aug 19 2011 Mark McLoughlin <markmc@redhat.com> - 2.6.1-0.2.83bzr
Mark McLoughlin acbee3d
- Remove argparse from egg requires.txt; no egg info for argparse available
Mark McLoughlin acbee3d
Mark McLoughlin acbee3d
* Wed Aug 17 2011 Mark McLoughlin <markmc@redhat.com> - 2.6.1-0.1.83bz
Mark McLoughlin acbee3d
- Update to latest upstream
Mark McLoughlin acbee3d
Mark McLoughlin acbee3d
* Wed Aug 10 2011 Mark McLoughlin <markmc@redhat.com> - 2.6.1-0.1.74bzr
Mark McLoughlin acbee3d
- Update to latest upstream
Mark McLoughlin acbee3d
Mark McLoughlin acbee3d
* Mon Aug  8 2011 Mark McLoughlin <markmc@redhat.com> - 2.5.1-1
Mark McLoughlin acbee3d
- Initial package from Alexander Sakhnov <asakhnov@mirantis.com>
Mark McLoughlin acbee3d
  with cleanups by Mark McLoughlin