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) 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:           pyhoca-cli
Release:        0
Summary:        Command line X2Go client written in Python
License:        AGPL-3.0+
Group:          Productivity/Networking/Remote Desktop
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
BuildRequires:  automake >= 1.7.6
BuildRequires:  gcc-c++
BuildRequires:  python-gevent
BuildRequires:  python-greenlet
BuildRequires:  python-paramiko
BuildRequires:  python-setuptools
BuildArch:      noarch
BuildRequires:  python-base >= 2.6.5
Requires:       python-argparse
Requires:       python-base >= 2.6.5
Requires:       python-paramiko
Requires:       python-setproctitle
Requires:       python-x2go >= 0.2.1

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.

%setup -q


python setup.py install --prefix="%_prefix" --root="%buildroot"
install -Dm 0755 pyhoca-cli %{buildroot}%{_bindir}/pyhoca-cli