[python-pyotp] Initial import.

Konstantin Ryabitsev icon at fedoraproject.org
Tue Mar 6 19:35:48 UTC 2012


commit 6bc6c730d55e6470bdc199d52f406951faea22c7
Author: Konstantin Ryabitsev <mricon at kernel.org>
Date:   Tue Mar 6 14:35:39 2012 -0500

    Initial import.

 .gitignore        |    1 +
 python-pyotp.spec |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 sources           |    1 +
 3 files changed, 49 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..46a5ab3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pyotp-1.3.1.tar.gz
diff --git a/python-pyotp.spec b/python-pyotp.spec
new file mode 100644
index 0000000..f4cbeca
--- /dev/null
+++ b/python-pyotp.spec
@@ -0,0 +1,47 @@
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+
+Name:           python-pyotp
+Version:        1.3.1
+Release:        1%{?dist}
+Summary:        Python One Time Password library
+
+License:        BSD
+URL:            http://pypi.python.org/pypi/pyotp
+Source0:        http://pypi.python.org/packages/source/p/pyotp/pyotp-%{version}.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  python-devel
+
+%description
+A Python library for generating one time passwords according to 
+RFC 4226 and the HOTP RFC.
+
+
+%prep
+%setup -q -n pyotp-%{version}
+
+
+%build
+%{__python} setup.py build
+
+
+%check
+%{__python} test.py
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+ 
+%files
+%doc README.markdown LICENSE
+%{python_sitelib}/*
+
+
+%changelog
+* Tue Feb 29 2012 Konstantin Ryabitsev <icon at fedoraproject.org> - 1.3.1-1
+- Update to 1.3.1 which includes the LICENSE file.
+
+* Tue Feb 28 2012 Konstantin Ryabitsev <icon at fedoraproject.org> - 1.3.0-1
+- Initial packaging.
diff --git a/sources b/sources
index e69de29..84c3df9 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+7c45ca9a13f863caa1e8146e07d2b8b2  pyotp-1.3.1.tar.gz


More information about the scm-commits mailing list