python-awscli/python-awscli.spec

59 lines
1.7 KiB
RPMSpec

Name: python-awscli
Version: 1.18.124
Release: 2mamba
Summary: A unified command line interface to Amazon Web Services
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://aws.amazon.com/cli/
Source: https://pypi.debian.net/awscli/awscli-%{version}.tar.gz
#Source: https://pypi.python.org/packages/source/a/awscli/awscli-%{version}.tar.gz
License: Apache License 2.0
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython3-devel
## AUTOBUILDREQ-END
Requires: python-botocore-py3
Requires: python-dateutil-py3
Requires: python-jmespath-py3
Requires: python-colorama-py3
Requires: python-docutils-py3
Requires: python-rsa-py3
Requires: python-pyasn1-py3
Requires: python-s3transfer-py3
Requires: python3 >= %python3_version
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
%{summary}.
%prep
%setup -q -n awscli-%{version}
%build
CFLAGS="%{optflags}" %{__python3} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python3} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python3_sitearch} \
--record=%{name}.filelist
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
%files -f %{name}.filelist
%defattr(-,root,root)
%changelog
* Sun Aug 23 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.18.124-2mamba
- require python-s3transfer-py3
* Sun Aug 23 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.18.124-1mamba
- update to 1.18.124
* Mon Dec 21 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.12-1mamba
- package created using the webbuild interface