# Created by pyp2rpm-3.3.6
%global pypi_name s4cmd

Name:           python-%{pypi_name}
Version:        2.1.0
Release:        1%{?dist}
Summary:        Super S3 command line tool

License:        http://www.apache.org/licenses/LICENSE-2.0
URL:            https://github.com/bloomreach/s4cmd
Source0:        %{pypi_source}
BuildArch:      noarch

BuildRequires:  python3-devel
BuildRequires:  python3dist(setuptools)

%description
 Super S3 command line tool [![Build Status]( [![Join the chat at s4cmd]( Chou-
han Yang ([@chouhanyang]( Maintainers**: Naveen Vardhi ([@rozuur]( | Navin Pai
([@navinpai]( What's New in s4cmd 2.x- Fully migrated from old boto 2.x to new
[boto3]( library, which provides more reliable and up-to-date S3 backend.

%package -n     python3-%{pypi_name}
Summary:        %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}

Requires:       python3dist(boto3) >= 1.3.1
Requires:       python3dist(pytz) >= 2016.4
Requires:       python3dist(setuptools)
%description -n python3-%{pypi_name}
 Super S3 command line tool [![Build Status]( [![Join the chat at s4cmd]( Chou-
han Yang ([@chouhanyang]( Maintainers**: Naveen Vardhi ([@rozuur]( | Navin Pai
([@navinpai]( What's New in s4cmd 2.x- Fully migrated from old boto 2.x to new
[boto3]( library, which provides more reliable and up-to-date S3 backend.


%prep
%autosetup -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info

%build
%py3_build

%install
%py3_install

%files -n python3-%{pypi_name}
%doc README.md
%{_bindir}/s4cmd
%{_bindir}/s4cmd.py
%{python3_sitelib}/__pycache__/*
%{python3_sitelib}/%{pypi_name}.py
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info

%changelog
* Mon Aug 02 2021 mockbuilder - 2.1.0-1
- Initial package.