source: projects/specs/trunk/p/python-ecdsa/python-ecdsa-vl.spec @ 9549

Revision 9549, 1.5 KB checked in by kudoh, 9 years ago (diff)

new upstream release

Line 
1%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
2
3Name:           python-ecdsa
4Version:        0.13
5Release:        1%{?_dist_release}
6Summary:        ECDSA cryptographic signature library
7
8Group:          Development/Libraries
9# No version specified.
10License:        MIT
11URL:            http://github.com/warner/python-ecdsa
12Source0:        https://pypi.python.org/pypi/ecdsa/ecdsa-%{version}.tar.gz
13BuildRoot:      %{_tmppath}/%{name}-%{version}-root
14BuildArch:      noarch
15BuildRequires: python-setuptools
16BuildRequires: python-devel
17
18%description
19This is an easy-to-use implementation of ECDSA cryptography (Elliptic Curve
20Digital Signature Algorithm), implemented purely in Python, released under
21the MIT license. With this library, you can quickly create keypairs (signing
22key and verifying key), sign messages, and verify the signatures. The keys
23and signatures are very short, making them easy to handle and incorporate
24into other protocols.
25
26%prep
27%setup -q -n ecdsa-%{version}
28
29%build
30%{__python} setup.py build
31
32%install
33rm -rf $RPM_BUILD_ROOT
34%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
35
36%clean
37rm -rf $RPM_BUILD_ROOT
38
39%files
40%defattr(-,root,root,-)
41%doc LICENSE README.md
42%{python_sitelib}/*
43
44%changelog
45* Sat May 09 2015 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.13-1
46- new upstream release
47
48* Mon Jan 13 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.10-1
49- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.