7370f12
# Share doc between python- and python3-
7370f12
%global _docdir_fmt %{name}
7370f12
%global sum Google APIs Client Library for Python
7370f12
%global srcname google-api-client
7370f12
7370f12
Name:           google-api-python-client
7370f12
Summary:        %{sum}
ed5e60d
Epoch:          2
e6d2153
Version:        2.32.0
f948712
Release:        %autorelease
7370f12
7370f12
License:        ASL 2.0
7d41097
URL:            https://github.com/googleapis/%{name}/
0dcb5fd
Source0:        https://github.com/googleapis/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
0dcb5fd
7370f12
BuildArch:      noarch
7370f12
7d41097
BuildRequires:  python3-devel
7d41097
BuildRequires:  pyproject-rpm-macros
7d41097
7370f12
%description 
5361904
Written by Google, this library provides a small, flexible, and powerful
7370f12
Python client library for accessing Google APIs.
7370f12
7370f12
%package -n python3-%{srcname}
7370f12
Summary:        %{sum}
7370f12
7370f12
%description -n python3-%{srcname}
7370f12
Written by Google, this library provides a small, flexible, and powerful 
7370f12
Python 3 client library for accessing Google APIs.
7370f12
7370f12
%prep
0dcb5fd
%autosetup
7370f12
7d41097
%generate_buildrequires
7d41097
%pyproject_buildrequires -r
7370f12
7370f12
%build
7d41097
%pyproject_wheel
7370f12
7370f12
%install
7d41097
%pyproject_install
7d41097
%pyproject_save_files googleapiclient apiclient
7370f12
7d41097
%files -n python3-%{srcname} -f %{pyproject_files}
7370f12
%license LICENSE 
0dcb5fd
%doc README.md
7370f12
7370f12
%changelog
f948712
%autochangelog