%define minor_ver 5 Name: x2goclient Version: 3.01 Release: %{minor_ver}.1%{?dist} Summary: Graphical client for use with the X2Go network based computing environment Group: Applications/Internet License: GPLv2+ URL: http://www.x2go.org Source0: http://x2go.obviously-nice.de/deb/pool-lenny/x2goclient/%{name}_%{version}-%{minor_ver}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: hicolor-icon-theme BuildRequires: qt-devel, openldap-devel, cups-devel %description This client will be able to connect to X2Go server(s) and start, stop, resume and terminate (running) desktop sessions. X2Go Client stores different server connections and may automatically request authentication data from LDAP directories. %prep %setup -q %build %{_libdir}/qt4/bin/qmake x2goclient.pro make %install rm -rf $RPM_BUILD_ROOT install -D x2goclient $RPM_BUILD_ROOT/%{_bindir}/x2goclient install -Dm 644 icons/128x128/x2goclient.png %{buildroot}/%{_datadir}/icons/hicolor/128x128/apps/x2goclient.png install -Dm 644 icons/16x16/x2goclient.png %{buildroot}/%{_datadir}/icons/hicolor/16x16/apps/x2goclient.png install -Dm 644 icons/32x32/x2goclient.png %{buildroot}/%{_datadir}/icons/hicolor/32x32/apps/x2goclient.png install -Dm 644 icons/64x64/x2goclient.png %{buildroot}/%{_datadir}/icons/hicolor/64x64/apps/x2goclient.png install -Dm 644 x2goclient.desktop %{buildroot}/%{_datadir}/applications/x2goclient.desktop %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %{_bindir}/x2goclient %{_datadir}/icons/hicolor/128x128/apps/x2goclient.png %{_datadir}/icons/hicolor/16x16/apps/x2goclient.png %{_datadir}/icons/hicolor/32x32/apps/x2goclient.png %{_datadir}/icons/hicolor/64x64/apps/x2goclient.png %{_datadir}/applications/x2goclient.desktop %changelog * Sun Apr 05 2010 L.S. Keijser - 3.01-5.1 - initial release