google-api-python-client/google-api-python-client.spec
Gwyn Ciesla 1e66319a49 2.100.0
2023-09-19 14:14:27 -05:00

49 lines
1.1 KiB
RPMSpec

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