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 | |
---|
3 | Name: python-ecdsa |
---|
4 | Version: 0.13 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | Summary: ECDSA cryptographic signature library |
---|
7 | |
---|
8 | Group: Development/Libraries |
---|
9 | # No version specified. |
---|
10 | License: MIT |
---|
11 | URL: http://github.com/warner/python-ecdsa |
---|
12 | Source0: https://pypi.python.org/pypi/ecdsa/ecdsa-%{version}.tar.gz |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | BuildArch: noarch |
---|
15 | BuildRequires: python-setuptools |
---|
16 | BuildRequires: python-devel |
---|
17 | |
---|
18 | %description |
---|
19 | This is an easy-to-use implementation of ECDSA cryptography (Elliptic Curve |
---|
20 | Digital Signature Algorithm), implemented purely in Python, released under |
---|
21 | the MIT license. With this library, you can quickly create keypairs (signing |
---|
22 | key and verifying key), sign messages, and verify the signatures. The keys |
---|
23 | and signatures are very short, making them easy to handle and incorporate |
---|
24 | into other protocols. |
---|
25 | |
---|
26 | %prep |
---|
27 | %setup -q -n ecdsa-%{version} |
---|
28 | |
---|
29 | %build |
---|
30 | %{__python} setup.py build |
---|
31 | |
---|
32 | %install |
---|
33 | rm -rf $RPM_BUILD_ROOT |
---|
34 | %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT |
---|
35 | |
---|
36 | %clean |
---|
37 | rm -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.