mirror of
https://abf.rosa.ru/djam/python-jsonrpclib.git
synced 2025-02-23 23:42:58 +00:00
38 lines
885 B
RPMSpec
38 lines
885 B
RPMSpec
%global srcname jsonrpclib
|
|
|
|
Name: python-%{srcname}
|
|
Version: 0.1.7
|
|
Release: 1
|
|
Summary: JSON-RPC v2.0 client library for Python
|
|
License: ASL 2.0
|
|
Group: Development/Python
|
|
URL: https://pypi.python.org/pypi/%{srcname}
|
|
Source0: https://pypi.python.org/packages/source/j/%{srcname}/%{srcname}-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
BuildRequires: python-devel
|
|
BuildRequires: python-setuptools
|
|
|
|
%description
|
|
This project is an implementation of the JSON-RPC v2.0 specification
|
|
(backwards-compatible) as a client library.
|
|
|
|
|
|
%prep
|
|
%setup -q -n %{srcname}-%{version}
|
|
|
|
|
|
%build
|
|
%{__python2} setup.py build
|
|
|
|
|
|
%install
|
|
%{__python2} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
|
|
|
|
|
%files
|
|
%doc README.md LICENSE.txt
|
|
%{python2_sitelib}/%{srcname}
|
|
%{python2_sitelib}/%{srcname}-%{version}-py%{python2_version}.egg-info
|
|
|
|
|
|
%changelog
|