LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File python-x2go.spec of Package python-x2go (Project X11:RemoteDesktop:x2go)

# spec file for package python-x2go
# 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 http://bugs.opensuse.org/

Name:           python-x2go
Summary:        Python module for x2go client support
License:        GPL-2.0+
Group:          Development/Languages/Python
Release:        0
Url:            http://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

BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python-gevent
#, python-greenlet
BuildRequires:  python-paramiko
BuildRequires:  python-setuptools
BuildRequires:  python-xlib
#BuildRequires:	epydoc
%if 0%{?suse_version} >= 1120
BuildArch:      noarch
%if 0%{?suse_version} >= 1110
BuildRequires:  python-base >= 2.5
Requires:       python-base >= 2.5
BuildRequires:  python >= 2.5
Requires:       python >= 2.5
%if 0%{?suse_version}
Recommends:     cups-client
Requires:       cups
Requires:       nxproxy
Requires:       python-cups
Requires:       python-gevent >= 0.13.0
Requires:       python-paramiko
Requires:       python-xlib

This Python module allows you to integrate x2go client support into
your Python applications by providing a Python-based x2go client API.

%setup -q

python setup.py build;
#rm -Rf .epydoc/html/*;
#epydoc --debug -n "Python x2go" -u http://www.x2go.org \
#	-v --html --no-private -o .epydoc/html x2go/;

python setup.py install --prefix="%_prefix" --root="%buildroot";

%doc README README.Trinity-Desktop TODO