[packages/python-coinkit] - BR: python-setuptools
qboosh
qboosh at pld-linux.org
Mon Oct 28 20:35:01 CET 2019
commit cd0423882de9487039715146d304b6fd8b5c2281
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Oct 28 20:34:54 2019 +0100
- BR: python-setuptools
python-coinkit.spec | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
---
diff --git a/python-coinkit.spec b/python-coinkit.spec
index 776286a..3fc2a39 100644
--- a/python-coinkit.spec
+++ b/python-coinkit.spec
@@ -5,24 +5,29 @@
%define module coinkit
Summary: Tools for Bitcoin and other cryptocurrencies
+Summary(pl.UTF-8): Narzędzia do Bitcoinów i innych kryptowalut
Name: python-%{module}
Version: 0.3
Release: 9
License: MIT
Group: Libraries/Python
+#Source0Download: https://github.com/halfmoonlabs/coinkit/releases
+#TODO: use https://github.com/halfmoonlabs/coinkit/archive/v%{version}/%{name}-%{version}.tar.gz
Source0: https://github.com/halfmoonlabs/coinkit/archive/v%{version}.tar.gz
# Source0-md5: 2e5bd02391fa38766a5644e7abfa9750
URL: https://github.com/halfmoonlabs/coinkit
-BuildRequires: rpmbuild(macros) >= 1.710
+BuildRequires: rpmbuild(macros) >= 1.714
BuildRequires: rpm-pythonprov
%if %{with python2}
BuildRequires: python-devel
BuildRequires: python-modules
+BuildRequires: python-setuptools
%endif
%if %{with python3}
BuildRequires: python3-2to3
BuildRequires: python3-devel
BuildRequires: python3-modules
+BuildRequires: python3-setuptools
%endif
Requires: python
Requires: python-ecdsa >= 0.10
@@ -32,8 +37,12 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Tools for Bitcoin and other cryptocurrencies.
-%package -n python3-%{module}
+%description -l pl.UTF-8
+Narzędzia do Bitcoinów i innych kryptowalut.
+
+%package -n python3-%{module}
Summary: Tools for Bitcoin and other cryptocurrencies
+Summary(pl.UTF-8): Narzędzia do Bitcoinów i innych kryptowalut
Group: Libraries/Python
Requires: python3
Requires: python3-ecdsa >= 0.10
@@ -41,6 +50,9 @@ Requires: python3-ecdsa >= 0.10
%description -n python3-%{module}
Tools for Bitcoin and other cryptocurrencies.
+%description -n python3-%{module} -l pl.UTF-8
+Narzędzia do Bitcoinów i innych kryptowalut.
+
%prep
%setup -q -n coinkit-%{version}
@@ -48,12 +60,14 @@ Tools for Bitcoin and other cryptocurrencies.
%if %{with python2}
%py_build
%endif
+
%if %{with python3}
%py3_build
%endif
%install
rm -rf $RPM_BUILD_ROOT
+
%if %{with python2}
install -d $RPM_BUILD_ROOT%{_examplesdir}/python-%{module}-%{version}
%py_install
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-coinkit.git/commitdiff/cd0423882de9487039715146d304b6fd8b5c2281
More information about the pld-cvs-commit
mailing list