[python-libcloud/f16] First commit
Daniel Bruno
dbruno at fedoraproject.org
Tue Jan 3 20:01:32 UTC 2012
commit 6df0702ace5b2f6077a84b02f5cb522430df9e7e
Author: Daniel Bruno <danielbrunos at gmail.com>
Date: Tue Jan 3 16:01:14 2012 -0400
First commit
.gitignore | 1 +
python-libcloud.spec | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 58 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f1bc74c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/apache-libcloud-0.6.2.tar.bz2
diff --git a/python-libcloud.spec b/python-libcloud.spec
new file mode 100644
index 0000000..893ef1b
--- /dev/null
+++ b/python-libcloud.spec
@@ -0,0 +1,56 @@
+%if 0%{?fedora} < 13 || 0%{?rhel} < 6
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+%endif
+
+%global tarball_name apache-libcloud
+
+Name: python-libcloud
+Version: 0.6.2
+Release: 3%{?dist}
+Summary: A Python library to address multiple cloud provider APIs
+
+Group: Development/Languages
+License: ASL 2.0
+URL: http://libcloud.apache.org/
+Source0: http://pypi.python.org/packages/source/a/apache-libcloud/%{tarball_name}-%{version}.tar.bz2
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: python-devel python-setuptools
+
+%description
+libcloud is a client library for interacting with many of the popular cloud
+server providers. It was created to make it easy for developers to build
+products that work between any of the services that it supports.
+
+%prep
+%setup -qn %{tarball_name}-%{version}
+
+
+%build
+%{__python} setup.py build
+
+
+%install
+rm -rf %{buildroot}
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%files
+%defattr(-,root,root,-)
+%doc LICENSE README
+%{python_sitelib}/*
+
+
+%changelog
+* Fri Dec 30 2011 Daniel Bruno dbruno at fedoraproject.org - 0.6.2-3
+- Standardizing the description
+
+* Tue Nov 22 2011 Daniel Bruno dbruno at fedoraproject.org - 0.6.2-2
+- First build package build
+
+
diff --git a/sources b/sources
index e69de29..fc885cb 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+f14bc9896fbcedebadddac68b3e11762 apache-libcloud-0.6.2.tar.bz2
More information about the scm-commits
mailing list