From 727ced0c3690c8562bfd0a2200ae7790a7d194845549d0f493ae45d9ec618e4e Mon Sep 17 00:00:00 2001 From: Niels Abspoel Date: Mon, 1 Jul 2013 18:10:20 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=29 --- python-apache-libcloud.spec | 70 ++++++++++++++++++++++--------------- 1 file changed, 41 insertions(+), 29 deletions(-) diff --git a/python-apache-libcloud.spec b/python-apache-libcloud.spec index c3feff6..9bcd26a 100644 --- a/python-apache-libcloud.spec +++ b/python-apache-libcloud.spec @@ -1,7 +1,7 @@ # # spec file for package python-apache-libcloud # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -13,30 +13,17 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ -# + Name: python-apache-libcloud Version: 0.13.0 -Release: 1 -License: Apache-2.0 -Summary: Abstract away differences among multiple cloud provider APIs -Url: https://libcloud.apache.org -Group: System/Monitoring -Source0: http://pypi.python.org/packages/source/a/apache-libcloud/apache-libcloud-%{version}.tar.bz2 -BuildRequires: fdupes -%if 0%{?sles_version} -BuildRequires: python -Requires: python -%endif -BuildRequires: python-distribute -BuildRequires: python-unittest2 -BuildRequires: python-mock -Requires: python-simplejson -%if 0%{?suse_version} >= 1210 -BuildRequires: systemd -%endif -Requires(pre): %fillup_prereq -Requires(pre): %insserv_prereq +Release: 0 +License: Apache License (2.0) +Summary: A standard Python library that abstracts away differences among multiple cloud provider APIs. For more information and documentation, please see http://libcloud.apacheorg +Url: http://libcloud.apache.org/ +Group: Development/Languages/Python +Source: https://pypi.python.org/packages/source/a/apache-libcloud/apache-libcloud-%{version}.tar.bz2 +BuildRequires: python-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} @@ -45,22 +32,47 @@ BuildArch: noarch %endif %description -Apache Libcloud is a standard Python library that abstracts away -differences among multiple cloud provider APIs. +Apache Libcloud - a unified interface into the cloud +==================================================== + +Apache Libcloud is a Python library which hides differences between different +cloud provider APIs and allows you to manage different cloud resources +through a unified and easy to use API. + +Resource you can manage with Libcloud are divided in the following categories: + +* Cloud Servers - services such as Amazon EC2 and Rackspace CloudServers + (libcloud.compute.*) +* Cloud Storage - services such as Amazon S3 and Rackspace CloudFiles + (libcloud.storage.*) +* Load Balancers as a Service, LBaaS (libcloud.loadbalancer.*) +* DNS as a Service, DNSaaS (libcloud.dns.*) + +Apache libcloud is an Apache project, see for +more information. + +For API documentation and examples, see: + + +Feedback +======== + +Please send feedback to the mailing list at , +or the JIRA at . + %prep %setup -q -n apache-libcloud-%{version} %build -python2.7 setup.py build +python setup.py build %install -python2.7 setup.py install --prefix=%{_prefix} --root=%{buildroot} -%fdupes %{buildroot}%{python_sitelib}/libcloud/test/ +python setup.py install --prefix=%{_prefix} --root=%{buildroot} %files -%defattr(-,root,root) -%doc LICENSE +%defattr(-,root,root,-) +%doc README LICENSE CHANGES %{python_sitelib}/* %changelog