49 lines
1.1 KiB
RPMSpec
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.41.0
|
|
Release: %autorelease
|
|
|
|
License: ASL 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
|