aws-cli/aws-cli.spec
Robert Schweikert b335f80ded - update to version 1.7.29 (bnc#905354)
+ Follow up to previous update to address compatibility with latest
    amazon-ecs-agent
  + From 1.7.28
    - feature:aws ec2: Add support for Spot Fleet.
    - feature:aws opsworks: Add support for custom AutoScaling.
    - feature:aws elasticbeanstalk: Update model to latest version.
  + From 1.7.27
    - feature:aws ds: Add support for AWS Directory Service.
    - feature:aws ec2: Add support for VPC endpoints for Amazon S3.
    - feature:aws ec2: Add support for EIP Migration.
    - feature:aws logs: Add support for filtering log events.
  + From 1.7.26
    - feature:aws glacier: Add support for vault policies.
    - bugfix:aws iam create-open-id-connect-provider: Fix issue where the
      --url parameter would try to retrieve the contents from the url instead
      of use the url as its value. (issue 1317)
    - bugfix:aws workspaces: Fix issue where throttling errors were not
      being retried (botocore issue 529)
  + From 1.7.25
    - feature:aws dynamodb query: Add support for KeyConditonExpression.
  + From 1.7.24
    - feature:aws help topics: Add support for listing available help topics.
    - feature:aws help config-vars: Add help topic for configuration variables.
    - feature:aws help return-codes: Add help topic for return codes.
    - feature:aws help s3-config: Add help topic for configuration of s3
      commands.
    - bugfix:aws lambda create-function/update-function-code: Improve
      error message when invalid --zip-file values are provided (issue 1296)
    - feature:aws ec2: Add support for new VM Import APIs, including

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/aws-cli?expand=0&rev=9
2015-05-27 17:44:13 +00:00

75 lines
2.5 KiB
RPMSpec

#
# spec file for package aws-cli
#
# Copyright (c) 2015 SUSE LINUX 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: aws-cli
Version: 1.7.29
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
#Patch0: hide_py_pckgmgmt.patch
Requires: python
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
Requires: python-argparse >= 1.1
%endif
Requires: python-bcdoc >= 0.14.0
Requires: python-bcdoc < 0.15.0
Requires: python-botocore >= 1.0.0
Requires: python-colorama <= 0.3.3
Requires: python-colorama >= 0.2.5
Requires: python-docutils >= 0.10
Requires: python-rsa >= 3.1.2
Requires: python-rsa <= 3.1.4
BuildRequires: python
BuildRequires: python-devel
BuildRequires: python-setuptools
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
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
#%patch0 -p1
%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