forked from pool/python-google-auth
66 lines
2.1 KiB
RPMSpec
66 lines
2.1 KiB
RPMSpec
|
#
|
|||
|
# spec file for package python-google-auth
|
|||
|
#
|
|||
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
|||
|
#
|
|||
|
# All modifications and additions to the file contributed by third parties
|
|||
|
# remain the property of their copyright owners, unless otherwise agreed
|
|||
|
# upon. The license for this file, and modifications and additions to the
|
|||
|
# file, is the same license as for the pristine package itself (unless the
|
|||
|
# license for the pristine package is not an Open Source License, in which
|
|||
|
# case the license is the MIT License). An "Open Source License" is a
|
|||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|||
|
# published by the Open Source Initiative.
|
|||
|
|
|||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|||
|
#
|
|||
|
|
|||
|
|
|||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|||
|
Name: python-google-auth
|
|||
|
Version: 1.2.1
|
|||
|
Release: 0
|
|||
|
Summary: Google Authentication Library
|
|||
|
License: Apache-2.0
|
|||
|
Group: Development/Languages/Python
|
|||
|
Url: https://github.com/GoogleCloudPlatform/google-auth-library-python
|
|||
|
Source: https://pypi.python.org/packages/83/f2/9dc87be31962a58c84e844c1f47d52a4e2811ba2e15253a036be3ae8acd8/google-auth-%{version}.tar.gz
|
|||
|
BuildRequires: %{python_module cachetools}
|
|||
|
BuildRequires: %{python_module devel}
|
|||
|
BuildRequires: %{python_module pyasn1-modules}
|
|||
|
BuildRequires: %{python_module pyasn1}
|
|||
|
BuildRequires: %{python_module rsa}
|
|||
|
BuildRequires: %{python_module setuptools}
|
|||
|
BuildRequires: %{python_module six}
|
|||
|
BuildRequires: fdupes
|
|||
|
BuildRequires: python-rpm-macros
|
|||
|
Requires: python-cachetools
|
|||
|
Requires: python-pyasn1
|
|||
|
Requires: python-pyasn1-modules
|
|||
|
Requires: python-rsa
|
|||
|
Requires: python-setuptools
|
|||
|
Requires: python-six
|
|||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||
|
BuildArch: noarch
|
|||
|
|
|||
|
%python_subpackages
|
|||
|
|
|||
|
%description
|
|||
|
This library simplifies using Google’s various server-to-server authentication mechanisms to access Google APIs.
|
|||
|
|
|||
|
%prep
|
|||
|
%setup -q -n google-auth-%{version}
|
|||
|
|
|||
|
%build
|
|||
|
%python_build
|
|||
|
|
|||
|
%install
|
|||
|
%python_install
|
|||
|
%fdupes %{buildroot}%{_prefix}
|
|||
|
|
|||
|
%files %{python_files}
|
|||
|
%defattr(-,root,root,-)
|
|||
|
%{python_sitelib}/*
|
|||
|
|
|||
|
%changelog
|