Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rhabacker:branches:windows:mingw:win64
mingw64-x2goclient
mingw64-x2goclient.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw64-x2goclient.spec of Package mingw64-x2goclient
# # spec file for package mingw64-x2goclient # # Copyright (c) 2016 SUSE LINUX 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: mingw64-x2goclient Version: 4.0.5.2 Release: 0 Summary: The x2go client License: GPL-2.0 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/x2goclient/x2goclient-%version.tar.gz Source2: http://code.x2go.org/releases/source/x2goclient/x2goclient-%version.tar.gz.asc Source3: %name.keyring Patch1: winbuild.diff Patch2: keys.diff BuildRequires: fdupes BuildRequires: mingw64-cross-gcc-c++ BuildRequires: mingw64-cross-qmake >= 4.6.0 BuildRequires: mingw64-libqt4-devel >= 4.6.0 BuildRequires: mingw64-libssh-devel >= 0.4 #!BuildIgnore: -post-build-checks %_mingw64_package_header_debug BuildArch: noarch %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. %_mingw64_debug_package %prep %setup -qn x2goclient-%version %patch -P 1 -P 2 -p1 %build mkdir pref prog="" for prog in $(which x86_64-w64-mingw32-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 x86_64-w64-mingw32-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} make %{?_smp_mflags} -C x2gohelper CXX="%_mingw64_cxx" %install b="%buildroot" make install DESTDIR="$b" \ PREFIX="%_mingw64_prefix" %if 0%{?suse_version} %fdupes -s %buildroot/%_mingw64_prefix %endif rm -Rf "$b/%_mingw64_datadir/x2go/plugin" cp client_build/release/x2gohelper.exe "$b/%_mingw64_bindir/" %files %defattr(-,root,root) %config(noreplace) %_sysconfdir/x2go/ %_mingw64_bindir/x2go*.exe %_mingw64_datadir/applications/ %_mingw64_datadir/icons/ %_mingw64_mandir/man*/*.1* %_mingw64_datadir/x2goclient/ %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