forked from pool/freerdp
Accepting request 1162853 from X11:RemoteDesktop
OBS-URL: https://build.opensuse.org/request/show/1162853 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/freerdp?expand=0&rev=73
This commit is contained in:
commit
be82bf2b53
@ -1,32 +0,0 @@
|
||||
From 24b8b4e5df644ba77c673c41b90cc48c4358aaa0 Mon Sep 17 00:00:00 2001
|
||||
From: Fabian Vogt <fvogt@suse.de>
|
||||
Date: Thu, 2 Dec 2021 15:50:08 +0100
|
||||
Subject: [PATCH] Make H.264 codec optional during runtime
|
||||
|
||||
It's possible that FreeRDP was built against FFmpeg, but it doesn't support
|
||||
H.264. In that case, just continue without H.264 support instead of failing
|
||||
hard before even trying to connect.
|
||||
|
||||
This is especially useful for Linux distributions which can't ship H.264
|
||||
support in FFmpeg out of the box (patent issues), but allow enabling H.264
|
||||
later by installing a version of FFmpeg which has it enabled.
|
||||
---
|
||||
libfreerdp/core/codecs.c | 5 +----
|
||||
1 file changed, 1 insertion(+), 4 deletions(-)
|
||||
|
||||
Index: FreeRDP-2.4.1/libfreerdp/core/codecs.c
|
||||
===================================================================
|
||||
--- FreeRDP-2.4.1.orig/libfreerdp/core/codecs.c
|
||||
+++ FreeRDP-2.4.1/libfreerdp/core/codecs.c
|
||||
@@ -106,10 +106,7 @@ BOOL freerdp_client_codecs_prepare(rdpCo
|
||||
|
||||
if (!(codecs->h264 = h264_context_new(FALSE)))
|
||||
{
|
||||
- WLog_ERR(TAG, "Failed to create h264 codec context");
|
||||
-#ifndef WITH_OPENH264_LOADING
|
||||
- return FALSE;
|
||||
-#endif
|
||||
+ WLog_WARN(TAG, "Failed to create h264 codec context");
|
||||
}
|
||||
}
|
||||
#endif
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:674b5600bc2ae3e16e5b5a811c7d5b0daaff6198601ba278bd15b4cb9b281044
|
||||
size 7332202
|
3
FreeRDP-3.4.0.tar.gz
Normal file
3
FreeRDP-3.4.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0fe77b2b838f32598a11c63ff4a1c0482d5bac0da7753ce6446039349ed96b00
|
||||
size 9330619
|
@ -1 +1 @@
|
||||
addFilter("binary-or-shlib-calls-gethostbyname /usr/lib64/libwinpr2.so")
|
||||
addFilter("binary-or-shlib-calls-gethostbyname /usr/lib64/libwinpr3.so")
|
||||
|
148
freerdp.changes
148
freerdp.changes
@ -1,3 +1,151 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 26 14:04:54 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Trim duplicate version number from package names; rename
|
||||
uwac0-0-devel -> uwac0-devel, rdtk0-0-devel -> rdtk0-devel.
|
||||
- RPM groups updated.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 26 09:16:26 UTC 2024 - Joan Torres <joan.torres@suse.com>
|
||||
|
||||
- Drop conflicts with freerdp2:
|
||||
* The freerdp2 package doesn't conflict with any freerdp3 package
|
||||
* Now both can be installed simultaneously
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 19 07:18:13 UTC 2024 - Paolo Stivanin <info@paolostivanin.com>
|
||||
|
||||
- Update to 3.4.0:
|
||||
* fix a bug in RAIL mode not activating window focus (#9973)
|
||||
* improve logging (#9969, #9943)
|
||||
* OpenSSL <= 1.1.1 build fixes (#9897)
|
||||
* improved help (#9899, #9905)
|
||||
* improved MINGW support (#9914, #9915, #9919, #9964, #9965, #9920)
|
||||
* fix right control ungrab for xfreerdp (#9960)
|
||||
* fix RPATH option settings (#9963)
|
||||
* fix SDL client screen updates (#9962, #9954)
|
||||
* fix issues with childSession under windows (#9961, #9956, #9922)
|
||||
* fix xfreerdp crash with +auth-only (#9947)
|
||||
* fix windows printer channel (#9934)
|
||||
* add support to enforce gateway policy (#9942)
|
||||
* improve big endian support (#9927)
|
||||
* ignore empty proxy environment variables (#9929)
|
||||
* improve quoting support for command line (#9912)
|
||||
* Improved image clipboard (xfreerdp, wlfreerdp) (#9873, #9826)
|
||||
* Improved SDL client (#9875, #9887, #9883, #9878, #9792)
|
||||
* Allow plugin loader to only use absolute paths (#9809)
|
||||
* Improved TLS channel binding (#9838)
|
||||
* Add GCC/clang attribute malloc wrapper WINPR_ATTR_MALLOC (#9863)
|
||||
* Major clang-tidy code cleanups and bugfixes (#9799, #9834)
|
||||
* Provide some defaults for wObject functions (#9799)
|
||||
* Fix a bug in shadow with GFX breaking mstsc (#9818)
|
||||
* Improved manpages and help (#9813, #9804)
|
||||
* Blocking mode via transport IO interface (#9793)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 19 13:53:59 UTC 2024 - Paolo Stivanin <info@paolostivanin.com>
|
||||
|
||||
- Update to 3.2.0:
|
||||
* Fix proxy module load check (#9777)
|
||||
* Improve kerberos error logging (#9771)
|
||||
* Add option to run client dynamic channel synchronous (#9764)
|
||||
* Move huge struct to heap (#9763)
|
||||
* Improved failure logging of license module (#9759)
|
||||
* Improve server side gfx logging (#9757)
|
||||
* Print shadow server help with printf instead of WLog (#9756)
|
||||
* Fix SDL client timer initialization (#9754)
|
||||
* Fix server peer message parsing (#9751)
|
||||
* Enable NEON instructions if __ARM_NEON is defined (#9748)
|
||||
* Add new proxy config file option TlsSecLevel (#9741)
|
||||
* Improve android and mac os build scripts (#9735)
|
||||
* Do not disable wayland support on BSD (#9730)
|
||||
* Fix issues with assistance file parsing (#9727, #9728)
|
||||
* Keyboard handling fixes for wayland client (#9725)
|
||||
* Fix relative pkg-config file paths (#9720)
|
||||
* Add new transport IO callback GetPublicKey (#9719)
|
||||
* Fix wayland client scaling (#9715)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 6 12:44:49 UTC 2024 - Paolo Stivanin <info@paolostivanin.com>
|
||||
|
||||
- Update to 3.1.0:
|
||||
* Fix a nasty bug with relative mouse movement (#9677)
|
||||
* LibreSSL support enhancements (#9691, #9670)
|
||||
* mbedTLS support enhancements (#9662)
|
||||
* New and improved manpages (#9690, #9650)
|
||||
* Unify CMake common options, add (optional) binary versioning and allow
|
||||
* building rdtk and uwac as static dependencies (#9695)
|
||||
* SDL client improvements (#9693, #9657, #9659, #9683, #9680, #9657, #9664, #9656)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 19 13:56:15 UTC 2023 - Hans-Peter Jansen <hpj@urpla.net>
|
||||
|
||||
- Remove freerdp-allow-compiling-with-old-c++-compiler.patch
|
||||
Solve by requiring gcc12-c++ for older environments
|
||||
- Adjust Requires/Obsoletes
|
||||
- Merge %{name}-server-proxy%{libfreerdp_package}-devel with -devel
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 18 11:57:05 UTC 2023 - Joan Torres <joan.torres@suse.com>
|
||||
|
||||
- Add freerdp-allow-compiling-with-old-c++-compiler.patch
|
||||
* This allows building with older Leap versions which use gcc7-c++.
|
||||
|
||||
- Use cups-devel instead of relying on pkgconfig.
|
||||
* Older Leap versions were unable to find it that way.
|
||||
|
||||
- Fix some package naming and versioning.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 15 11:02:39 UTC 2023 - Joan Torres <joan.torres@suse.com>
|
||||
|
||||
- Add sdl dependencies to build the sdl-freerdp client.
|
||||
* This is due to the wlfreerdp client being deprecated.
|
||||
|
||||
- Cleanup specfile.
|
||||
* Rely preferably on pkgconfig to pull devel packages instead of
|
||||
hardcoding them.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 14 07:23:30 UTC 2023 - Paolo Stivanin <info@paolostivanin.com>
|
||||
|
||||
- Update to 3.0.0:
|
||||
* Support for AAD/AVD authentication
|
||||
* Support for websocket transport
|
||||
* Support smartcard authentication (TLS and NLA)
|
||||
* Full smartcard emulation support (login with certificate + key)
|
||||
* Rewritten proxy, new module API
|
||||
* New reference client based on SDL2 (work in progress)
|
||||
* Rewritten logging, now parsing issues are all writing to the log so
|
||||
that issues with protocol incompatibilities can be easier analyzed
|
||||
by just turning on logging
|
||||
* Full OpenSSL 3 support
|
||||
* Internal implementations for RC4, MD4 and MD5 (required for non critical
|
||||
parts in RDP but not part of more recend SSL libraries)
|
||||
* Updated RDP protocol support
|
||||
* Improved xfreerdp remote app support
|
||||
* Reworked internal state machine for both client and server implementations
|
||||
* Server implementations can now make use of connect-time network autodetection
|
||||
* Improved clipboard handling, now also support server-to-client file transfer
|
||||
(currently xfreerdp only)
|
||||
* EnhancedRemoteApp support: Utilizing the more modern standard allows remote
|
||||
apps with less glitches and window shadows
|
||||
* Added client- and server-side handling for RDSTLS
|
||||
* Support for the graphics redirection channel
|
||||
* Full changelongs can be found at the following links:
|
||||
+ https://github.com/FreeRDP/FreeRDP/releases/tag/3.0.0-beta1
|
||||
+ https://github.com/FreeRDP/FreeRDP/releases/tag/3.0.0-beta2
|
||||
+ https://github.com/FreeRDP/FreeRDP/releases/tag/3.0.0-beta3
|
||||
+ https://github.com/FreeRDP/FreeRDP/releases/tag/3.0.0-beta4
|
||||
+ https://github.com/FreeRDP/FreeRDP/releases/tag/3.0.0-rc0
|
||||
+ https://github.com/FreeRDP/FreeRDP/releases/tag/3.0.0
|
||||
- Security fix:
|
||||
- CVE-2023-40574, bsc#1214869
|
||||
- CVE-2023-40575, bsc#1214870
|
||||
- CVE-2023-40576, bsc#1214871
|
||||
- Drop upstreamed 0001-Make-H.264-codec-optional-during-runtime.patch.
|
||||
- Enable GSS again since gh#issues/4348 has been fixed.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 16 08:59:58 UTC 2023 - Christophe Marin <christophe@krop.fr>
|
||||
|
||||
|
168
freerdp.spec
168
freerdp.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package freerdp
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -27,16 +27,17 @@
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# enable -DWITH_GSSAPI=ON again after #gh/FreeRDP/FreeRDP/4348 has been fixed
|
||||
#global _with_gss 1
|
||||
%global _with_gss 1
|
||||
|
||||
%define major_version 2
|
||||
%define major_version 3
|
||||
%define libfreerdp_package %{major_version}-%{major_version}
|
||||
%define rdtk_version 0
|
||||
%define rdtk_package %{rdtk_version}-%{rdtk_version}
|
||||
%define uwac_version 0
|
||||
%define uwac_package %{uwac_version}-%{uwac_version}
|
||||
|
||||
Name: freerdp
|
||||
Version: 2.11.2
|
||||
Version: 3.4.0
|
||||
Release: 0
|
||||
Summary: Remote Desktop Viewer Client
|
||||
License: Apache-2.0
|
||||
@ -44,36 +45,49 @@ Group: Productivity/Networking/Other
|
||||
URL: https://www.freerdp.com/
|
||||
Source0: https://github.com/FreeRDP/FreeRDP/archive/%{version}.tar.gz#/FreeRDP-%{version}.tar.gz
|
||||
Source1: freerdp-rpmlintrc
|
||||
# PATCH-FIX-UPSTREAM https://github.com/FreeRDP/FreeRDP/pull/7476
|
||||
Patch0: 0001-Make-H.264-codec-optional-during-runtime.patch
|
||||
BuildRequires: chrpath
|
||||
BuildRequires: cmake >= 2.8
|
||||
BuildRequires: cups-devel
|
||||
BuildRequires: ed
|
||||
BuildRequires: fdupes
|
||||
# doesn't compile correctly with older gcc's
|
||||
%if 0%{?suse_version} <= 1600
|
||||
BuildRequires: gcc12-c++
|
||||
%else
|
||||
BuildRequires: gcc-c++
|
||||
%endif
|
||||
BuildRequires: hicolor-icon-theme
|
||||
BuildRequires: libgsm-devel
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: xmlto
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: pkgconfig(alsa)
|
||||
BuildRequires: pkgconfig(cairo)
|
||||
BuildRequires: pkgconfig(fuse3)
|
||||
BuildRequires: pkgconfig(gstreamer-1.0)
|
||||
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
|
||||
BuildRequires: pkgconfig(icu-i18n)
|
||||
%{?_with_gss:BuildRequires: pkgconfig(krb5) >= 1.13}
|
||||
%{?_with_lame:BuildRequires: libmp3lame-devel}
|
||||
%{?_with_ffmpeg:
|
||||
BuildRequires: pkgconfig(libavcodec) >= 57.48.101
|
||||
BuildRequires: pkgconfig(libavutil)
|
||||
}
|
||||
BuildRequires: pkgconfig(libcjson)
|
||||
BuildRequires: pkgconfig(libjpeg)
|
||||
%{?_with_lame:BuildRequires: pkgconfig(libmp3lame)}
|
||||
BuildRequires: pkgconfig(libpcsclite)
|
||||
BuildRequires: pkgconfig(libpkcs11-helper-1)
|
||||
BuildRequires: pkgconfig(libpulse)
|
||||
BuildRequires: pkgconfig(libswscale)
|
||||
BuildRequires: pkgconfig(libsystemd)
|
||||
BuildRequires: pkgconfig(libusb-1.0)
|
||||
%{?_with_openh264:BuildRequires: libopenh264-devel}
|
||||
%{?_with_openh264:BuildRequires: pkgconfig(openh264)}
|
||||
BuildRequires: pkgconfig(openssl)
|
||||
%{?_with_soxr:BuildRequires: pkgconfig(soxr)}
|
||||
BuildRequires: xmlto
|
||||
BuildRequires: pkgconfig(SDL2_ttf)
|
||||
BuildRequires: pkgconfig(sdl2)
|
||||
BuildRequires: pkgconfig(wayland-client)
|
||||
BuildRequires: pkgconfig(wayland-scanner)
|
||||
BuildRequires: pkgconfig(webkit2gtk-4.0)
|
||||
BuildRequires: pkgconfig(x11)
|
||||
BuildRequires: pkgconfig(xcursor)
|
||||
BuildRequires: pkgconfig(xdamage)
|
||||
@ -86,10 +100,7 @@ BuildRequires: pkgconfig(xrandr)
|
||||
BuildRequires: pkgconfig(xrender)
|
||||
BuildRequires: pkgconfig(xtst)
|
||||
BuildRequires: pkgconfig(xv)
|
||||
%{?_with_ffmpeg:
|
||||
BuildRequires: pkgconfig(libavcodec) >= 57.48.101
|
||||
BuildRequires: pkgconfig(libavutil)
|
||||
}
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
# force installation of latest library version
|
||||
Requires: lib%{name}%{libfreerdp_package} = %{version}-%{release}
|
||||
|
||||
@ -98,6 +109,15 @@ FreeRDP is a client-side implementation of the Remote Desktop Protocol (RDP)
|
||||
following the Microsoft Open Specifications. This package provides the client
|
||||
application.
|
||||
|
||||
%package sdl
|
||||
Summary: Remote Desktop Viewer Client
|
||||
Group: Productivity/Networking/Other
|
||||
|
||||
%description sdl
|
||||
FreeRDP is a client-side implementation of the Remote Desktop Protocol (RDP)
|
||||
following the Microsoft Open Specifications. This package provides the
|
||||
sdl-based client application.
|
||||
|
||||
%package wayland
|
||||
Summary: Remote Desktop Viewer Client
|
||||
Group: Productivity/Networking/Other
|
||||
@ -125,13 +145,21 @@ This package contains a proxy that allows to select specific features and
|
||||
channels allowed for all connections passing through.
|
||||
It allows monitoring of the running sessions.
|
||||
|
||||
%package -n %{name}-proxy-plugins
|
||||
Summary: Plugins for the Security and Monitorig Proxy Server
|
||||
Group: Productivity/Networking/Other
|
||||
Requires: %{name}-proxy = %{version}-%{release}
|
||||
|
||||
%description -n %{name}-proxy-plugins
|
||||
This package contains the following plugins for the proxy server:
|
||||
* bitmap-filter
|
||||
* capture
|
||||
* demo
|
||||
* dyn-channel-dump
|
||||
|
||||
%package -n lib%{name}%{libfreerdp_package}
|
||||
Summary: Remote Desktop Viewer client library
|
||||
Group: System/Libraries
|
||||
Obsoletes: lib%{name} < %{version}-%{release}
|
||||
Provides: lib%{name} = %{version}-%{release}
|
||||
Obsoletes: lib%{name}2 < %{version}-%{release}
|
||||
Provides: lib%{name}2 = %{version}-%{release}
|
||||
|
||||
%description -n lib%{name}%{libfreerdp_package}
|
||||
FreeRDP is a client-side implementation of the Remote Desktop Protocol (RDP)
|
||||
@ -142,7 +170,10 @@ libraries used by the client.
|
||||
Summary: Development Files for freerdp
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: lib%{name}%{libfreerdp_package} = %{version}-%{release}
|
||||
Requires: lib%{name}-server-proxy%{libfreerdp_package}
|
||||
Requires: winpr-devel = %{version}-%{release}
|
||||
Obsoletes: %{name}-server-proxy%{libfreerdp_package}-devel < %{version}-%{release}
|
||||
Provides: %{name}-server-proxy%{libfreerdp_package}-devel = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
This package contains development files necessary for developing applications
|
||||
@ -150,9 +181,7 @@ based on libfreerdp.
|
||||
|
||||
%package -n libwinpr%{libfreerdp_package}
|
||||
Summary: Windows Portable Runtime
|
||||
Group: Productivity/Networking/Other
|
||||
Obsoletes: libwinpr2 < %{version}-%{release}
|
||||
Provides: libwinpr2 = %{version}-%{release}
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libwinpr%{libfreerdp_package}
|
||||
WinPR provides API compatibility for applications targeting non-Windows
|
||||
@ -175,24 +204,48 @@ use the winpr and winpr-tools libraries.
|
||||
|
||||
%package -n libuwac%{uwac_package}
|
||||
Summary: Use wayland as a client
|
||||
Group: Productivity/Networking/Other
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libuwac%{uwac_package}
|
||||
Using wayland as a client (uwac) is a library to provide common
|
||||
functionality for wayland clients.
|
||||
|
||||
%package -n uwac%{uwac_package}-devel
|
||||
%package -n uwac%{uwac_version}-devel
|
||||
Summary: Remote Desktop Toolkit libuwac development files
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: cmake >= 2.8
|
||||
Requires: libuwac%{uwac_package} = %{version}-%{release}
|
||||
Obsoletes: libuwac0-devel < %{version}-%{release}
|
||||
Provides: libuwac0-devel = %{version}-%{release}
|
||||
Obsoletes: libuwac%{uwac_version}-devel < %{version}-%{release}
|
||||
Provides: libuwac%{uwac_version}-devel = %{version}-%{release}
|
||||
Obsoletes: uwac%{uwac_version}-%{uwac_version}-devel < %{version}-%{release}
|
||||
Provides: uwac%{uwac_version}-%{uwac_version}-devel = %{version}-%{release}
|
||||
|
||||
%description -n uwac%{uwac_package}-devel
|
||||
%description -n uwac%{uwac_version}-devel
|
||||
This package contains header files for developing applications that
|
||||
use the uwac library.
|
||||
|
||||
%package -n librdtk%{rdtk_package}
|
||||
Summary: FreeRDP Toolkit
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n librdtk%{rdtk_package}
|
||||
This package contains the library for the Remote Desktop Toolkit.
|
||||
|
||||
%package -n rdtk%{rdtk_version}-devel
|
||||
Summary: FreeRDP Toolkit development files
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: librdtk%{rdtk_package} = %{version}-%{release}
|
||||
|
||||
%description -n rdtk%{rdtk_version}-devel
|
||||
This package contains the development files for RDTK.
|
||||
|
||||
%package -n lib%{name}-server-proxy%{libfreerdp_package}
|
||||
Summary: FreeRDP Server Proxy library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n lib%{name}-server-proxy%{libfreerdp_package}
|
||||
This package contains the FreeRDP Server Proxy library files.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n FreeRDP-%{version}
|
||||
|
||||
@ -201,11 +254,17 @@ if [ -z "$SOURCE_DATE_EPOCH" ]; then
|
||||
find . -type f -name "*.c" -exec perl -i -pe 's{__(DATE|TIME)__}{""}g' "{}" "+"
|
||||
fi
|
||||
|
||||
%if 0%{?suse_version} <= 1600
|
||||
export CXX=g++-12
|
||||
%endif
|
||||
|
||||
%cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
||||
-DCMAKE_INSTALL_LIBDIR=%{_lib} \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DCMAKE_EXE_LINKER_FLAGS="-pie" \
|
||||
-DCMAKE_SKIP_RPATH=TRUE \
|
||||
-DCMAKE_SKIP_INSTALL_RPATH=TRUE \
|
||||
-DWITH_ALSA=ON \
|
||||
-DWITH_CAIRO=ON \
|
||||
-DWITH_CUPS=ON \
|
||||
@ -214,6 +273,7 @@ fi
|
||||
-DWITH_CLIENT=ON \
|
||||
-DWITH_DIRECTFB=OFF \
|
||||
-DWITH_FFMPEG=%{?_with_ffmpeg:ON}%{?!_with_ffmpeg:OFF} \
|
||||
-DWITH_DSP_FFMPEG=%{?_with_ffmpeg:ON}%{?!_with_ffmpeg:OFF} \
|
||||
-DWITH_GSM=ON \
|
||||
-DWITH_GSSAPI=%{?_with_gss:ON}%{?!_with_gss:OFF} \
|
||||
-DWITH_GSTREAMER_1_0=ON -DWITH_GSTREAMER_0_10=OFF \
|
||||
@ -230,6 +290,7 @@ fi
|
||||
-DWITH_SERVER_INTERFACE=ON \
|
||||
-DWITH_SHADOW_X11=ON \
|
||||
-DWITH_SHADOW_MAC=ON \
|
||||
-DWITH_SAMPLE=OFF \
|
||||
-DWITH_SOXR=%{?_with_soxr:ON}%{?!_with_soxr:OFF} \
|
||||
-DWITH_WAYLAND=ON \
|
||||
-DWITH_X11=ON \
|
||||
@ -270,18 +331,22 @@ cd build
|
||||
%make_install
|
||||
%fdupes %{buildroot}%{_libdir}/cmake/
|
||||
|
||||
%post -n lib%{name}%{libfreerdp_package} -p /sbin/ldconfig
|
||||
%postun -n lib%{name}%{libfreerdp_package} -p /sbin/ldconfig
|
||||
%post -n libwinpr%{libfreerdp_package} -p /sbin/ldconfig
|
||||
%postun -n libwinpr%{libfreerdp_package} -p /sbin/ldconfig
|
||||
%post -n libuwac%{uwac_package} -p /sbin/ldconfig
|
||||
%postun -n libuwac%{uwac_package} -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets -n lib%{name}%{libfreerdp_package}
|
||||
%ldconfig_scriptlets -n libwinpr%{libfreerdp_package}
|
||||
%ldconfig_scriptlets -n libuwac%{uwac_package}
|
||||
%ldconfig_scriptlets -n librdtk%{rdtk_package}
|
||||
%ldconfig_scriptlets -n lib%{name}-server-proxy%{libfreerdp_package}
|
||||
|
||||
%files
|
||||
%{_bindir}/x%{name}
|
||||
%{_mandir}/man1/x%{name}.1%{?ext_man}
|
||||
%{_mandir}/man7/wlog.7%{?ext_man}
|
||||
|
||||
%files sdl
|
||||
%{_bindir}/sdl-%{name}
|
||||
%{_mandir}/man1/sdl-freerdp.1%{?ext_man}
|
||||
|
||||
|
||||
%files wayland
|
||||
%{_bindir}/wl%{name}
|
||||
%{_mandir}/man1/wl%{name}.1%{?ext_man}
|
||||
@ -296,6 +361,14 @@ cd build
|
||||
|
||||
%files proxy
|
||||
%{_bindir}/%{name}-proxy
|
||||
%{_mandir}/man1/freerdp-proxy.1%{?ext_man}
|
||||
|
||||
%files -n %{name}-proxy-plugins
|
||||
%dir %{_libdir}/%{name}%{major_version}
|
||||
%dir %{_libdir}/%{name}%{major_version}/proxy
|
||||
%{_libdir}/%{name}%{major_version}/proxy/proxy-bitmap-filter-plugin.so
|
||||
%{_libdir}/%{name}%{major_version}/proxy/proxy-demo-plugin.so
|
||||
%{_libdir}/%{name}%{major_version}/proxy/proxy-dyn-channel-dump-plugin.so
|
||||
|
||||
%files -n lib%{name}%{libfreerdp_package}
|
||||
%license LICENSE
|
||||
@ -304,20 +377,29 @@ cd build
|
||||
%{_libdir}/lib%{name}-shadow%{major_version}.so.*
|
||||
%{_libdir}/lib%{name}-server%{major_version}.so.*
|
||||
%{_libdir}/lib%{name}-shadow-subsystem%{major_version}.so.*
|
||||
%dir %{_libdir}/freerdp2
|
||||
%{_libdir}/freerdp2/*.so
|
||||
|
||||
%files devel
|
||||
%dir %{_libdir}/cmake/FreeRDP-Proxy3
|
||||
%dir %{_libdir}/cmake/WinPR-tools3
|
||||
%{_libdir}/cmake/FreeRDP%{major_version}
|
||||
%{_libdir}/cmake/FreeRDP-Client%{major_version}
|
||||
%{_libdir}/cmake/FreeRDP-Server%{major_version}
|
||||
%{_libdir}/cmake/FreeRDP-Shadow%{major_version}
|
||||
%{_libdir}/cmake/FreeRDP-Proxy%{major_version}/FreeRDP-ProxyConfig.cmake
|
||||
%{_libdir}/cmake/FreeRDP-Proxy%{major_version}/FreeRDP-ProxyConfigVersion.cmake
|
||||
%{_libdir}/cmake/FreeRDP-Proxy%{major_version}/FreeRDP-ProxyTargets-relwithdebinfo.cmake
|
||||
%{_libdir}/cmake/FreeRDP-Proxy%{major_version}/FreeRDP-ProxyTargets.cmake
|
||||
%{_libdir}/cmake/WinPR-tools%{major_version}/WinPR-toolsConfig.cmake
|
||||
%{_libdir}/cmake/WinPR-tools%{major_version}/WinPR-toolsConfigVersion.cmake
|
||||
%{_libdir}/cmake/WinPR-tools%{major_version}/WinPR-toolsTargets-relwithdebinfo.cmake
|
||||
%{_libdir}/cmake/WinPR-tools%{major_version}/WinPR-toolsTargets.cmake
|
||||
%{_includedir}/%{name}%{major_version}
|
||||
%{_libdir}/lib%{name}*.so
|
||||
%{_libdir}/pkgconfig/%{name}%{major_version}.pc
|
||||
%{_libdir}/pkgconfig/%{name}-client%{major_version}.pc
|
||||
%{_libdir}/pkgconfig/%{name}-server%{major_version}.pc
|
||||
%{_libdir}/pkgconfig/%{name}-shadow%{major_version}.pc
|
||||
%{_libdir}/pkgconfig/%{name}-server-proxy%{major_version}.pc
|
||||
|
||||
%files -n libwinpr%{libfreerdp_package}
|
||||
%license LICENSE
|
||||
@ -336,10 +418,22 @@ cd build
|
||||
%license LICENSE
|
||||
%{_libdir}/libuwac%{uwac_version}.so.*
|
||||
|
||||
%files -n uwac%{uwac_package}-devel
|
||||
%files -n uwac%{uwac_version}-devel
|
||||
%{_libdir}/cmake/uwac%{uwac_version}
|
||||
%{_includedir}/uwac%{uwac_version}
|
||||
%{_libdir}/libuwac%{uwac_version}.so
|
||||
%{_libdir}/pkgconfig/uwac%{uwac_version}.pc
|
||||
|
||||
%files -n librdtk%{rdtk_package}
|
||||
%{_libdir}/librdtk%{rdtk_version}.so.*
|
||||
|
||||
%files -n rdtk%{rdtk_version}-devel
|
||||
%{_libdir}/cmake/rdtk%{rdtk_version}
|
||||
%{_includedir}/rdtk%{rdtk_version}
|
||||
%{_libdir}/librdtk%{rdtk_version}.so
|
||||
%{_libdir}/pkgconfig/rdtk%{rdtk_version}.pc
|
||||
|
||||
%files -n lib%{name}-server-proxy%{libfreerdp_package}
|
||||
%{_libdir}/libfreerdp-server-proxy%{major_version}.so.*
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user