File pyhoca-cli.spec of Package pyhoca-cli
# # spec file for package pyhoca-cli # # Copyright (c) 2021 SUSE LLC # # 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 https://bugs.opensuse.org/ # Name: pyhoca-cli Version: 0.6.1.2 Release: 0 Summary: Command-line X2Go client written in Python License: AGPL-3.0-or-later Group: Productivity/Networking/Remote Desktop URL: https://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 BuildRequires: autoconf >= 2.57 BuildRequires: automake >= 1.7.6 BuildRequires: gcc-c++ BuildRequires: python3-base >= 2.6.5 BuildRequires: python3-gevent BuildRequires: python3-greenlet BuildRequires: python3-paramiko BuildRequires: python3-setuptools Requires: python3-argparse Requires: python3-base >= 2.6.5 Requires: python3-paramiko Requires: python3-setproctitle Requires: python3-x2go >= 0.2.1 BuildArch: noarch %description PyHoca-CLI provides a command line client written in Python that allows controlling X2Go client sessions on desktops and thin clients. %prep %autosetup %build %install python3 setup.py install --prefix="%_prefix" --root=%buildroot install -Dm 0755 pyhoca-cli %buildroot/%_bindir/pyhoca-cli %files %license COPYING %doc README %python3_sitelib/pyhoca %python3_sitelib/PyHoca_CLI* %_bindir/pyhoca-cli %changelog