Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:danci1973
x2goclient
x2goclient.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File x2goclient.spec of Package x2goclient
# # spec file for package x2goclient # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: x2goclient Version: 4.0.2.1 Release: 0 License: GPL-2.0 Summary: The x2go client and Mozilla plugin Group: Productivity/Networking/Remote Desktop Url: http://x2go.org/ #DL-URL: http://code.x2go.org/releases/source/x2goclient/ #Git-Clone: git://code.x2go.org/x2goclient #Git-Web: http://code.x2go.org/gitweb?p=x2goclient.git;a=summary Source: http://code.x2go.org/releases/source/%name/%name-%version.tar.gz Source2: http://code.x2go.org/releases/source/%name/%name-%version.tar.gz.asc Source3: %name.keyring Source4: %name-rpmlintrc BuildRequires: cups-devel gcc-c++ libqt4-devel >= 4.6.0 BuildRequires: openldap2-devel %if "%{?_vendor}" == "suse" BuildRequires: fdupes, update-desktop-files %if 0%{?suse_version} >= 1130 BuildRequires: pkgconfig(libssh) >= 0.4 BuildRequires: pkgconfig(x11) pkgconfig(xpm) pkgconfig(xproto) %endif %if 0%{?suse_version} && 0%{?suse_version} < 1130 BuildRequires: libssh-devel >= 0.4 BuildRequires: xorg-x11-libXpm-devel xorg-x11-proto-devel BuildRequires: xorg-x11-libX11-devel %endif %endif %if "%{?_vendor}" == "redhat" BuildRequires: libssh-devel >= 0.4 BuildRequires: libXpm-devel, libX11-devel %endif BuildRequires: man2html BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: nxproxy, terminus-font %if "%{?_vendor}" == "suse" Requires: terminus-font %endif %if "%{?_vendor}" == "redhat" Requires: terminus-fonts %endif %if 0%{?suse_version} >= 1100 Suggests: pinentry-x2go %endif %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 mkdir pref; prog="" for prog in $(which lrelease-qt4 lrelease 2>/dev/null); do break; done; if [ -z "$prog" ]; then echo ERROR: lrelease not found fi; cat >"pref/lrelease" <<-EOF; #!/bin/sh exec "$prog" "\$@"; EOF chmod a+x "pref/lrelease"; ln -s lrelease pref/lrelease-qt4 export PATH="$PWD/pref:$PATH"; mkdir build-bin; for qmake in $(which qmake-qt4 qmake 2>/dev/null); do break; done; cat >"build-bin/qmake" <<-EOF; #!/bin/sh exec "$qmake" QMAKE_CFLAGS+="%optflags" QMAKE_CXXFLAGS+="%optflags" "\$@"; EOF chmod a+x build-bin/qmake; # make calls qmake by way of invoking qmake-qt4... ln -s qmake build-bin/qmake-qt4; export PATH="$PATH:$PWD/build-bin"; make %{?_smp_mflags}; %install b="%buildroot"; make install DESTDIR="%buildroot" \ PREFIX="%_prefix" MOZPLUGDIR="%_libdir/mozilla/plugins" \ INSTALL_DIR="install -dm0755" \ INSTALL_FILE="install -pm0644" \ INSTALL_PROGRAM="install -pm0755" %if 0%{?suse_version} %suse_update_desktop_file -r x2goclient Utility WebUtility %fdupes %buildroot %endif %files %defattr(-,root,root) %config(noreplace) %_sysconfdir/x2go %_bindir/x2goclient %_libdir/mozilla %_datadir/applications/x2goclient.desktop %_datadir/icons/hicolor %_mandir/man1/x2goclient.1* %_datadir/x2go %_datadir/%name %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor