[packages/python-ecdsa] - updated to 0.13 - pl

qboosh qboosh at pld-linux.org
Thu Mar 17 21:10:48 CET 2016


commit 9b2a9bd88be6d2dd99d9158e639c569280166eb8
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Mar 17 21:14:52 2016 +0100

    - updated to 0.13
    - pl

 python-ecdsa.spec | 65 ++++++++++++++++++++++++++++++++++---------------------
 1 file changed, 40 insertions(+), 25 deletions(-)
---
diff --git a/python-ecdsa.spec b/python-ecdsa.spec
index 64e510a..b1faaef 100644
--- a/python-ecdsa.spec
+++ b/python-ecdsa.spec
@@ -5,26 +5,28 @@
 
 %define 	module	ecdsa
 Summary:	ECDSA cryptographic signature library
+Summary(pl.UTF-8):	Biblioteka podpisów kryptograficznych ECDSA
 Name:		python-%{module}
-Version:	0.11
-Release:	4
-License:	GPL
+Version:	0.13
+Release:	1
+License:	MIT
 Group:		Development/Languages/Python
-Source0:	http://pypi.python.org/packages/source/e/ecdsa/%{module}-%{version}.tar.gz
-# Source0-md5:	8ef586fe4dbb156697d756900cb41d7c
+#Source0Download: https://pypi.python.org/simple/ecdsa/
+Source0:	https://pypi.python.org/packages/source/e/ecdsa/%{module}-%{version}.tar.gz
+# Source0-md5:	1f60eda9cb5c46722856db41a3ae6670
 URL:		https://pypi.python.org/pypi/ecdsa
-BuildRequires:	rpmbuild(macros) >= 1.710
+BuildRequires:	rpmbuild(macros) >= 1.714
 BuildRequires:	rpm-pythonprov
 %if %{with python2}
-BuildRequires:	python-devel
-BuildRequires:	python-modules
+BuildRequires:	python-devel >= 1:2.6
+BuildRequires:	python-modules >= 1:2.6
 %endif
 %if %{with python3}
-BuildRequires:	python3-2to3
-BuildRequires:	python3-devel
-BuildRequires:	python3-modules
+BuildRequires:	python3-2to3 >= 1:3.2
+BuildRequires:	python3-devel >= 1:3.2
+BuildRequires:	python3-modules >= 1:3.2
 %endif
-Requires:	python
+Requires:	python-modules >= 1:2.6
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -36,10 +38,20 @@ create keypairs (signing key and verifying key), sign messages, and
 verify the signatures. The keys and signatures are very short, making
 them easy to handle and incorporate into other protocols.
 
+%description -l pl.UTF-8
+Ten moduł to implementacja kryptografii ECDSA (Elliptic Curve Digital
+Signature Algorytm - algorytmu podpisu cyfrowego opartego na krzywych
+eliptycznych) w czystym Pythonie, wydana na licencji MIT. Przy użyciu
+tej biblioteki można szybko tworzyć pary kluczy (podpisujący i
+weryfikujący), podpisywać wiadomości oraz sprawdzać podpisy. Klucze i
+podpisy są bardzo krótkie, co czyni je łatwymi do obsłużenia i
+włączenia do innych protokołów.
+
 %package -n python3-%{module}
 Summary:	ECDSA cryptographic signature library
+Summary(pl.UTF-8):	Biblioteka podpisów kryptograficznych ECDSA
 Group:		Libraries/Python
-Requires:	python3
+Requires:	python3-modules >= 1:3.2
 
 %description -n python3-%{module}
 This is an easy-to-use implementation of ECDSA cryptography (Elliptic
@@ -49,35 +61,38 @@ create keypairs (signing key and verifying key), sign messages, and
 verify the signatures. The keys and signatures are very short, making
 them easy to handle and incorporate into other protocols.
 
+%description -n python3-%{module} -l pl.UTF-8
+Ten moduł to implementacja kryptografii ECDSA (Elliptic Curve Digital
+Signature Algorytm - algorytmu podpisu cyfrowego opartego na krzywych
+eliptycznych) w czystym Pythonie, wydana na licencji MIT. Przy użyciu
+tej biblioteki można szybko tworzyć pary kluczy (podpisujący i
+weryfikujący), podpisywać wiadomości oraz sprawdzać podpisy. Klucze i
+podpisy są bardzo krótkie, co czyni je łatwymi do obsłużenia i
+włączenia do innych protokołów.
+
 %prep
 %setup  -q -n ecdsa-%{version}
 
 %build
 %if %{with python2}
-%py_build --build-base py2
+%py_build
 %endif
+
 %if %{with python3}
-%py3_build --build-base py3
+%py3_build
 %endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 %if %{with python2}
 install -d $RPM_BUILD_ROOT%{_examplesdir}/python-%{module}-%{version}
-%py_build \
-	--build-base py2 \
-	install \
-	--optimize 2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 %endif
 
 %if %{with python3}
 install -d $RPM_BUILD_ROOT%{_examplesdir}/python3-%{module}-%{version}
-%py3_build \
-	--build-base py3 \
-	install \
-	--optimize 2 \
-	--root=$RPM_BUILD_ROOT
+%py3_install
 %endif
 
 %clean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-ecdsa.git/commitdiff/9b2a9bd88be6d2dd99d9158e639c569280166eb8



More information about the pld-cvs-commit mailing list