1
0
Todd R 2013-01-28 15:09:52 +00:00 committed by Git OBS Bridge
parent 9be3c01596
commit dd90621e90

View File

@ -15,42 +15,43 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python-apache-libcloud
Version: 0.11.4
Release: 1%{?dist}
Summary: Apache Libcloud abstracts away differences among multiple cloud provider APIs
Group: System/Monitoring
License: Apache-2.0
URL: https://libcloud.apache.org
Source0: http://www.mirrorservice.org/sites/ftp.apache.org/libcloud/apache-libcloud-%{version}.tar.bz2
BuildRoot: %{_tmppath}/apache-libcloud-%{version}-build
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
BuildArchitectures: noarch
%endif
BuildRequires: python
BuildRequires: python-distribute
Requires: python-simplejson
Name: python-apache-libcloud
Version: 0.11.4
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: python
BuildRequires: python-distribute
Requires: python-simplejson
%if 0%{?suse_version} >= 1210
BuildRequires: systemd
%endif
Requires(pre): %fillup_prereq
Requires(pre): %insserv_prereq
Requires(pre): %fillup_prereq
Requires(pre): %insserv_prereq
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 is a standard Python library that abstracts away differences among multiple cloud provider APIs.
Apache Libcloud is a standard Python library that abstracts away
differences among multiple cloud provider APIs.
%prep
%setup -q -n apache-libcloud-%{version}
%build
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%files
%defattr(-,root,root)
%doc LICENSE
%{python_sitelib}/*