|
|
0edabc2 |
Name: pyhoca-gui
|
|
Orion Poplawski |
b615dc1 |
Version: 0.5.0.7
|
|
|
f863fad |
Release: 7%{?dist}
|
|
|
0edabc2 |
Summary: Graphical X2Go client written in (wx)Python
|
|
|
0edabc2 |
|
|
|
0edabc2 |
License: AGPLv3+
|
|
|
0edabc2 |
URL: http://www.x2go.org/
|
|
|
0edabc2 |
Source0: http://code.x2go.org/releases/source/%{name}/%{name}-%{version}.tar.gz
|
|
Orion Poplawski |
a5ae9db |
# Fix python3 issues not handled by 2to3
|
|
Orion Poplawski |
a5ae9db |
# http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=1286
|
|
Orion Poplawski |
13b91c8 |
Patch0: pyhoca-gui-file.patch
|
|
Orion Poplawski |
13b91c8 |
Patch1: pyhoca-gui-mro.patch
|
|
|
0edabc2 |
|
|
|
0edabc2 |
BuildArch: noarch
|
|
Orion Poplawski |
13b91c8 |
%if 0%{?fedora} >= 28 || 0%{?rhel} >= 8
|
|
Orion Poplawski |
13b91c8 |
BuildRequires: /usr/bin/2to3
|
|
Orion Poplawski |
13b91c8 |
BuildRequires: python%{python3_pkgversion}-devel
|
|
Orion Poplawski |
13b91c8 |
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
Orion Poplawski |
13b91c8 |
BuildRequires: python%{python3_pkgversion}-distutils-extra
|
|
Orion Poplawski |
13b91c8 |
%else
|
|
|
0edabc2 |
BuildRequires: python2-devel
|
|
|
03995b4 |
BuildRequires: python2-setuptools
|
|
|
03995b4 |
BuildRequires: python2-distutils-extra
|
|
Orion Poplawski |
13b91c8 |
%endif
|
|
|
0edabc2 |
BuildRequires: desktop-file-utils
|
|
Orion Poplawski |
ba8c6e1 |
BuildRequires: gettext
|
|
|
0edabc2 |
BuildRequires: intltool
|
|
Orion Poplawski |
13b91c8 |
%if 0%{?fedora} >= 28 || 0%{?rhel} >= 8
|
|
Orion Poplawski |
13b91c8 |
Requires: python%{python3_pkgversion}-cups
|
|
Orion Poplawski |
13b91c8 |
Requires: python%{python3_pkgversion}-setproctitle
|
|
Orion Poplawski |
13b91c8 |
Requires: python%{python3_pkgversion}-x2go >= 0.5.0.0
|
|
Orion Poplawski |
13b91c8 |
Requires: libnotify
|
|
Orion Poplawski |
13b91c8 |
Requires: python%{python3_pkgversion}-gobject-base
|
|
Orion Poplawski |
082bb7c |
Requires: python%{python3_pkgversion}-wxpython4
|
|
Orion Poplawski |
13b91c8 |
%else
|
|
Orion Poplawski |
4aaa41c |
%if 0%{?rhel} && 0%{?rhel} < 7
|
|
|
5435246 |
Requires: system-config-printer-libs
|
|
Orion Poplawski |
ba8c6e1 |
Requires: python-argparse
|
|
|
5435246 |
%else
|
|
|
03995b4 |
Requires: python2-cups
|
|
|
5435246 |
%endif
|
|
|
03995b4 |
Requires: python2-setproctitle
|
|
|
03995b4 |
Requires: python2-x2go >= 0.5.0.0
|
|
Orion Poplawski |
0d945d8 |
%if 0%{?fedora} >= 22
|
|
Orion Poplawski |
0d945d8 |
Requires: libnotify
|
|
|
03995b4 |
Requires: python2-gobject-base
|
|
Orion Poplawski |
0d945d8 |
%else
|
|
|
0edabc2 |
Requires: notify-python
|
|
Orion Poplawski |
0d945d8 |
%endif
|
|
|
03995b4 |
Requires: python2-wxpython
|
|
Orion Poplawski |
13b91c8 |
%endif
|
|
|
0edabc2 |
|
|
|
0edabc2 |
%description
|
|
|
0edabc2 |
X2Go is a server based computing environment with:
|
|
|
0edabc2 |
- session resuming
|
|
|
0edabc2 |
- low bandwidth support
|
|
|
0edabc2 |
- LDAP support
|
|
|
0edabc2 |
- client side mass storage mounting support
|
|
|
0edabc2 |
- client side printing support
|
|
|
0edabc2 |
- audio support
|
|
|
0edabc2 |
- authentication by smartcard and USB stick
|
|
|
0edabc2 |
|
|
|
0edabc2 |
PyHoca-GUI is a slim X2Go client that docks to the desktop's
|
|
|
0edabc2 |
notification area and allows multiple X2Go session handling.
|
|
|
0edabc2 |
|
|
|
0edabc2 |
|
|
|
0edabc2 |
%prep
|
|
Orion Poplawski |
13b91c8 |
%autosetup -p1
|
|
|
0edabc2 |
|
|
|
0edabc2 |
|
|
|
0edabc2 |
%build
|
|
Orion Poplawski |
13b91c8 |
%if 0%{?fedora} >= 28 || 0%{?rhel} >= 8
|
|
Orion Poplawski |
13b91c8 |
2to3 --write --nobackups .
|
|
|
1ba163b |
# Fix shebang of pyhoca-gui executable.
|
|
|
1ba163b |
pathfix.py -i %{__python3} -pn %{name}
|
|
Orion Poplawski |
13b91c8 |
%{__python3} setup.py build_i18n
|
|
Orion Poplawski |
13b91c8 |
%py3_build
|
|
Orion Poplawski |
13b91c8 |
%else
|
|
Orion Poplawski |
13b91c8 |
%{__python2} setup.py build_i18n
|
|
Orion Poplawski |
13b91c8 |
%py2_build
|
|
Orion Poplawski |
13b91c8 |
%endif
|
|
|
0edabc2 |
|
|
|
0edabc2 |
|
|
|
0edabc2 |
%install
|
|
Orion Poplawski |
13b91c8 |
%if 0%{?fedora} >= 28 || 0%{?rhel} >= 8
|
|
Orion Poplawski |
13b91c8 |
%py3_install
|
|
Orion Poplawski |
13b91c8 |
%else
|
|
Orion Poplawski |
13b91c8 |
%py2_install
|
|
Orion Poplawski |
13b91c8 |
%endif
|
|
|
0edabc2 |
mkdir -p %{buildroot}%{_bindir}/
|
|
|
0edabc2 |
cp -p %{name} %{buildroot}%{_bindir}/
|
|
|
0edabc2 |
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
Orion Poplawski |
ba8c6e1 |
%find_lang PyHoca-GUI
|
|
|
0edabc2 |
|
|
|
0edabc2 |
|
|
|
0edabc2 |
%post
|
|
|
0edabc2 |
/bin/touch --no-create %{_datadir}/icons/PyHoca &>/dev/null || :
|
|
|
0edabc2 |
|
|
|
0edabc2 |
%postun
|
|
|
0edabc2 |
if [ $1 -eq 0 ] ; then
|
|
|
0edabc2 |
/bin/touch --no-create %{_datadir}/icons/PyHoca &>/dev/null
|
|
|
0edabc2 |
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/PyHoca &>/dev/null || :
|
|
|
0edabc2 |
fi
|
|
|
0edabc2 |
|
|
|
0edabc2 |
%posttrans
|
|
|
0edabc2 |
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/PyHoca &>/dev/null || :
|
|
|
0edabc2 |
|
|
|
0edabc2 |
|
|
Orion Poplawski |
ba8c6e1 |
%files -f PyHoca-GUI.lang
|
|
Orion Poplawski |
2830646 |
%license COPYING
|
|
Orion Poplawski |
2830646 |
%doc README TODO
|
|
|
0edabc2 |
%{_bindir}/%{name}
|
|
Orion Poplawski |
13b91c8 |
%if 0%{?fedora} >= 28 || 0%{?rhel} >= 8
|
|
Orion Poplawski |
13b91c8 |
%{python3_sitelib}/*
|
|
Orion Poplawski |
13b91c8 |
%else
|
|
Orion Poplawski |
13b91c8 |
%{python2_sitelib}/*
|
|
Orion Poplawski |
13b91c8 |
%endif
|
|
|
0edabc2 |
%{_datadir}/applications/%{name}.desktop
|
|
|
0edabc2 |
%{_datadir}/icons/PyHoca/
|
|
|
0edabc2 |
%{_datadir}/pixmaps/pyhoca_x2go-logo-ubuntu.svg
|
|
|
0edabc2 |
%{_datadir}/pyhoca
|
|
|
0edabc2 |
%{_mandir}/man1/%{name}.1*
|
|
|
0edabc2 |
|
|
|
0edabc2 |
|
|
|
0edabc2 |
%changelog
|
|
|
f863fad |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0.7-7
|
|
|
f863fad |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
f863fad |
|
|
|
8e149cf |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0.7-6
|
|
|
8e149cf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
8e149cf |
|
|
|
af566cf |
* Tue Jun 19 2018 Miro HronĨok <mhroncok@redhat.com> - 0.5.0.7-5
|
|
|
af566cf |
- Rebuilt for Python 3.7
|
|
|
af566cf |
|
|
|
1ba163b |
* Mon Apr 16 2018 Iryna Shcherbina <shcherbina.iryna@gmail.com> - 0.5.0.7-4
|
|
|
1ba163b |
- Fix shebangs to avoid depending on Python 2 for Fedora 28+
|
|
|
1ba163b |
|
|
Orion Poplawski |
082bb7c |
* Sat Apr 14 2018 Orion Poplawski <orion@cora.nwra.com> - 0.5.0.7-3
|
|
Orion Poplawski |
082bb7c |
- Require python3-wxpython4
|
|
Orion Poplawski |
082bb7c |
|
|
Orion Poplawski |
13b91c8 |
* Sat Apr 14 2018 Orion Poplawski <orion@cora.nwra.com> - 0.5.0.7-2
|
|
Orion Poplawski |
13b91c8 |
- Switch to python 3 for Fedora 28+
|
|
Orion Poplawski |
13b91c8 |
|
|
Orion Poplawski |
b615dc1 |
* Sat Apr 14 2018 Orion Poplawski <orion@cora.nwra.com> - 0.5.0.7-1
|
|
Orion Poplawski |
b615dc1 |
- Update to 0.5.0.7
|
|
Orion Poplawski |
b615dc1 |
|
|
|
03995b4 |
* Wed Feb 21 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.5.0.6-6
|
|
|
03995b4 |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
03995b4 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
03995b4 |
|
|
|
96ea08b |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0.6-5
|
|
|
96ea08b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
96ea08b |
|
|
|
3cb6a55 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0.6-4
|
|
|
3cb6a55 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
3cb6a55 |
|
|
|
5d6d46e |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0.6-3
|
|
|
5d6d46e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
5d6d46e |
|
|
|
04bc0c0 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0.6-2
|
|
|
04bc0c0 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
04bc0c0 |
|
|
Orion Poplawski |
6373362 |
* Thu Mar 24 2016 Orion Poplawski <orion@cora.nwra.com> - 0.5.0.6-1
|
|
Orion Poplawski |
6373362 |
- Update to 0.5.0.6
|
|
Orion Poplawski |
6373362 |
|
|
|
acf02a3 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0.5-2
|
|
|
acf02a3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
acf02a3 |
|
|
Orion Poplawski |
2830646 |
* Thu Jan 28 2016 Orion Poplawski <orion@cora.nwra.com> - 0.5.0.5-1
|
|
Orion Poplawski |
2830646 |
- Update to 0.5.0.5
|
|
Orion Poplawski |
2830646 |
- Drop notify patch fixed upstream
|
|
Orion Poplawski |
2830646 |
|
|
|
eed377d |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0.4-3
|
|
|
eed377d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
eed377d |
|
|
Orion Poplawski |
0d945d8 |
* Tue May 26 2015 Orion Poplawski <orion@cora.nwra.com> - 0.5.0.4-2
|
|
Orion Poplawski |
0d945d8 |
- Use pygobject3 libnotify bindings with wxPython/wxGTK 3
|
|
Orion Poplawski |
0d945d8 |
|
|
Orion Poplawski |
1200c89 |
* Mon Jan 26 2015 Orion Poplawski <orion@cora.nwra.com> - 0.5.0.4-1
|
|
Orion Poplawski |
1200c89 |
- Update to 0.5.0.4
|
|
Orion Poplawski |
1200c89 |
|
|
Orion Poplawski |
cb510ae |
* Mon Dec 1 2014 Orion Poplawski <orion@cora.nwra.com> - 0.5.0.3-1
|
|
Orion Poplawski |
cb510ae |
- Update to 0.5.0.3
|
|
Orion Poplawski |
cb510ae |
|
|
Orion Poplawski |
ee04b9a |
* Mon Oct 20 2014 Orion Poplawski <orion@cora.nwra.com> - 0.5.0.2-1
|
|
Orion Poplawski |
ee04b9a |
- Update to 0.5.0.2
|
|
Orion Poplawski |
ee04b9a |
|
|
Orion Poplawski |
ba8c6e1 |
* Mon Oct 20 2014 Orion Poplawski <orion@cora.nwra.com> - 0.5.0.0-1
|
|
Orion Poplawski |
ba8c6e1 |
- Update to 0.5.0.0
|
|
Orion Poplawski |
ba8c6e1 |
|
|
|
4097f48 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0.9-3
|
|
|
4097f48 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
4097f48 |
|
|
|
5435246 |
* Wed Jan 22 2014 Orion Poplawski <orion@cora.nwra.com> - 0.4.0.9-2
|
|
|
5435246 |
- No python-cups, use system-config-printer-libs on EL6 (bug #1056434)
|
|
|
5435246 |
|
|
|
ae8d51f |
* Wed Jan 8 2014 Orion Poplawski <orion@cora.nwra.com> - 0.4.0.9-1
|
|
|
ae8d51f |
- Update to 0.4.0.9
|
|
|
ae8d51f |
- Add Requires python-cups
|
|
|
ae8d51f |
|
|
|
0edabc2 |
* Thu Aug 29 2013 Orion Poplawski <orion@cora.nwra.com> - 0.4.0.8-1
|
|
|
0edabc2 |
- Update to 0.4.0.8
|
|
|
0edabc2 |
- Add BR on desktop-file-utils, validate the desktop file
|
|
|
0edabc2 |
- Add gtk-update-icon-cache scriptlets
|
|
|
0edabc2 |
- Own /usr/share/pyhoca
|
|
|
0edabc2 |
- Change tabs to spaces
|
|
|
0edabc2 |
|
|
|
0edabc2 |
* Thu Aug 1 2013 Orion Poplawski <orion@cora.nwra.com> - 0.4.0.6-1
|
|
|
0edabc2 |
- Update to 0.4.0.6
|
|
|
0edabc2 |
|
|
|
0edabc2 |
* Wed Feb 13 2013 Orion Poplawski <orion@cora.nwra.com> - 0.4.0.1-1
|
|
|
0edabc2 |
- Update to 0.4.0.1
|
|
|
0edabc2 |
|
|
|
0edabc2 |
* Tue Feb 12 2013 Orion Poplawski <orion@cora.nwra.com> - 0.4.0.0-1
|
|
|
0edabc2 |
- Update to 0.4.0.0
|
|
|
0edabc2 |
|
|
|
0edabc2 |
* Tue Dec 18 2012 Orion Poplawski <orion@cora.nwra.com> - 0.2.1.1-1
|
|
|
0edabc2 |
- Initial Fedora release
|