Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Simmphonie:python
python-python-u2flib-host
python-python-u2flib-host.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-python-u2flib-host.spec of Package python-python-u2flib-host
# # spec file for package python-python-u2flib-host # # 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-%{**}} # Test disabeld. Require BIG5HKSCS-2004.TXT %bcond_with test Name: python-python-u2flib-host Version: 3.0.2 Release: 0 License: BSD-2-Clause Summary: Python based U2F host library Url: https://developers.yubico.com/python-u2flib-host Group: Development/Languages/Python Source: https://developers.yubico.com/python-u2flib-host/Releases/python-u2flib-host-%{version}.tar.gz Source1: https://developers.yubico.com/python-u2flib-host/Releases/python-u2flib-host-%{version}.tar.gz.sig # converted man pageses with asciidoctor from source Source2: u2f-authenticate.1.gz Source3: u2f-register.1.gz BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} %if %{with test} BuildRequires: %{python_module hidapi >= 0.7.99} BuildRequires: %{python_module requests} %endif # SECTION test requirements %if %{with test} BuildRequires: %{python_module cryptography >= 1.0} %endif # /SECTION BuildRequires: fdupes Requires: python-hidapi >= 0.7.99 Requires: python-requests Suggests: python-cryptography >= 1.0 BuildArch: noarch %python_subpackages %description Provides library functionality for communicating with a U2F device over USB. Two executables are provided, u2f-register and u2f-authenticate, which support the register and authenticated commands of U2F as defined in the http://fidoalliance.org/specifications/download[FIDO specifications]. %prep %setup -q -n python-u2flib-host-%{version} sed -i '1i #! /usr/bin/env python' setup.py %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} install -D -m 0644 %{S:2} %{buildroot}%{_mandir}/man1/u2f-authenticate.1.gz install -D -m 0644 %{S:3} %{buildroot}%{_mandir}/man1/u2f-register.1.gz %if %{with test} %check %python_exec setup.py test %endif %files %{python_files} %defattr(-,root,root,-) %doc COPYING ChangeLog NEWS README %python3_only %{_bindir}/u2f-register %python3_only %{_bindir}/u2f-authenticate %python3_only %{_mandir}/man1/u2f* %{python_sitelib}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor