[python-keystoneclient] Initial commit

Cole Robinson crobinso at fedoraproject.org
Mon Jan 30 19:07:18 UTC 2012


commit 8ed8689319f251bc339b5c0131e160135e1322f7
Author: Cole Robinson <crobinso at redhat.com>
Date:   Mon Jan 30 14:00:51 2012 -0500

    Initial commit

 .gitignore                 |    1 +
 python-keystoneclient.spec |   71 ++++++++++++++++++++++++++++++++++++++++++++
 sources                    |    1 +
 3 files changed, 73 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..edad615 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/python-keystoneclient-2012.1~e3.tar.gz
diff --git a/python-keystoneclient.spec b/python-keystoneclient.spec
new file mode 100644
index 0000000..c63d15a
--- /dev/null
+++ b/python-keystoneclient.spec
@@ -0,0 +1,71 @@
+#
+# This is 2012.1 essex-3 milestone
+#
+%global release_name essex
+%global release_letter e
+%global milestone 3
+
+Name:       python-keystoneclient
+Version:    2012.1
+Release:    0.1.%{release_letter}%{milestone}%{?dist}
+Summary:    Python API and CLI for OpenStack Keystone
+
+Group:      Development/Languages
+License:    ASL 2.0
+URL:        https://github.com/openstack/python-keystoneclient
+BuildArch:  noarch
+
+Source0:    http://launchpad.net/keystone/%{release_name}/%{release_name}-%{milestone}/+download/%{name}-%{version}~%{release_letter}%{milestone}.tar.gz
+
+Requires:   python-simplejson
+Requires:   python-httplib2
+Requires:   python-prettytable
+
+BuildRequires: python-setuptools
+
+%description
+Client library and command line utility for interacting with Openstack
+Keystone's API.
+
+%package doc
+Summary:    Documentation for OpenStack Keystone API Client
+Group:      Documentation
+
+Requires:   %{name} = %{version}-%{release}
+
+BuildRequires: python-sphinx
+
+%description doc
+Documentation for the client library for interacting with Openstack
+Keystone's API.
+
+%prep
+%setup -q
+
+%build
+%{__python} setup.py build
+
+%install
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+
+# Delete tests
+rm -fr %{buildroot}%{python_sitelib}/tests
+
+export PYTHONPATH="$( pwd ):$PYTHONPATH"
+sphinx-build -b html docs html
+
+# Fix hidden-file-or-dir warnings
+rm -fr html/.doctrees html/.buildinfo
+
+%files
+%doc README.rst
+%{_bindir}/keystone
+%{python_sitelib}/keystoneclient
+%{python_sitelib}/*.egg-info
+
+%files doc
+%doc html
+
+%changelog
+* Thu Jan 26 2012 Cole Robinson <crobinso at redhat.com> - 2012.1-0.1.e3
+- Initial package
diff --git a/sources b/sources
index e69de29..d8f8622 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+06bf1b5d1ff38e37c0303316a67877d4  python-keystoneclient-2012.1~e3.tar.gz


More information about the scm-commits mailing list