[python-manilaclient] Initial import (#1168005)
Pete Zaitcev
zaitcev at fedoraproject.org
Mon Dec 15 17:09:43 UTC 2014
commit 6a170137225b2cac7323ba845860a829ba046e48
Author: Pete Zaitcev <zaitcev at kotori.zaitcev.us>
Date: Mon Dec 15 10:08:58 2014 -0700
Initial import (#1168005)
.gitignore | 1 +
python-manilaclient.spec | 81 ++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 83 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..b58d135 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/python-manilaclient-1.0.1.tar.gz
diff --git a/python-manilaclient.spec b/python-manilaclient.spec
new file mode 100644
index 0000000..f8a5ff6
--- /dev/null
+++ b/python-manilaclient.spec
@@ -0,0 +1,81 @@
+Name: python-manilaclient
+Version: 1.0.1
+Release: 3%{?dist}
+Summary: Client Library for OpenStack Share API
+License: ASL 2.0
+URL: http://pypi.python.org/pypi/%{name}
+Source0: http://tarballs.openstack.org/python-manilaclient/%{name}-%{version}.tar.gz
+
+BuildArch: noarch
+Requires: python-babel
+Requires: python-iso8601
+Requires: python-keystoneclient
+Requires: python-prettytable
+Requires: python-requests >= 2.2.0
+Requires: python-simplejson
+Requires: python-six
+#Requires: pyOpenSSL >= 0.12
+
+BuildRequires: python2-devel
+BuildRequires: python-oslo-sphinx
+BuildRequires: python-setuptools
+BuildRequires: python-pbr
+#BuildRequires: pyOpenSSL
+
+%description
+Client library and command line utility for interacting with Openstack
+Share API.
+
+%package doc
+Summary: Documentation for OpenStack Share API Client
+
+BuildRequires: python-sphinx
+
+%description doc
+Documentation for the client library for interacting with Openstack
+Share API.
+
+%prep
+%setup -q
+
+# Remove bundled egg-info
+rm -rf python_manilaclient.egg-info
+
+# make doc build compatible with python-oslo-sphinx RPM
+sed -i 's/oslosphinx/oslo.sphinx/;s/^html_theme_options/#&/' doc/source/conf.py
+
+%build
+%{__python2} setup.py build
+
+%install
+%{__python2} setup.py install -O1 --skip-build --root %{buildroot}
+
+export PYTHONPATH="$( pwd ):$PYTHONPATH"
+pushd doc
+make html
+popd
+
+#install -p -D -m 644 doc/manpages/swift.1 #{buildroot}#{_mandir}/man1/swift.1
+
+# Fix hidden-file-or-dir warnings
+rm -fr doc/build/html/.doctrees doc/build/html/.buildinfo
+
+%files
+%doc LICENSE README.rst
+%{_bindir}/manila
+%{python2_sitelib}/manilaclient
+%{python2_sitelib}/*.egg-info
+#{_mandir}/man1/swift.1*
+
+%files doc
+%doc LICENSE doc/build/html
+
+%changelog
+* Tue Dec 09 2014 Pete Zaitcev <zaitcev at redhat.com> - 1.0.1-3
+- Add BuildRequires: python-oslo-sphinx
+
+* Wed Nov 26 2014 Pete Zaitcev <zaitcev at redhat.com> - 1.0.1-2
+- Updated with packaging review comments (#1168005)
+
+* Tue Nov 25 2014 Pete Zaitcev <zaitcev at redhat.com> - 1.0.1-1
+- Initial Revision
diff --git a/sources b/sources
index e69de29..43a7b2f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+48073d2f3f10dcebceda12c21f4f921f python-manilaclient-1.0.1.tar.gz
More information about the scm-commits
mailing list