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) 2013 SUSE LINUX Products 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
Version:        0.4.0.8
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
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} >= 1230
BuildRequires:  gpg-offline
%endif
%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
Requires:       nxproxy
Requires:       python-cups
Requires:       python-gevent >= 0.13.0
Requires:       python-paramiko
Requires:       python-xlib

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

%prep
%{?gpg_verify: %gpg_verify %{S:2}}
%setup -q

%build
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/;

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

%files
%defattr(-,root,root)
%python_sitelib/x2go*
%doc README README.Trinity-Desktop TODO

%changelog