2014-02-26 20:04:35 +01:00
|
|
|
#
|
|
|
|
# spec file for package aws-cli
|
|
|
|
#
|
2016-04-11 23:54:31 +02:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2014-02-26 20:04:35 +01:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
2014-10-24 02:03:57 +02:00
|
|
|
|
|
|
|
Name: aws-cli
|
2016-04-11 23:54:31 +02:00
|
|
|
Version: 1.10.19
|
2014-10-24 02:03:57 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Amazon Web Services Command Line Interface
|
|
|
|
License: Apache-2.0
|
|
|
|
Group: System/Management
|
|
|
|
Url: https://github.com/aws/aws-cli
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
2015-05-28 00:33:00 +02:00
|
|
|
Patch0: hide_py_pckgmgmt.patch
|
2014-10-24 02:03:57 +02:00
|
|
|
Requires: python
|
2014-02-26 20:04:35 +01:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
2014-10-24 02:03:57 +02:00
|
|
|
Requires: python-argparse >= 1.1
|
2014-02-26 20:04:35 +01:00
|
|
|
%endif
|
2016-04-11 23:54:31 +02:00
|
|
|
Requires: python-botocore >= 1.4.10
|
|
|
|
Requires: python-colorama <= 0.3.3
|
|
|
|
Requires: python-colorama >= 0.2.5
|
|
|
|
Requires: python-docutils >= 0.10
|
|
|
|
Requires: python-rsa <= 3.3.0
|
|
|
|
Requires: python-rsa >= 3.1.2
|
2016-04-12 10:36:28 +02:00
|
|
|
Requires: python-s3transfer >= 0.0.1
|
2014-10-24 02:03:57 +02:00
|
|
|
BuildRequires: python
|
|
|
|
BuildRequires: python-devel
|
|
|
|
BuildRequires: python-setuptools
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2014-02-26 20:04:35 +01:00
|
|
|
%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
|
|
|
|
The AWS Command Line Interface (CLI) is a unified tool to manage your AWS services. With just one tool to download and configure, you can control multiple AWS services from the command line and automate them through scripts.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2016-04-11 23:54:31 +02:00
|
|
|
%patch0
|
2014-02-26 20:04:35 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
python setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot} --install-scripts=%{_bindir}
|
|
|
|
# No DOS crap
|
|
|
|
rm %{buildroot}/%{_bindir}/aws.cmd
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc CHANGELOG.rst LICENSE.txt README.rst
|
|
|
|
%dir %{python_sitelib}/awscli
|
|
|
|
%dir %{python_sitelib}/awscli-%{version}-py%{py_ver}.egg-info
|
|
|
|
%{_bindir}/*
|
|
|
|
%{python_sitelib}/awscli/*
|
|
|
|
%{python_sitelib}/*egg-info/*
|
|
|
|
|
|
|
|
%changelog
|