diff --git a/0.9.1.tar.gz b/0.9.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..224989a07c606a5574044a28c7f94373027ec9b1 Binary files /dev/null and b/0.9.1.tar.gz differ diff --git a/python-fido2.spec b/python-fido2.spec new file mode 100644 index 0000000000000000000000000000000000000000..05829150668d713da8893d53d05cd1637e1c156b --- /dev/null +++ b/python-fido2.spec @@ -0,0 +1,49 @@ +Name: python-fido2 +Version: 0.9.1 +Release: 1 +Summary: Python based FIDO 2.0 library +License: BSD-2-Clause and Apache-2.0 and MPL-2.0 +URL: https://github.com/Yubico/python-fido2 +Source0: https://github.com/Yubico/python-fido2/archive/refs/tags/0.9.1.tar.gz +BuildArch: noarch + +%description +Provides library functionality for communicating with a FIDO device +over USB as well as verifying attestation and assertion signatures. + +%package -n python3-fido2 +Summary: Python based FIDO 2.0 library +Provides: python-fido2 +BuildRequires: python3-devel python3-setuptools + +%description -n python3-fido2 +Provides library functionality for communicating with a FIDO device +over USB as well as verifying attestation and assertion signatures. + + +%package help +Summary: Development documents and examples for fido2 +Provides: python3-fido2-doc + +%description help +Documentation for python3-fido2. + +%prep +%autosetup -n python-fido2-0.9.1 + +%build +%py3_build + +%install +%py3_install + +%files -n python3-fido2 +%{python3_sitelib}/fido2 +%{python3_sitelib}/fido2-0.9.1-py%{python3_version}.egg-info + +%files help +%doc examples + +%changelog +* Fri Jul 16 2021 Kou Wenqi - 0.9.1-1 +- Init package