File python-x2go.spec of Package python-x2go
#
# spec file for package python-x2go
#
# Copyright (c) 2021 SUSE LLC
#
# 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/
#
Name: python-x2go
Version: 0.6.1.3
Release: 0
Summary: Python module for x2go client support
License: GPL-2.0-or-later
Group: Development/Languages/Python
URL: https://x2go.org/
#Git-Clone: git://code.x2go.org/python-x2go
#Git-Web: http://code.x2go.org/gitweb?p=python-x2go.git;a=summary
#DL-URL: http://code.x2go.org/releases/source/python-x2go/
Source: http://code.x2go.org/releases/source/%name/%name-%version.tar.gz
Source2: http://code.x2go.org/releases/source/%name/%name-%version.tar.gz.asc
Source3: %name.keyring
Source4: %name-rpmlintrc
BuildRequires: python-configparser
BuildRequires: python-future
BuildRequires: python-gevent
BuildRequires: python-paramiko
BuildRequires: python-requests
BuildRequires: python-setuptools
BuildRequires: python-simplejson
BuildRequires: python-xlib
Requires: nxproxy
Requires: python-configparser
Requires: python-cups
Requires: python-future
Requires: python-gevent >= 0.13.0
Requires: python-paramiko
Requires: python-requests
Requires: python-simplejson
Requires: python-xlib
%if 0%{?suse_version} >= 1120
BuildArch: noarch
%endif
%if 0%{?suse_version} >= 1110
BuildRequires: python-base >= 2.5
Requires: python-base >= 2.5
%else
BuildRequires: python >= 2.5
Requires: python >= 2.5
%endif
%if 0%{?suse_version}
Recommends: cups-client
%else
Requires: cups
%endif
%description
This Python module allows you to integrate x2go client support into
your Python applications by providing a Python-based x2go client API.
%prep
%setup -q
%build
python setup.py build;
%install
python setup.py install --prefix="%_prefix" --root="%buildroot";
%files
%python_sitelib/x2go*
%doc README README.Trinity-Desktop TODO
%changelog