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.2.0.4
Release:        0
License:        AGPL-3.0+
Group:          Productivity/Networking/Remote Desktop
Summary:	?
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:         %name-%version.tar.xz

BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:	autoconf >= 2.57, automake >= 1.7.6
BuildRequires:	gcc-c++
BuildRequires:	python-gevent, python-paramiko, python-setuptools
BuildRequires:	python-x2go, xz
%if 0%{?suse_version} >= 1120
BuildArch:	noarch
%endif
Requires:	python-argparse, python-paramiko, python-support >= 0.90
Requires:	python-x2go >= 0.2.0.2

%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
%if 0%{?__xz:1}
%setup -q
%else
tar -xf "%{S:0}" --use=xz;
%setup -DTq
%endif

%build

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

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

%changelog