From ba8e3772db88fcab42cfba11a1c227e838ca75bd Mon Sep 17 00:00:00 2001 From: Yohan Graterol Date: Thu, 13 Jun 2013 09:52:34 -0430 Subject: [PATCH] First Commit Python-Rsa --- .gitignore | 1 + python-rsa.spec | 42 ++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 44 insertions(+) create mode 100644 python-rsa.spec diff --git a/.gitignore b/.gitignore index e69de29..b6e717a 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/rsa-3.1.1.tar.gz diff --git a/python-rsa.spec b/python-rsa.spec new file mode 100644 index 0000000..a4359e1 --- /dev/null +++ b/python-rsa.spec @@ -0,0 +1,42 @@ +%global pkgname rsa + +Name: python-rsa +Version: 3.1.1 +Release: 2%{?dist} +Summary: Pure-Python RSA implementation + +License: ASL 2.0 +URL: http://stuvel.eu/rsa +Source0: https://pypi.python.org/packages/source/r/rsa/%{pkgname}-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: python2-devel +BuildRequires: python-setuptools +BuildRequires: python-pyasn1 +BuildRequires: python-unittest2 + +%description +Pure-Python RSA implementation + +%prep +%setup -q -n %{pkgname}-%{version} +rm -rf %{pkgname}-*.egg-info + +%build +%{__python} setup.py build + + +%install +%{__python} setup.py install -O1 --skip-build --root {BUILDROOT} + +%check +%{__python} run_tests.py + +%files +%doc LICENSE + +%changelog +* Sun May 26 2013 Yohan Graterol - 3.1.1-2 +- Change license name, remove MANIFEST.in +* Sun May 19 2013 Yohan Graterol - 3.1.1-1 +- Initial packaging diff --git a/sources b/sources index e69de29..4c44283 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +01e6b88c078e8f74718a455e0a05623d rsa-3.1.1.tar.gz