Name: yubikey-manager
Version: 0.4.0
Release: 1%{?dist}
Summary: Python library and command line tool for configuring a YubiKey
License: BSD
URL: https://developers.yubico.com/%{name}/
Source0: https://developers.yubico.com/%{name}/Releases/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel swig pcsc-lite-devel
# install_requires from setup.py
BuildRequires: %{py3_dist six pyusb pyscard click cryptography pyOpenSSL}
Requires: python3-%{name}
%description
Command line tool for configuring a YubiKey.
%package -n python3-%{name}
Summary: Python library for configuring a YubiKey
Requires: ykpers pcsc-lite
# install_requires from setup.py
Requires: %{py3_dist six pyusb pyscard click cryptography pyOpenSSL}
%{?python_provide:%python_provide python3-%{name}}
%description -n python3-%{name}
Python library for configuring a YubiKey.
%prep
%autosetup
%build
%py3_build
%install
%py3_install
%check
%{__python3} setup.py test
%files -n python3-%{name}
%license COPYING
%doc NEWS
%{python3_sitelib}/*
%files
%{_bindir}/ykman
%changelog
* Wed Aug 9 2017 Seth Jennings <sethdjennings@gmail.com> - 0.4.0-1
- New package
- Upstream release