This commit is contained in:
parent
06ae083f44
commit
727ced0c36
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-apache-libcloud
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -13,30 +13,17 @@
|
|||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
|
||||||
|
|
||||||
Name: python-apache-libcloud
|
Name: python-apache-libcloud
|
||||||
Version: 0.13.0
|
Version: 0.13.0
|
||||||
Release: 1
|
Release: 0
|
||||||
License: Apache-2.0
|
License: Apache License (2.0)
|
||||||
Summary: Abstract away differences among multiple cloud provider APIs
|
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: https://libcloud.apache.org
|
Url: http://libcloud.apache.org/
|
||||||
Group: System/Monitoring
|
Group: Development/Languages/Python
|
||||||
Source0: http://pypi.python.org/packages/source/a/apache-libcloud/apache-libcloud-%{version}.tar.bz2
|
Source: https://pypi.python.org/packages/source/a/apache-libcloud/apache-libcloud-%{version}.tar.bz2
|
||||||
BuildRequires: fdupes
|
BuildRequires: python-devel
|
||||||
%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
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
%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()")}
|
%{!?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
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Apache Libcloud is a standard Python library that abstracts away
|
Apache Libcloud - a unified interface into the cloud
|
||||||
differences among multiple cloud provider APIs.
|
====================================================
|
||||||
|
|
||||||
|
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
|
%prep
|
||||||
%setup -q -n apache-libcloud-%{version}
|
%setup -q -n apache-libcloud-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python2.7 setup.py build
|
python setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python2.7 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
%fdupes %{buildroot}%{python_sitelib}/libcloud/test/
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,-)
|
||||||
%doc LICENSE
|
%doc README LICENSE CHANGES
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user