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) 2012 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
Version:        0.2.0.10
Release:        0
License:        GPL-2.0+
Group:          Development/Languages/Python
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:         %name-%version.tar.xz
Source2:	%name-rpmlintrc

BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:	python-gevent
#, python-greenlet
BuildRequires:	python-paramiko
BuildRequires:	python-setuptools, python-xlib, xz
#BuildRequires:	epydoc
%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, python-gevent >= 0.13.0, 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
%if 0%{?__xz:1}
%setup -q
%else
tar -xf "%{S:0}" --use=xz;
%setup -DTq
%endif

%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