[python-psphere] Initial package import.

Chris Lalancette clalance at fedoraproject.org
Tue Jul 19 14:15:47 UTC 2011


commit 2afb7020b971ae18f8184788fdad37937a32de64
Author: Chris Lalancette <clalance at redhat.com>
Date:   Tue Jul 19 10:15:26 2011 -0400

    Initial package import.
    
    Signed-off-by: Chris Lalancette <clalance at redhat.com>

 .gitignore          |    1 +
 python-psphere.spec |   43 +++++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 3 files changed, 45 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..6086c06 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/psphere-0.1.4.tar.gz
diff --git a/python-psphere.spec b/python-psphere.spec
new file mode 100644
index 0000000..8f69dbb
--- /dev/null
+++ b/python-psphere.spec
@@ -0,0 +1,43 @@
+Summary: vSphere SDK for Python
+Name: python-psphere
+Version: 0.1.4
+Release: 1%{?dist}
+Source0: https://bitbucket.org/jkinred/psphere/downloads/psphere-%{version}.tar.gz
+License: ASL 2.0
+Group: Development/Libraries
+BuildArch: noarch
+BuildRequires: python-setuptools
+Requires: python-suds
+URL: http://jkinred.bitbucket.org/psphere
+
+
+%description
+pSphere provides native Python bindings for the vSphere Web Services SDK
+(formerly known as VMware Infrastructure SDK). The project is in its early
+phases but can already perform most query operations and virtual machine
+creation.
+
+pSphere is in no way affiliated with VMware Inc.
+
+
+%prep
+%setup -q -n psphere-%{version}
+sed -i '/\/usr\/bin\/env python/d' psphere/scripting.py
+
+
+%build
+%{__python} setup.py build
+
+
+%install
+%{__python} setup.py install --root=$RPM_BUILD_ROOT --skip-build
+
+
+%files
+%{python_sitelib}/psphere/
+%{python_sitelib}/psphere-*.egg-info
+
+
+%changelog
+* Thu Jul 14 2011 Chris Lalancette <clalance at redhat.com> - 0.1.4-1
+- Initial package.
diff --git a/sources b/sources
index e69de29..445da21 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ad89bac02df9afc6be70cdc2c58e56b3  psphere-0.1.4.tar.gz


More information about the scm-commits mailing list