diff --git a/.gitignore b/.gitignore index e69de29..515d409 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/python-yubico-1.2.1.tar.gz diff --git a/python-yubico.spec b/python-yubico.spec new file mode 100644 index 0000000..58699ea --- /dev/null +++ b/python-yubico.spec @@ -0,0 +1,37 @@ +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 - 1.2.1-1 +- Initial release. diff --git a/sources b/sources index e69de29..0f596b2 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +1a6c9eb14d2b57fdf19eed70fcdb1903 python-yubico-1.2.1.tar.gz