2018-04-20 08:02:47 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-fido2
|
|
|
|
#
|
2022-01-15 17:36:17 +00:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2018-04-20 08:02:47 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2018-09-27 19:15:01 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2018-04-20 08:02:47 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-fido2
|
2022-12-05 17:35:59 +00:00
|
|
|
Version: 1.1.0
|
2018-04-20 08:02:47 +00:00
|
|
|
Release: 0
|
2018-04-22 08:42:59 +00:00
|
|
|
Summary: Python-based FIDO 2.0 library
|
2021-05-25 11:32:59 +00:00
|
|
|
License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MPL-2.0
|
2018-04-20 08:02:47 +00:00
|
|
|
Group: Development/Languages/Python
|
2020-04-20 12:42:46 +00:00
|
|
|
URL: https://github.com/Yubico/python-fido2
|
2022-01-15 17:36:17 +00:00
|
|
|
Source0: https://github.com/Yubico/python-fido2/releases/download/%{version}/fido2-%{version}.tar.gz
|
2022-12-05 17:35:59 +00:00
|
|
|
Source1: https://github.com/Yubico/python-fido2/releases/download/%{version}/fido2-%{version}.tar.gz.asc
|
|
|
|
Source2: %{name}.keyring
|
|
|
|
BuildRequires: %{python_module base >= 3.7}
|
|
|
|
BuildRequires: %{python_module cryptography >= 2.6}
|
|
|
|
BuildRequires: %{python_module pip}
|
|
|
|
BuildRequires: %{python_module poetry-core >= 1.0}
|
2019-05-28 21:51:46 +00:00
|
|
|
BuildRequires: %{python_module pyfakefs >= 3.4}
|
2018-04-20 08:02:47 +00:00
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
2022-12-05 17:35:59 +00:00
|
|
|
Requires: python-cryptography >= 2.6
|
2018-04-20 08:02:47 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
%description
|
2018-04-22 08:42:59 +00:00
|
|
|
This library supports the FIDO U2F and FIDO 2.0 protocols for communicating
|
2018-04-20 08:02:47 +00:00
|
|
|
with a USB authenticator via the Client-to-Authenticator Protocol (CTAP 1 and 2).
|
|
|
|
In addition to this low-level device access, classes defined in the fido2.client
|
|
|
|
implement higher level device operations.
|
|
|
|
|
|
|
|
%prep
|
2021-05-07 09:05:53 +00:00
|
|
|
%autosetup -p1 -n fido2-%{version}
|
2018-04-20 08:02:47 +00:00
|
|
|
|
|
|
|
%build
|
2022-12-05 17:35:59 +00:00
|
|
|
%pyproject_wheel
|
2018-04-20 08:02:47 +00:00
|
|
|
|
|
|
|
%install
|
2022-12-05 17:35:59 +00:00
|
|
|
%pyproject_install
|
2018-04-20 08:02:47 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
%check
|
2021-05-25 11:32:59 +00:00
|
|
|
%pyunittest discover -v
|
2018-04-20 08:02:47 +00:00
|
|
|
|
|
|
|
%files %{python_files}
|
|
|
|
%doc NEWS* README*
|
|
|
|
%license COPYING*
|
2022-12-15 09:49:09 +00:00
|
|
|
%{python_sitelib}/fido2
|
|
|
|
%{python_sitelib}/fido2-%{version}*-info
|
2018-04-20 08:02:47 +00:00
|
|
|
|
|
|
|
%changelog
|