38 lines
808 B
RPMSpec
38 lines
808 B
RPMSpec
Name: python-yubico
|
|
Version: 1.2.1
|
|
Release: 1%{?dist}
|
|
Summary: Pure-python library for interacting with Yubikeys
|
|
|
|
License: BSD
|
|
URL: https://github.com/Yubico/python-yubico
|
|
Source0: https://github.com/Yubico/python-yubico/archive/%{name}-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
BuildRequires: python2-devel
|
|
BuildRequires: python-setuptools
|
|
Requires: pyusb
|
|
|
|
%description
|
|
Pure-python library for interacting with Yubikeys
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{name}-%{version}
|
|
|
|
|
|
%build
|
|
%{__python2} setup.py build
|
|
|
|
|
|
%install
|
|
%{__python2} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
|
|
|
|
|
%files
|
|
%doc COPYING NEWS README
|
|
%{python2_sitelib}/*
|
|
|
|
|
|
%changelog
|
|
* Thu Jun 19 2014 Nathaniel McCallum <npmccallum@redhat.com> - 1.2.1-1
|
|
- Initial release.
|