[python-oslo-vmware] Initial package

Jon Bernard jbernard at fedoraproject.org
Wed Jul 2 17:58:20 UTC 2014


commit 59587517299224736321e678201e536975dd50ae
Author: Jon Bernard <jobernar at redhat.com>
Date:   Wed Jul 2 13:58:25 2014 -0400

    Initial package

 python-oslo-vmware.spec |   78 +++++++++++++++++++++++++++++++++++++++++++++++
 sources                 |    1 +
 2 files changed, 79 insertions(+), 0 deletions(-)
---
diff --git a/python-oslo-vmware.spec b/python-oslo-vmware.spec
new file mode 100644
index 0000000..c7a32be
--- /dev/null
+++ b/python-oslo-vmware.spec
@@ -0,0 +1,78 @@
+%global sname oslo.vmware
+
+Name:           python-oslo-vmware
+Version:        0.3
+Release:        1%{?dist}
+Summary:        Oslo VMware library for OpenStack projects
+
+License:        ASL 2.0
+URL:            http://launchpad.net/oslo
+Source0:        https://pypi.python.org/packages/source/o/%{sname}/%{sname}-%{version}.tar.gz
+
+BuildArch:      noarch
+
+BuildRequires:  python-devel
+BuildRequires:  python-pbr
+BuildRequires:  python-stevedore
+BuildRequires:  python-netaddr
+BuildRequires:  python-iso8601
+BuildRequires:  python-six
+BuildRequires:  python-babel
+BuildRequires:  python-suds
+BuildRequires:  python-eventlet
+BuildRequires:  PyYAML
+
+%description
+The Oslo project intends to produce a python library containing infrastructure
+code shared by OpenStack projects. The APIs provided by the project should be
+high quality, stable, consistent and generally useful.
+
+The Oslo VMware library offers session and API call management for VMware ESX/VC
+server.
+
+%package doc
+Summary:    Documentation for OpenStack common VMware library
+Group:      Documentation
+
+BuildRequires: python-sphinx
+BuildRequires: python-oslo-sphinx
+
+%description doc
+Documentation for OpenStack common VMware library.
+
+%prep
+
+%setup -q -n %{sname}-%{version}
+
+# Remove bundled egg-info
+rm -rf %{sname}.egg-info
+
+# make doc build compatible with python-oslo-sphinx RPM
+sed -i 's/oslosphinx/oslo.sphinx/' doc/source/conf.py
+
+%build
+%{__python2} setup.py build
+
+# generate html docs
+sphinx-build doc/source html
+
+# remove the sphinx-build leftovers
+rm -rf html/.{doctrees,buildinfo}
+
+%install
+%{__python2} setup.py install --skip-build --root %{buildroot}
+
+%files
+%doc README.rst LICENSE
+%{python2_sitelib}/oslo
+%{python2_sitelib}/
+%{python2_sitelib}/%{sname}-%{version}-py?.?-*.pth
+%{python2_sitelib}/%{sname}-%{version}-py?.?.egg-info
+
+%files doc
+%doc html doc/source/readme.rst
+
+%changelog
+* Wed Jun 25 2014 Jon Bernard <jobernar at redhat.com> - 0.3-1
+- Initial package from Alan Pevec <apevec at redhat.com>
+  with cleanups by Jon Bernard
diff --git a/sources b/sources
index e69de29..f2d174a 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+05a2f0da4737e1bbe98460c3f55b4c33  oslo.vmware-0.3.tar.gz


More information about the scm-commits mailing list