# # spec file for package python-thrift # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python3 1 Name: python2-thrift Version: 0.13.0 Release: 1.1 Summary: bindings for the Apache Thrift RPC system License: MIT Group: Development/Languages/Python Url: https://thrift.apache.org/ Source: https://files.pythonhosted.org/packages/97/1e/3284d19d7be99305eda145b8aa46b0c33244e4a496ec66440dac19f8274d/thrift-0.13.0.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: fdupes %python_subpackages %description Thrift is a lightweight, language-independent software stack for point-to-point RPC implementation. Thrift provides clean abstractions and implementations for data transpor data serialization, and application level processing. The code generatio system takes a simple definition language as input and generates code across programming languages that uses the abstracted stack to build interoperable RPC clients and servers. %prep %setup -q -n thrift-%{version} %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %files %{python_files} %{python_sitearch}/* %changelog * Mon May 25 2020 Holger Bruenjes - initial package for version 0.13.0