From 44af8d6e50648439693e42396c56ea8d4889914d Mon Sep 17 00:00:00 2001 From: tigro Date: Fri, 12 Jul 2024 04:42:57 +0300 Subject: [PATCH] import python-x2go-0.6.1.3-1.el8 --- .gitignore | 1 + .python-x2go.metadata | 1 + SPECS/python-x2go.spec | 267 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 269 insertions(+) create mode 100644 .gitignore create mode 100644 .python-x2go.metadata create mode 100644 SPECS/python-x2go.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..676bb0c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/python-x2go-0.6.1.3.tar.gz diff --git a/.python-x2go.metadata b/.python-x2go.metadata new file mode 100644 index 0000000..149b11c --- /dev/null +++ b/.python-x2go.metadata @@ -0,0 +1 @@ +57f2cc52c961922234be3dcb92a437634fd44727 SOURCES/python-x2go-0.6.1.3.tar.gz diff --git a/SPECS/python-x2go.spec b/SPECS/python-x2go.spec new file mode 100644 index 0000000..ab98344 --- /dev/null +++ b/SPECS/python-x2go.spec @@ -0,0 +1,267 @@ +%if 0%{?fedora} || 0%{?rhel} >= 8 +%bcond_with python2 +%else +%bcond_without python2 +%endif + +Name: python-x2go +Version: 0.6.1.3 +Release: 1%{?dist} +Summary: Python module providing X2Go client API + +License: AGPLv3+ +URL: http://www.x2go.org/ +Source0: http://code.x2go.org/releases/source/%{name}/%{name}-%{version}.tar.gz + +BuildArch: noarch + +%description +X2Go is a server based computing environment with: + - session resuming + - low bandwidth support + - session brokerage support + - client side mass storage mounting support + - audio support + - authentication by smartcard and USB stick + +This Python module allows you to integrate X2Go client support into your +Python applications by providing a Python-based X2Go client API. + + +%package doc +Summary: Python X2Go client API documentation + +%description doc +This package contains the Python X2Go client API documentation. + + +%if 0%{with python2} +%package -n python2-x2go +Summary: Python module providing X2Go client API +BuildRequires: python2-devel +BuildRequires: python2-setuptools +# For doc build +BuildRequires: /usr/bin/sphinx-build +BuildRequires: python2-configparser +BuildRequires: python2-gevent +BuildRequires: python2-future +BuildRequires: python2-paramiko +BuildRequires: python2-requests +BuildRequires: python2-simplejson +# For docs +BuildRequires: python2-xlib +Requires: nxproxy +Requires: python2-configparser +Requires: python2-gevent +Requires: python2-future +Requires: python2-paramiko +Requires: python2-requests +Requires: python2-simplejson +Requires: python2-xlib +%{?python_provide:%python_provide python2-x2go} + +%description -n python2-x2go +X2Go is a server based computing environment with: + - session resuming + - low bandwidth support + - session brokerage support + - client side mass storage mounting support + - audio support + - authentication by smartcard and USB stick + +This Python module allows you to integrate X2Go client support into your +Python applications by providing a Python-based X2Go client API. +%endif + + +%package -n python%{python3_pkgversion}-x2go +Summary: Python module providing X2Go client API +BuildRequires: python%{python3_pkgversion}-devel +BuildRequires: python%{python3_pkgversion}-setuptools +BuildRequires: /usr/bin/2to3 +# For doc build +BuildRequires: /usr/bin/sphinx-build-3 +BuildRequires: python%{python3_pkgversion}-gevent +BuildRequires: python%{python3_pkgversion}-paramiko +BuildRequires: python%{python3_pkgversion}-requests +BuildRequires: python%{python3_pkgversion}-simplejson +BuildRequires: python%{python3_pkgversion}-xlib +Requires: nxproxy +Requires: python%{python3_pkgversion}-gevent +Requires: python%{python3_pkgversion}-paramiko +Requires: python%{python3_pkgversion}-requests +Requires: python%{python3_pkgversion}-simplejson +Requires: python%{python3_pkgversion}-xlib +%{?python_provide:%python_provide python%{python3_pkgversion}-x2go} + +%description -n python%{python3_pkgversion}-x2go +X2Go is a server based computing environment with: + - session resuming + - low bandwidth support + - session brokerage support + - client side mass storage mounting support + - audio support + - authentication by smartcard and USB stick + +This Python module allows you to integrate X2Go client support into your +Python applications by providing a Python-based X2Go client API. + + +%prep +%setup -q + + +%build +%if 0%{with python2} +%py2_build +%endif +%py3_build +make -C docs SPHINXBUILD=/usr/bin/sphinx-build-3 html + + +%install +%py3_install +%if 0%{with python2} +%py2_install +%endif + + +%if 0%{with python2} +%files -n python2-x2go +%license COPYING +%doc ChangeLog README* TODO +%{python2_sitelib}/x2go* +%endif + +%files -n python%{python3_pkgversion}-x2go +%license COPYING +%doc ChangeLog README* TODO +%{python3_sitelib}/x2go* + +%files doc +%doc docs/build/html + + +%changelog +* Fri Jul 12 2024 Arkady L. Shane - 0.6.1.3-1 +- Rebuilt for MSVSphere 8.10 + +* Tue Jan 21 2020 Orion Poplawski - 0.6.1.3-1 +- Update to 0.6.1.3 + +* Sun Nov 24 2019 Orion Poplawski - 0.6.1.1-1 +- Update to 0.6.1.1 + +* Wed Nov 20 2019 Orion Poplawski - 0.6.1.0-1 +- Update to 0.6.1.0 + +* Tue Oct 29 2019 Orion Poplawski - 0.6.0.2-7 +- Drop dep on python2-x2go from -doc sub-package + +* Thu Oct 03 2019 Miro Hrončok - 0.6.0.2-6 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Mon Aug 19 2019 Miro Hrončok - 0.6.0.2-5 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.6.0.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 8 2019 Orion Poplawski - 0.6.0.2-3 +- Drop requires on python3-configparser, part of python3 standard library + +* Sat Feb 02 2019 Fedora Release Engineering - 0.6.0.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Dec 14 2018 Orion Poplawski - 0.6.0.2-1 +- Update to 0.6.0.2 + +* Sun Oct 07 2018 Orion Poplawski - 0.6.0.0-2 +- Drop Python 2 package for Fedora 30+ (bugz #1632309) + +* Thu Sep 20 2018 Orion Poplawski - 0.6.0.0-1 +- Update to 0.6.0.0 + +* Sat Jul 14 2018 Fedora Release Engineering - 0.5.0.6-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 0.5.0.6-4 +- Rebuilt for Python 3.7 + +* Fri Mar 30 2018 Iryna Shcherbina - 0.5.0.6-3 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + +* Fri Feb 09 2018 Fedora Release Engineering - 0.5.0.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Mon Sep 25 2017 Orion Poplawski - 0.5.0.6-1 +- Update to 0.5.0.6 +- Build python3 version + +* Thu Jul 27 2017 Fedora Release Engineering - 0.5.0.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Mon May 15 2017 Fedora Release Engineering - 0.5.0.5-1 +- Update to 0.5.0.5 +- Ship python2-x2go +- Modernize spec + +* Sat Feb 11 2017 Fedora Release Engineering - 0.5.0.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 0.5.0.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Jul 28 2015 Orion Poplawski - 0.5.0.4-1 +- Update to 0.5.0.4 + +* Thu Jun 18 2015 Fedora Release Engineering - 0.5.0.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Mon Jan 26 2015 Orion Poplawski - 0.5.0.3-1 +- Update to 0.5.0.3 + +* Thu Nov 27 2014 Orion Poplawski - 0.5.0.2-1 +- Update to 0.5.0.2 + +* Mon Oct 20 2014 Orion Poplawski - 0.5.0.1-1 +- Update to 0.5.0.1 + +* Mon Oct 20 2014 Orion Poplawski - 0.5.0.0-1 +- Update to 0.5.0.0 + +* Sun Jun 08 2014 Fedora Release Engineering - 0.4.0.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed Jan 8 2014 Orion Poplawski - 0.4.0.9-1 +- Update to 0.4.0.9 +- Drop python-cups requires + +* Wed Dec 11 2013 Orion Poplawski - 0.4.0.8-1 +- Update to 0.4.0.8 + +* Tue Aug 6 2013 Orion Poplawski - 0.4.0.7-1 +- Update to 0.4.0.7 + +* Sun Aug 04 2013 Fedora Release Engineering - 0.4.0.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Fri Aug 2 2013 Orion Poplawski - 0.4.0.6-3 +- Add requires nxproxy and python-cups +- Build the documentation and ship in -doc sub-package + +* Thu Aug 1 2013 Orion Poplawski - 0.4.0.6-2 +- Remove python shbangs from library scripts + +* Wed Jul 31 2013 Orion Poplawski - 0.4.0.6-1 +- Update to 0.4.0.6 + +* Wed Jul 10 2013 Orion Poplawski - 0.4.0.4-1 +- Update to 0.4.0.4 + +* Tue Feb 12 2013 Orion Poplawski - 0.4.0.0-1 +- Update to 0.4.0.0 + +* Tue Dec 18 2012 Orion Poplawski - 0.2.1.1-1 +- Initial Fedora package