[packages/pyhoca-cli] new, version 0.5.0.2

glen glen at pld-linux.org
Sat May 30 14:23:51 CEST 2015


commit 83d5b8d026ccf6b74cadca56a7b637d1957b1d6c
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat May 30 15:23:08 2015 +0300

    new, version 0.5.0.2
    
    based on fedora package, 3b85943

 pyhoca-cli.spec | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 61 insertions(+)
---
diff --git a/pyhoca-cli.spec b/pyhoca-cli.spec
new file mode 100644
index 0000000..0d2ee9a
--- /dev/null
+++ b/pyhoca-cli.spec
@@ -0,0 +1,61 @@
+Summary:	Command line X2Go client written in Python
+Name:		pyhoca-cli
+Version:	0.5.0.2
+Release:	1
+License:	AGPLv3+
+Group:		Applications/Communications
+Source0:	http://code.x2go.org/releases/source/pyhoca-cli/%{name}-%{version}.tar.gz
+# Source0-md5:	fe00e243dddd20f5fdb68a521fd92a54
+URL:		http://www.x2go.org/
+BuildRequires:	python-setuptools
+BuildRequires:	rpm-pythonprov
+Requires:	python-argparse
+Requires:	python-setproctitle
+Requires:	python-x2go
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+X2Go is a server based computing environment with:
+- session resuming
+- low bandwidth support
+- LDAP support
+- client side mass storage mounting support
+- client side printing support
+- audio support
+- authentication by smartcard and USB stick
+
+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
+%setup -q
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install --skip-build \
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}}
+cp -p %{name} $RPM_BUILD_ROOT%{_bindir}
+cp -a man/* $RPM_BUILD_ROOT%{_mandir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc COPYING README TODO
+%attr(755,root,root) %{_bindir}/%{name}
+%dir %{py_sitescriptdir}/pyhoca
+%dir %{py_sitescriptdir}/pyhoca/cli
+%{py_sitescriptdir}/pyhoca/cli/*.py[co]
+%{py_sitescriptdir}/PyHoca_CLI-%{version}-py*.egg-info
+%{_mandir}/man1/%{name}.1*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pyhoca-cli.git/commitdiff/83d5b8d026ccf6b74cadca56a7b637d1957b1d6c



More information about the pld-cvs-commit mailing list