0edabc2
Name:           pyhoca-gui
0edabc2
Version:        0.4.0.8
0edabc2
Release:        1%{?dist}
0edabc2
Summary:        Graphical X2Go client written in (wx)Python
0edabc2
0edabc2
Group:          Applications/Communications
0edabc2
License:        AGPLv3+
0edabc2
URL:            http://www.x2go.org/
0edabc2
Source0:        http://code.x2go.org/releases/source/%{name}/%{name}-%{version}.tar.gz
0edabc2
0edabc2
BuildArch:      noarch
0edabc2
BuildRequires:  python2-devel
b3e831b
BuildRequires:  python-setuptools
0edabc2
BuildRequires:  python-distutils-extra
0edabc2
BuildRequires:  desktop-file-utils
0edabc2
BuildRequires:  intltool
0edabc2
Requires:       python-setproctitle
0edabc2
Requires:       python-x2go
0edabc2
Requires:       notify-python
0edabc2
Requires:       wxPython
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
0edabc2
%setup -q
0edabc2
0edabc2
0edabc2
%build
0edabc2
%{__python} setup.py build
0edabc2
0edabc2
0edabc2
%install
0edabc2
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
0edabc2
mkdir -p %{buildroot}%{_bindir}/
0edabc2
cp -p %{name} %{buildroot}%{_bindir}/
0edabc2
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
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
0edabc2
%files
0edabc2
%doc LICENSE.txt README TODO
0edabc2
%{_bindir}/%{name}
0edabc2
%{python_sitelib}/*
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
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