LogoopenSUSE Build Service > Projects
Sign Up | Log In

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

#
# spec file for package pyhoca-cli
#
# 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:           pyhoca-cli
Version:        0.4.0.1
Release:        0
License:        AGPL-3.0+
Group:		Productivity/Networking/Remote Desktop
Summary:	Command line X2Go client written in Python
URL:            http://x2go.org/

#DL-URL:	http://code.x2go.org/releases/source/pyhoca-cli/
#Git-Clone:	git://code.x2go.org/pyhoca-cli
#Git-Web:	http://code.x2go.org/gitweb?p=pyhoca-cli.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

BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:	autoconf >= 2.57, automake >= 1.7.6
BuildRequires:	gcc-c++
BuildRequires:	python-gevent, python-greenlet
BuildRequires:	python-paramiko, python-setuptools
%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.6.5
Requires:	python-base >= 2.6.5
%else
BuildRequires:	python >= 2.6.5
Requires:	python >= 2.6.5
%endif
Requires:	python-argparse, python-paramiko
Requires:	python-x2go >= 0.2.1

%description
PyHoca-CLI provides a simple and flexible command line client written
in Python that allows you to control X2Go client sessions on desktops
and thin clients.

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

%build

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

%files
%defattr(-,root,root)
%python_sitelib/pyhoca
%python_sitelib/PyHoca_CLI*

%changelog