%global modname axolotl-curve25519 %global gitrelease 0.4.1-2 %global desc This is python wrapper for curve25519 library with ed25519 signatures. The C \ code was pulled from lib-axolotl-android. At the moment this wrapper is \ meant for use by python-axolotl Name: python-%{modname} Version: 0.4.1_2 Release: 1%{?dist} Summary: Python wrapper for curve25519 with ed25519 signatures License: GPLv3 URL: https://github.com/tgalal/%{name} Source0: https://github.com/tgalal/%{name}/archive/%{gitrelease}.tar.gz#/%{name}-%{gitrelease}.tar.gz BuildRequires: python2-devel BuildRequires: python3-devel %description %{desc}. %package -n python2-%{modname} Summary: %{summary} %{?python_provide:%python_provide python2-%{modname}} %description -n python2-%{modname} %{desc}. %package -n python3-%{modname} Summary: %{summary} %{?python_provide:%python_provide python3-%{modname}} %description -n python3-%{modname} %{desc}. %prep %setup -q -n %{name}-%{gitrelease} %build %py2_build %py3_build %install %py2_install %py3_install %files -n python2-%{modname} %license LICENSE %doc README.md %{python2_sitearch}/* %files -n python3-%{modname} %license LICENSE %doc README.md %{python3_sitearch}/* %changelog * Sun Jun 17 2018 Philip Brown - 0.4.1_2-1 - Updated to github release 0.4.1-2 - Changed url/source to github - Macros: added or changed description, documentation, gitrelease, license, summary * Thu May 11 2017 Christian Dersch - 0.1-2 - rebuilt * Thu Oct 06 2016 Christian Dersch - 0.1-1 - Initial packaging effort