1
0
python-apache-libcloud/python-apache-libcloud.spec

79 lines
2.8 KiB
RPMSpec

#
# spec file for package python-apache-libcloud
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# 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: 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()")}
%else
BuildArch: noarch
%endif
%description
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 <http://libcloud.apache.org> for
more information.
For API documentation and examples, see:
<http://libcloud.apache.org/getting-started.html>
Feedback
========
Please send feedback to the mailing list at <dev@libcloud.apache.org>,
or the JIRA at <https://issues.apache.org/jira/browse/LIBCLOUD>.
%prep
%setup -q -n apache-libcloud-%{version}
%build
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(-,root,root,-)
%doc README LICENSE CHANGES
%{python_sitelib}/*
%changelog