awscli/awscli.spec

287 lines
9.6 KiB
RPMSpec
Raw Normal View History

2016-01-10 11:18:52 +00:00
%if 0%{?rhel}
2016-12-03 16:14:09 +00:00
%bcond_with python3
2016-01-10 11:18:52 +00:00
%else
2016-12-03 16:14:09 +00:00
%bcond_without python3
2016-01-10 11:18:52 +00:00
%endif
2018-03-04 01:32:43 +00:00
%global botocore_version 1.9.1
2016-12-03 16:14:09 +00:00
2016-01-10 11:18:52 +00:00
Name: awscli
2018-03-17 19:43:43 +00:00
Version: 1.14.58
2018-03-09 02:06:07 +00:00
Release: 1%{?dist}
2016-01-10 11:18:52 +00:00
Summary: Universal Command Line Environment for AWS
License: ASL 2.0 and MIT
URL: http://aws.amazon.com/cli
2016-05-28 10:37:04 +00:00
Source0: https://pypi.io/packages/source/a/%{name}/%{name}-%{version}.tar.gz
2016-01-10 11:18:52 +00:00
BuildArch: noarch
2016-12-03 16:14:09 +00:00
%if %{with python3}
2016-01-10 11:18:52 +00:00
BuildRequires: python3-devel
BuildRequires: python3-setuptools
2016-12-03 16:14:09 +00:00
Requires: python3-botocore = %{botocore_version}
2016-05-28 10:37:04 +00:00
Requires: python3-colorama >= 0.2.5
Requires: python3-docutils >= 0.10
Requires: python3-rsa >= 3.1.2
2016-10-27 18:38:21 +00:00
Requires: python3-s3transfer >= 0.1.9
2016-12-13 20:13:54 +00:00
Requires: python3-PyYAML >= 3.10
2016-01-10 11:18:52 +00:00
%else
BuildRequires: python2-devel
BuildRequires: python-setuptools
2016-12-03 16:14:09 +00:00
Requires: python2-botocore = %{botocore_version}
2016-05-28 10:37:04 +00:00
Requires: python-colorama >= 0.2.5
Requires: python-docutils >= 0.10
Requires: python2-rsa >= 3.1.2
2016-10-27 18:38:21 +00:00
Requires: python2-s3transfer >= 0.1.9
2016-12-13 20:13:54 +00:00
Requires: PyYAML >= 3.10
2016-12-03 16:14:09 +00:00
%endif # with python3
2016-01-10 11:18:52 +00:00
%if 0%{?fedora}
Recommends: bash-completion
Recommends: zsh
%endif # Fedora
2016-12-03 16:14:09 +00:00
%if %{with python3}
2016-01-10 11:18:52 +00:00
%{?python_provide:%python_provide python3-%{name}}
%else
%{?python_provide:%python_provide python2-%{name}}
2016-12-03 16:14:09 +00:00
%endif # with python3
2016-01-10 11:18:52 +00:00
%description
This package provides a unified
command line interface to Amazon Web Services.
%prep
%setup -q -n %{name}-%{version}
rm -rf %{name}.egg-info
%build
2016-12-03 16:14:09 +00:00
%if %{with python3}
2016-01-10 11:18:52 +00:00
%py3_build
%else
2016-09-13 12:57:51 +00:00
%py2_build
2016-12-03 16:14:09 +00:00
%endif # with python3
2016-01-10 11:18:52 +00:00
%install
2016-12-03 16:14:09 +00:00
%if %{with python3}
2016-01-10 11:18:52 +00:00
%py3_install
%else
2016-09-13 12:57:51 +00:00
%py2_install
2016-12-03 16:14:09 +00:00
%endif # with python3
2016-01-10 11:18:52 +00:00
# Fix path and permissions for bash completition
%global bash_completion_dir /etc/bash_completion.d
2016-01-10 11:18:52 +00:00
mkdir -p %{buildroot}%{bash_completion_dir}
mv %{buildroot}%{_bindir}/aws_bash_completer %{buildroot}%{bash_completion_dir}
chmod 644 %{buildroot}%{bash_completion_dir}/aws_bash_completer
# Fix path and permissions for zsh completition
%global zsh_completion_dir /usr/share/zsh/site-functions
mkdir -p %{buildroot}%{zsh_completion_dir}
mv %{buildroot}%{_bindir}/aws_zsh_completer.sh %{buildroot}%{zsh_completion_dir}
chmod 644 %{buildroot}%{zsh_completion_dir}/aws_zsh_completer.sh
ls -alh %{buildroot}%{zsh_completion_dir}/aws_zsh_completer.sh
# We don't need the Windows CMD script
rm %{buildroot}%{_bindir}/aws.cmd
%files
%{!?_licensedir:%global license %doc}
%doc README.rst
%license LICENSE.txt
%{_bindir}/aws
%{_bindir}/aws_completer
%dir %{bash_completion_dir}
%{bash_completion_dir}/aws_bash_completer
%dir %{zsh_completion_dir}
%{zsh_completion_dir}/aws_zsh_completer.sh
2016-12-03 16:14:09 +00:00
%if %{with python3}
2016-01-10 11:18:52 +00:00
%{python3_sitelib}/awscli
%{python3_sitelib}/%{name}-%{version}-py?.?.egg-info
%else
%{python2_sitelib}/awscli
%{python2_sitelib}/%{name}-%{version}-py?.?.egg-info
2016-12-03 16:14:09 +00:00
%endif # with python3
2016-01-10 11:18:52 +00:00
%changelog
2018-03-17 19:43:43 +00:00
* Sat Mar 17 2018 Kevin Fenzi <kevin@scrye.com> - 1.14.58-1
- Update to 1.4.58. Fixes bug #1555085
2018-03-14 00:43:53 +00:00
* Tue Mar 13 2018 Kevin Fenzi <kevin@scrye.com> - 1.14.55-1
- Update to 1.4.55. Fixes bug #1555085
2018-03-13 23:12:53 +00:00
* Tue Mar 13 2018 Kevin Fenzi <kevin@scrye.com> - 1.14.54-1
2018-03-14 00:43:53 +00:00
- Update to 1.14.54. Fixes bug #1554552
2018-03-13 23:12:53 +00:00
2018-03-09 02:06:07 +00:00
* Thu Mar 08 2018 Kevin Fenzi <kevin@scrye.com> - 1.14.53-1
- Update to 1.14.53. Fixes bug 1552345
2018-03-04 01:32:43 +00:00
* Sat Mar 03 2018 Kevin Fenzi <kevin@scrye.com> - 1.14.50-2
- Update for new python-botocore.
2018-03-03 22:31:50 +00:00
* Sat Mar 03 2018 Kevin Fenzi <kevin@scrye.com> - 1.14.50-1
- Update to 1.14.50. Fixes bug #1550746
2018-03-01 21:14:06 +00:00
* Thu Mar 01 2018 Kevin Fenzi <kevin@scrye.com> - 1.14.49-1
- Update to 1.14.49. Fixes bug #1549549
2018-02-24 19:32:11 +00:00
* Sat Feb 24 2018 Kevin Fenzi <kevin@scrye.com> - 1.14.46-1
- Update to 1.14.46. Fixes bug #1546901
2018-02-18 05:17:08 +00:00
* Sat Feb 17 2018 Kevin Fenzi <kevin@scrye.com> - 1.14.41-1
- Update to 1.14.41. Fixes bug #1546437
2018-02-17 02:29:23 +00:00
* Fri Feb 16 2018 Kevin Fenzi <kevin@scrye.com> - 1.14.40-1
- Update to 1.14.40. Fixes bug #1544045
2018-02-09 00:44:10 +00:00
* Thu Feb 08 2018 Kevin Fenzi <kevin@scrye.com> - 1.14.34-1
- Update to 1.14.34. Fixes bug #1543659
2018-02-07 17:25:31 +00:00
* Wed Feb 07 2018 Kevin Fenzi <kevin@scrye.com> - 1.14.33-1
- Update to 1.14.33. Fixes bug #1542468
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.32-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Jan 31 2018 Kevin Fenzi <kevin@scrye.com> - 1.14.32-2
- Fix python-botocore version requirement.
2018-01-31 19:55:36 +00:00
* Wed Jan 31 2018 Kevin Fenzi <kevin@scrye.com> - 1.14.32-1
- Update to 1.14.32. Fixes bug #1481464
2017-08-13 14:53:35 +00:00
* Sun Aug 13 2017 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.11.133-1
- Update to 1.11.133
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.109-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2017-06-21 12:26:50 +00:00
* Wed Jun 21 2017 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.11.109-2
- Forgot to update
2017-06-21 12:22:34 +00:00
* Wed Jun 21 2017 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.11.109-1
- Update to 1.11.109
2017-05-23 13:42:41 +00:00
* Tue May 23 2017 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.11.90-1
- Update to 1.11.90
2017-03-15 23:33:10 +00:00
* Wed Mar 15 2017 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.11.63-1
- Update to 1.11.63
2017-02-25 23:21:37 +00:00
* Sat Feb 25 2017 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.11.55-1
- Update to 1.11.55
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.40-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2017-01-20 11:28:19 +00:00
* Fri Jan 20 2017 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.11.40-1
- Update to 1.11.40
2016-12-27 23:54:14 +00:00
* Wed Dec 28 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.11.34-2
- Update to 1.11.34
2016-12-19 17:20:36 +00:00
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.11.28-3
- Rebuild for Python 3.6
2016-12-13 20:13:54 +00:00
* Tue Dec 13 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.11.28-2
- Add PyYAML dependency
* Sun Dec 11 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.11.28-1
2016-12-11 11:39:22 +00:00
- Update to 1.11.28
2016-12-13 20:13:54 +00:00
* Sat Dec 03 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.11.24-1
2016-12-03 16:14:09 +00:00
- Update to 1.11.24
2016-12-13 20:13:54 +00:00
* Thu Nov 24 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.11.21-1
2016-11-24 13:41:03 +00:00
- Update to 1.11.21
2016-12-13 20:13:54 +00:00
* Mon Oct 10 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.11.12-1
2016-11-24 13:41:03 +00:00
- Update to 1.11.12
2016-10-10 16:46:26 +00:00
2016-12-13 20:13:54 +00:00
* Sun Oct 02 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.11.0-1
2016-10-02 19:13:58 +00:00
- Update to 1.11.0
2016-12-13 20:13:54 +00:00
* Wed Sep 28 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.10.67-1
2016-09-28 10:20:14 +00:00
- Update to 1.10.67
2016-12-13 20:13:54 +00:00
* Wed Sep 07 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.10.62-1
2016-09-07 09:34:41 +00:00
- Update to 1.10.62
2016-12-13 20:13:54 +00:00
* Wed Aug 24 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.10.59-1
2016-08-23 23:27:27 +00:00
- Update to current upstream version
2016-12-13 20:13:54 +00:00
* Fri Aug 05 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.10.53-1
2016-08-05 07:21:17 +00:00
- Update to current upstream version
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.45-2
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
2016-12-13 20:13:54 +00:00
* Wed Jul 06 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.10.45-1
2016-06-08 20:43:29 +00:00
- Update to current upstream version
2016-12-13 20:13:54 +00:00
* Wed Jun 08 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.10.36-1
2016-05-28 10:37:04 +00:00
- Update to current upstream version
2016-12-13 20:13:54 +00:00
* Sat May 28 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.10.34-1
2016-02-24 09:51:11 +00:00
- Update to current upstream version
2016-12-13 20:13:54 +00:00
* Wed Feb 24 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.10.7-1
2016-07-06 11:01:00 +00:00
- Update to current upstream version
2016-12-13 20:13:54 +00:00
* Tue Feb 23 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.10.6-2
2016-02-23 18:03:57 +00:00
- Fix broken dependency
2016-12-13 20:13:54 +00:00
* Fri Feb 19 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.10.6-1
2016-02-19 12:57:19 +00:00
- Update to current upstream version
2016-12-13 20:13:54 +00:00
* Wed Feb 17 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.10.5-1
2016-02-17 19:22:31 +00:00
- Update to current upstream version
2016-12-13 20:13:54 +00:00
* Fri Feb 12 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.10.4-1
2016-02-12 14:58:20 +00:00
- Update to current upstream version
2016-12-13 20:13:54 +00:00
* Wed Feb 10 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.10.3-1
2016-02-10 09:00:57 +00:00
- Update to current upstream version
2016-12-13 20:13:54 +00:00
* Tue Feb 09 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.10.2-1
2016-02-10 08:59:43 +00:00
- Update to current upstream version
2016-12-13 20:13:54 +00:00
* Tue Feb 02 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.10.1-1
2016-02-02 14:51:53 +00:00
- Update to current upstream version
2016-12-13 20:13:54 +00:00
* Fri Jan 22 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.10.0-1
2016-01-22 13:08:22 +00:00
- Update to current upstream version
2016-12-13 20:13:54 +00:00
* Wed Jan 20 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.9.21-1
2016-01-20 06:55:14 +00:00
- Update to current upstream version
- Don't fix documentation permissions any more (pull request merged)
2016-12-13 20:13:54 +00:00
* Fri Jan 15 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.920-1
2016-01-15 11:35:32 +00:00
- Update to current upstream version
2016-12-13 20:13:54 +00:00
* Fri Jan 15 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.9.19-1
- Update to current upstream version
- Don't substitue the text of bin/aws_bash_completer anymore (pull request merged)
- Don't remove the shabang from awscli/paramfile.py anymore (pull request merged)
2016-12-13 20:13:54 +00:00
* Wed Jan 13 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.9.18-1
- Update to current upstream version
- Fix completion for bash
- Remove bcdoc dependency that is not used anymore
2016-12-13 20:13:54 +00:00
* Sun Jan 10 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.9.17-1
- Update to current upstream version
2016-01-10 11:53:39 +00:00
- Lock the botocore dependency version
2016-12-13 20:13:54 +00:00
* Sat Jan 09 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.9.16-1
2016-01-10 11:18:52 +00:00
- Update to current upstream version
- Add dir /usr/share/zsh
- Add dir /usr/share/zsh/site-functions
- Add MIT license (topictags.py is MIT licensed)
- Move dependency from python-devel to python2-devel
- Add Recommends lines for zsh and bsah-completion for Fedora
- Remove BuildReuires: bash-completion
- Remove the macros py2_build and py2_install to prefer the extended form
- Force non-executable bit for documentation
- Remove shabang from awscli/paramfile.py
- Fix bash completion
- Fix zsh completion
- Remove aws.cmd
2016-12-13 20:13:54 +00:00
* Tue Dec 29 2015 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.9.15-1
2016-01-10 11:18:52 +00:00
- Initial package.