|
|
81bf88b |
#if 0%{?fedora}
|
|
|
81bf88b |
#global with_python3 1
|
|
|
81bf88b |
#endif
|
|
|
81bf88b |
|
|
|
02675df |
Name: python-x2go
|
|
Orion Poplawski |
0bc515a |
Version: 0.5.0.3
|
|
Orion Poplawski |
c342757 |
Release: 1%{?dist}
|
|
|
02675df |
Summary: Python module providing X2Go client API
|
|
|
02675df |
|
|
|
02675df |
Group: Development/Languages
|
|
|
02675df |
License: AGPLv3+
|
|
|
02675df |
URL: http://www.x2go.org/
|
|
|
02675df |
Source0: http://code.x2go.org/releases/source/%{name}/%{name}-%{version}.tar.gz
|
|
|
81bf88b |
Patch0: python-x2go-py3.patch
|
|
|
81bf88b |
|
|
|
02675df |
BuildArch: noarch
|
|
|
02675df |
BuildRequires: python2-devel
|
|
|
02675df |
BuildRequires: python-setuptools
|
|
|
81bf88b |
%if 0%{?with_python3}
|
|
|
81bf88b |
BuildRequires: python3-devel
|
|
|
81bf88b |
# For 2to3
|
|
|
81bf88b |
BuildRequires: python-tools
|
|
|
81bf88b |
%endif # if with_python3
|
|
|
02675df |
# For doc build
|
|
|
02675df |
BuildRequires: epydoc
|
|
|
02675df |
BuildRequires: python-gevent
|
|
|
02675df |
BuildRequires: python-paramiko
|
|
Orion Poplawski |
c342757 |
BuildRequires: python-requests
|
|
Orion Poplawski |
c342757 |
BuildRequires: python-simplejson
|
|
|
100158e |
# For docs
|
|
|
100158e |
BuildRequires: python-xlib
|
|
|
02675df |
Requires: nxproxy
|
|
|
02675df |
Requires: python-gevent
|
|
|
02675df |
Requires: python-paramiko
|
|
Orion Poplawski |
c342757 |
Requires: python-requests
|
|
Orion Poplawski |
c342757 |
Requires: python-simplejson
|
|
|
02675df |
Requires: python-xlib
|
|
|
81bf88b |
|
|
|
81bf88b |
%description
|
|
|
81bf88b |
X2Go is a server based computing environment with:
|
|
|
81bf88b |
- session resuming
|
|
|
81bf88b |
- low bandwidth support
|
|
|
100158e |
- session brokerage support
|
|
|
81bf88b |
- client side mass storage mounting support
|
|
|
81bf88b |
- audio support
|
|
|
81bf88b |
- authentication by smartcard and USB stick
|
|
|
81bf88b |
|
|
|
81bf88b |
This Python module allows you to integrate X2Go client support into your
|
|
|
81bf88b |
Python applications by providing a Python-based X2Go client API.
|
|
|
81bf88b |
|
|
|
81bf88b |
|
|
|
02675df |
%package doc
|
|
|
02675df |
Summary: Python X2Go client API documentation
|
|
|
02675df |
Group: Documentation
|
|
|
02675df |
Requires: %{name} = %{version}-%{release}
|
|
|
02675df |
|
|
|
02675df |
%description doc
|
|
|
02675df |
This package contains the Python X2Go client API documentation.
|
|
|
02675df |
|
|
|
02675df |
|
|
|
81bf88b |
%if 0%{?with_python3}
|
|
|
81bf88b |
%package -n python3-x2go
|
|
|
81bf88b |
Summary: Python module providing X2Go client API
|
|
|
81bf88b |
Group: Development/Languages
|
|
|
81bf88b |
|
|
|
81bf88b |
%description -n python3-x2go
|
|
|
81bf88b |
X2Go is a server based computing environment with:
|
|
|
81bf88b |
- session resuming
|
|
|
81bf88b |
- low bandwidth support
|
|
|
100158e |
- session brokerage support
|
|
|
81bf88b |
- client side mass storage mounting support
|
|
|
81bf88b |
- audio support
|
|
|
81bf88b |
- authentication by smartcard and USB stick
|
|
|
81bf88b |
|
|
|
81bf88b |
This Python module allows you to integrate X2Go client support into your
|
|
|
81bf88b |
Python applications by providing a Python-based X2Go client API.
|
|
|
81bf88b |
%endif # with_python3
|
|
|
81bf88b |
|
|
|
81bf88b |
|
|
|
81bf88b |
%prep
|
|
|
81bf88b |
%setup -q
|
|
|
81bf88b |
# Python3
|
|
|
81bf88b |
%if 0%{?with_python3}
|
|
|
81bf88b |
rm -rf %{py3dir}
|
|
|
81bf88b |
cp -a . %{py3dir}
|
|
|
81bf88b |
2to3 --write --nobackups %{py3dir}
|
|
|
81bf88b |
%endif # with_python3
|
|
|
81bf88b |
|
|
|
81bf88b |
|
|
|
81bf88b |
%build
|
|
|
81bf88b |
%{__python} setup.py build
|
|
|
81bf88b |
%if 0%{?with_python3}
|
|
|
81bf88b |
pushd %{py3dir}
|
|
|
81bf88b |
%{__python3} setup.py build
|
|
|
81bf88b |
popd
|
|
|
81bf88b |
%endif # with_python3
|
|
|
81bf88b |
|
|
|
02675df |
# Build the docs
|
|
|
02675df |
mkdir -p epydoc/html
|
|
|
02675df |
epydoc --debug -n "Python X2Go" -u http://www.x2go.org -v --html --no-private -o epydoc/html x2go/
|
|
|
02675df |
|
|
|
02675df |
|
|
|
81bf88b |
%install
|
|
|
81bf88b |
%if 0%{?with_python3}
|
|
|
81bf88b |
pushd %{py3dir}
|
|
|
81bf88b |
%{__python3} setup.py install --skip-build --root %{buildroot}
|
|
|
81bf88b |
popd
|
|
|
81bf88b |
%endif # with_python3
|
|
|
81bf88b |
%{__python} setup.py install --skip-build --root %{buildroot}
|
|
|
81bf88b |
|
|
|
81bf88b |
|
|
|
81bf88b |
%files
|
|
Orion Poplawski |
c342757 |
%doc COPYING README* TODO
|
|
|
81bf88b |
%{python_sitelib}/*
|
|
|
81bf88b |
|
|
|
02675df |
%files doc
|
|
|
02675df |
%doc epydoc/html
|
|
|
02675df |
|
|
|
81bf88b |
|
|
|
81bf88b |
%changelog
|
|
Orion Poplawski |
0bc515a |
* Mon Jan 26 2015 Orion Poplawski <orion@cora.nwra.com> - 0.5.0.3-1
|
|
Orion Poplawski |
0bc515a |
- Update to 0.5.0.3
|
|
Orion Poplawski |
0bc515a |
|
|
Orion Poplawski |
ca6acf3 |
* Thu Nov 27 2014 Orion Poplawski <orion@cora.nwra.com> - 0.5.0.2-1
|
|
Orion Poplawski |
ca6acf3 |
- Update to 0.5.0.2
|
|
Orion Poplawski |
ca6acf3 |
|
|
Orion Poplawski |
c3db552 |
* Mon Oct 20 2014 Orion Poplawski <orion@cora.nwra.com> - 0.5.0.1-1
|
|
Orion Poplawski |
c3db552 |
- Update to 0.5.0.1
|
|
Orion Poplawski |
c3db552 |
|
|
Orion Poplawski |
c342757 |
* Mon Oct 20 2014 Orion Poplawski <orion@cora.nwra.com> - 0.5.0.0-1
|
|
Orion Poplawski |
c342757 |
- Update to 0.5.0.0
|
|
Orion Poplawski |
c342757 |
|
|
|
5c17e59 |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0.9-2
|
|
|
5c17e59 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
5c17e59 |
|
|
|
100158e |
* Wed Jan 8 2014 Orion Poplawski <orion@cora.nwra.com> - 0.4.0.9-1
|
|
|
100158e |
- Update to 0.4.0.9
|
|
|
100158e |
- Drop python-cups requires
|
|
|
100158e |
|
|
|
a5fa6c6 |
* Wed Dec 11 2013 Orion Poplawski <orion@cora.nwra.com> - 0.4.0.8-1
|
|
|
a5fa6c6 |
- Update to 0.4.0.8
|
|
|
a5fa6c6 |
|
|
|
d3bbb54 |
* Tue Aug 6 2013 Orion Poplawski <orion@cora.nwra.com> - 0.4.0.7-1
|
|
|
d3bbb54 |
- Update to 0.4.0.7
|
|
|
d3bbb54 |
|
|
|
74ef4e7 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0.6-4
|
|
|
74ef4e7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
74ef4e7 |
|
|
|
02675df |
* Fri Aug 2 2013 Orion Poplawski <orion@cora.nwra.com> - 0.4.0.6-3
|
|
|
02675df |
- Add requires nxproxy and python-cups
|
|
|
02675df |
- Build the documentation and ship in -doc sub-package
|
|
|
02675df |
|
|
|
81bf88b |
* Thu Aug 1 2013 Orion Poplawski <orion@cora.nwra.com> - 0.4.0.6-2
|
|
|
81bf88b |
- Remove python shbangs from library scripts
|
|
|
81bf88b |
|
|
|
81bf88b |
* Wed Jul 31 2013 Orion Poplawski <orion@cora.nwra.com> - 0.4.0.6-1
|
|
|
81bf88b |
- Update to 0.4.0.6
|
|
|
81bf88b |
|
|
|
81bf88b |
* Wed Jul 10 2013 Orion Poplawski <orion@cora.nwra.com> - 0.4.0.4-1
|
|
|
81bf88b |
- Update to 0.4.0.4
|
|
|
81bf88b |
|
|
|
81bf88b |
* Tue Feb 12 2013 Orion Poplawski <orion@cora.nwra.com> - 0.4.0.0-1
|
|
|
81bf88b |
- Update to 0.4.0.0
|
|
|
81bf88b |
|
|
|
81bf88b |
* Tue Dec 18 2012 Orion Poplawski <orion@cora.nwra.com> - 0.2.1.1-1
|
|
|
81bf88b |
- Initial Fedora package
|