# Ref. https://fedoraproject.org/wiki/Packaging:Python %global pkgname google-resumable-media %global desctxt \ Utilities for Google Media Downloads and Resumable Uploads.\ Name: python-%{pkgname} Version: 0.5.0 Release: 1%{?dist} Summary: Utilities for Google Media Downloads and Resumable Uploads Group: Development/Libraries License: ASL 2.0 URL: https://github.com/googleapis/google-auth-library-python Source0: %{pkgname}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools %description %{desctxt} %package -n python3-%{pkgname} Summary: %{summary} Requires: python3-requests Requires: python3-six %{?python_provide:%python_provide python3-%{pkgname}} %description -n python3-%{pkgname} %{desctxt} %prep %autosetup -n %{pkgname}-%{version} %build %py3_build %install %py3_install %files -n python3-%{pkgname} %doc README.rst %license LICENSE %{python3_sitelib}/* %changelog * Wed May 6 2020 Satoru SATOH - 0.5.0-1 - Initial packaging