Imported from SRPM

This commit is contained in:
Sergey Zhemoitel 2016-10-29 00:23:03 +03:00
commit 4caf41432d
2 changed files with 40 additions and 0 deletions

2
.abf.yml Normal file
View file

@ -0,0 +1,2 @@
sources:
jsonrpclib-0.1.7.tar.gz: fabeca1d7c60d9f3c7088aa1ec72a746e8f5d0a4

38
python-jsonrpclib.spec Normal file
View file

@ -0,0 +1,38 @@
%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