## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 18; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}.alma.1 ## END: Set by rpmautospec %global systemd_unit_handover gnome-remote-desktop-handover.service %global systemd_unit_headless gnome-remote-desktop-headless.service %global systemd_unit_system gnome-remote-desktop.service %global systemd_unit_user gnome-remote-desktop.service %global tarball_version %%(echo %{version} | tr '~' '.') %bcond rdp %[0%{?fedora} || 0%{?rhel} >= 10] %bcond vnc %[0%{?fedora} || 0%{?rhel} < 10] %global libei_version 1.3.901 %global pipewire_version 1.2.0 Name: gnome-remote-desktop Version: 49.3 Release: 18.1.grdusb2%{?dist} Recommends: rdp-usb-gw Provides: gnome-remote-desktop-urbdrc = %{version}-%{release} Summary: GNOME Remote Desktop screen share service ExcludeArch: i686 License: GPL-2.0-or-later URL: https://gitlab.gnome.org/GNOME/gnome-remote-desktop Source0: https://download.gnome.org/sources/%{name}/49/%{name}-%{tarball_version}.tar.xz # Adds encryption support (requires patched LibVNCServer) Patch0: gnutls-anontls.patch # Connection throttling (RHEL-222511) Patch1: connection-throttling.patch # Depends on FreeRDP 3.15; drop this patch once FreeRDP is updated. Patch2: 0001-Patch-out-multi-touch-support.patch # Support headless sessions started from gnome-headless-session@.service Patch3: 0001-daemon-system-Use-timeout_add_seconds_once-on-abort_.patch Patch4: 0001-daemon-handover-Move-callback-definitions-earlier-in.patch Patch5: 0001-daemon-system-Respect-existing-remote_id-from-third-.patch # Add smartcard redirection support # https://gitlab.gnome.org/GNOME/gnome-remote-desktop/-/merge_requests/406 Patch6: add-smartcard-redirection-support.patch # https://redhat.atlassian.net/browse/RHEL-252838 Patch7: pcscd-pid-reuse.patch # Kerberos support # https://redhat.atlassian.net/browse/RHEL-3732 Patch8: kerberos-support.patch Patch9: 0001-Switch-to-dedicated-downstream-GDM-API.patch Patch10: 0001-systemd-Set-KRB5RCACHEDIR-in-system-service.patch # Allow disabling authentication Patch11: 0001-session-rdp-Allow-none-authentication.patch Patch12: 0001-session-rdp-Only-retrieve-credentials-when-needed.patch # Throttler timeouts (RHEL-289436, CVE-2026-96541) Patch13: throttler-timeout.patch Patch100: 0100-tests-Add-a-test-for-grdctl-reading-credentials-from.patch Patch101: 0101-ctl-Fix-reading-credentials-from-a-pipe.patch Patch102: 0102-ctl-Don-t-crash-when-the-gnome-remote-desktop-user-d.patch Patch103: 0103-tests-Add-a-test-for-USB-redirection-through-a-broke.patch Patch104: 0104-rdp-Let-a-USB-redirection-broker-handle-URBDRC-chann.patch Patch105: 0105-ctl-Add-a-command-to-set-the-USB-redirection-socket.patch Patch106: 0106-rdp-Support-USB-redirection-with-remote-login.patch Patch107: 0107-Default-the-USB-redirection-socket-to-rdp-usb-gw-s.patch BuildRequires: asciidoc BuildRequires: gcc BuildRequires: git BuildRequires: meson >= 1.4.0 BuildRequires: systemd-rpm-macros BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(epoxy) >= 1.4 BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(ffnvcodec) >= 11.1.5.0 %if %{with rdp} BuildRequires: pkgconfig(fdk-aac) BuildRequires: pkgconfig(freerdp3) >= 3.28.0 BuildRequires: pkgconfig(fuse3) >= 3.9.1 BuildRequires: pkgconfig(opus) BuildRequires: pkgconfig(polkit-gobject-1) >= 122 BuildRequires: pkgconfig(winpr3) >= 3.10.0 %endif BuildRequires: pkgconfig(gbm) BuildRequires: pkgconfig(glib-2.0) >= 2.75.0 BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(gnutls) BuildRequires: pkgconfig(gudev-1.0) BuildRequires: pkgconfig(libdrm) BuildRequires: pkgconfig(libei-1.0) >= %{libei_version} BuildRequires: pkgconfig(libnotify) BuildRequires: pkgconfig(libpipewire-0.3) >= %{pipewire_version} BuildRequires: pkgconfig(libsecret-1) %if %{with vnc} BuildRequires: pkgconfig(libvncserver) >= 0.9.11-7 %endif BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(xkbcommon) >= 1.0.0 BuildRequires: pkgconfig(tss2-esys) BuildRequires: pkgconfig(tss2-mu) BuildRequires: pkgconfig(tss2-rc) BuildRequires: pkgconfig(tss2-tctildr) BuildRequires: pkgconfig(libva) BuildRequires: pkgconfig(vulkan) >= 1.2.0 BuildRequires: glslc BuildRequires: spirv-tools Requires: libei%{?_isa} >= %{libei_version} Requires: pipewire%{?_isa} >= %{pipewire_version} Obsoletes: vino < 3.22.0-21 %description GNOME Remote Desktop is a remote desktop and screen sharing service for the GNOME desktop environment. %prep %autosetup -p1 -S git -n %{name}-%{tarball_version} %build %meson \ %if %{with rdp} -Drdp=true \ %else -Drdp=false \ %endif %if %{with vnc} -Dvnc=true \ %else -Dvnc=false \ %endif -Dsystemd=true \ -Dtests=false %meson_build %install %meson_install %find_lang %{name} %post %systemd_post %{systemd_unit_system} %systemd_post gnome-remote-desktop-pcscd.service %systemd_user_post %{systemd_unit_handover} %systemd_user_post %{systemd_unit_headless} %systemd_user_post %{systemd_unit_user} %preun %systemd_preun %{systemd_unit_system} %systemd_preun gnome-remote-desktop-pcscd.service %systemd_user_preun %{systemd_unit_handover} %systemd_user_preun %{systemd_unit_headless} %systemd_user_preun %{systemd_unit_user} %postun %systemd_postun_with_restart %{systemd_unit_system} %systemd_postun_with_restart gnome-remote-desktop-pcscd.service %systemd_user_postun_with_restart %{systemd_unit_handover} %systemd_user_postun_with_restart %{systemd_unit_headless} %systemd_user_postun_with_restart %{systemd_unit_user} %files -f %{name}.lang %license COPYING %doc README.md %{_bindir}/grdctl %{_libexecdir}/gnome-remote-desktop-daemon %{_libexecdir}/gnome-remote-desktop-enable-service %{_libexecdir}/gnome-remote-desktop-configuration-daemon %{_libexecdir}/grd-pcscd %{_libdir}/libgrdpcsc.so %{_libdir}/libgrdpcsc.so.0* %{_userunitdir}/%{systemd_unit_user} %{_userunitdir}/%{systemd_unit_headless} %{_userunitdir}/%{systemd_unit_handover} %{_unitdir}/%{systemd_unit_system} %{_unitdir}/gnome-remote-desktop-configuration.service %{_unitdir}/gnome-remote-desktop-pcscd.service %{_datadir}/applications/org.gnome.RemoteDesktop.Handover.desktop %{_datadir}/dbus-1/system-services/org.gnome.RemoteDesktop.Configuration.service %{_datadir}/dbus-1/system-services/org.gnome.RemoteDesktop.Pcscd.service %{_datadir}/dbus-1/system.d/org.gnome.RemoteDesktop.conf %{_datadir}/dbus-1/system.d/org.gnome.RemoteDesktop.Pcscd.conf %{_datadir}/glib-2.0/schemas/org.gnome.desktop.remote-desktop.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.desktop.remote-desktop.enums.xml %{_datadir}/polkit-1/actions/org.gnome.remotedesktop.configure-system-daemon.policy %{_datadir}/polkit-1/actions/org.gnome.remotedesktop.enable-system-daemon.policy %{_datadir}/polkit-1/actions/org.gnome.remotedesktop.use-grd-pcscd.policy %{_datadir}/polkit-1/rules.d/20-gnome-remote-desktop.rules %{_sysusersdir}/gnome-remote-desktop-sysusers.conf %{_tmpfilesdir}/gnome-remote-desktop-tmpfiles.conf %if %{with rdp} %{_datadir}/gnome-remote-desktop/ %endif %{_mandir}/man1/grdctl.1* %changelog * Thu Nov 19 2026 Will Rouesnel - 49.3-18.1.grdusb2 - USB redirection through a configurable broker socket, defaulting to rdp-usb-gw, including on the remote login screen; fixes from upstream. * Wed Nov 11 2026 Eduard Abdullin - 49.3-18.alma.1 - Exclude i686 architecture from build ## START: Generated by rpmautospec * Tue Oct 27 2026 Jonas Ådahl - 49.3-18 - Backport throttler timeout * Tue Oct 27 2026 Jonas Ådahl - 49.3-17 - Fix anon-tls patch * Fri Oct 09 2026 Tomas Pelka - 49.3-16 - session-rdp: Only retrieve credentials when needed * Fri Oct 09 2026 Tomas Pelka - 49.3-15 - systemd: Use RuntimeDirectory instead of ExecStartPre for rcache directory * Wed Oct 07 2026 Jonas Ådahl - 49.3-14 - Allow disabling authentication * Fri Oct 02 2026 Tomas Pelka - 49.3-13 - systemd: Set KRB5RCACHEDIR to %%t/gnome-remote-desktop across service units * Wed Sep 16 2026 Tomas Pelka - 49.3-12 - Another rebuild to fix the correct rhel build target * Mon Sep 14 2026 Jonas Ådahl - 49.3-11 - Add Kerberos support * Tue Sep 08 2026 Tomas Pelka - 49.3-10 - Resolves: RHEL-252838 * Mon Sep 07 2026 Jonas Ådahl - 49.3-9 - Use pidfd instead of pid to get session * Wed Aug 19 2026 Joan Torres Lopez - 49.3-8 - Add smartcard redirection support * Wed Aug 19 2026 Joan Torres Lopez - 49.3-7 - Fix trailing whitespaces * Wed Aug 19 2026 Joan Torres Lopez - 49.3-6 - Use git for %%autosetup patch application * Wed Aug 19 2026 Joan Torres Lopez - 49.3-5 - Undo disabling cdata.set('WITHOUT_FREERDP_3x_DEPRECATED', true) * Wed Aug 12 2026 Jonas Ådahl - 49.3-4 - Backport connection throttling * Wed May 06 2026 Joan Torres Lopez - 49.3-3 - Support remote login to sessions from gnome-headless-session@.service * Wed May 06 2026 Joan Torres Lopez - 49.3-2 - Update version requirements after rebase to 49 * Mon Feb 16 2026 Jonas Ådahl - 49.3-1 - Update to 49.3 * Fri Feb 13 2026 Jonas Ådahl - 49.2-1 - Update to 49.2 * Fri Nov 14 2025 Jonas Ådahl - 49.1-3 - Add missing build time dependencies * Fri Nov 14 2025 Jonas Ådahl - 49.1-2 - Patch out multi touch support * Fri Nov 14 2025 Florian Müllner - 49.1-1 - Update to 49.1 * Tue Nov 11 2025 Florian Müllner - 47.3-3 - Switch to %%autorelease * Thu Jul 03 2025 Jonas Ådahl - 47.3-2 - Backport connection throttling * Tue Jan 28 2025 Jiri Koten - 47.3-1 - Update to 47.3 * Tue Oct 29 2024 Troy Dawson - 47.alpha-3 - Bump release for October 2024 mass rebuild: * Thu Aug 01 2024 Tomas Pelka - 47.alpha-2 - Add gating.yaml via API * Mon Jul 22 2024 Jonas Ådahl - 47.alpha-1 - Rebase to 47.alpha * Mon Jun 24 2024 Troy Dawson - 46.2-3 - Bump release for June 2024 mass rebuild * Mon May 27 2024 Nieves Montero - 46.2-2 - Update to 46.2 * Thu May 23 2024 Nieves Montero - 46.2-1 - Update to 46.2 * Thu Apr 18 2024 David King - 46.1-1 - Update to 46.1 * Thu Mar 28 2024 Adam Williamson - 46.0-2 - Correct systemd macros * Tue Mar 26 2024 Jonas Ådahl - 46.0-1 - Bump version to 46.0 * Wed Jan 24 2024 Fedora Release Engineering - 45.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 45.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Nov 24 2023 Yaakov Selkowitz - 45.1-2 - Disable VNC in RHEL 10+ * Sun Oct 22 2023 Kalev Lember - 45.1-1 - Update to 45.1 * Sat Oct 21 2023 Kalev Lember - 45.0-1 - Update to 45.0 * Wed Sep 06 2023 Kalev Lember - 45.rc-2 - Add minimum required libei version * Tue Sep 05 2023 Kalev Lember - 45.rc-1 - Update to 45.rc * Fri Aug 11 2023 Kalev Lember - 45.beta-1 - Update to 45.beta * Wed Jul 19 2023 Fedora Release Engineering - 45.alpha-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jul 05 2023 Jonas Ådahl - 45.alpha-2 - Add missing function definition in TLS patch * Wed Jul 05 2023 Jonas Ådahl - 45.alpha-1 - Update to 45.alpha * Wed May 31 2023 Kalev Lember - 44.2-1 - Update to 44.2 * Mon Apr 24 2023 David King - 44.1-1 - Update to 44.1 * Sun Mar 19 2023 David King - 44.0-1 - Update to 44.0 * Thu Mar 16 2023 Jonas Ådahl - 44~rc-2 - Enable RDP in ELN * Sun Mar 05 2023 David King - 44~rc-1 - Update to 44.rc * Mon Feb 06 2023 David King - 44~alpha-1 - Update to 44.alpha * Thu Jan 19 2023 Fedora Release Engineering - 43.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Dec 08 2022 David King - 43.2-1 - Update to 43.2 * Tue Nov 08 2022 Stephen Gallagher - 43.1-2 - Fix build on RHEL 9+/ELN * Thu Oct 27 2022 David King - 43.1-1 - Update to 43.1 * Tue Sep 20 2022 Jonas Ådahl - 43.0-1 - Bump version to 43.0 * Thu Aug 18 2022 Jonas Ådahl - 43~beta-6 - Drop dependency on tpm2-abrmd * Tue Aug 16 2022 Kalev Lember - 43~beta-5 - Avoid manual requires on tss2* and rely on automatic soname deps instead * Mon Aug 15 2022 Simone Caronni - 43~beta-4 - Add missing build requirement * Mon Aug 15 2022 Simone Caronni - 43~beta-3 - Rebuild for updated FreeRDP * Thu Aug 11 2022 Jonas Ådahl - 43~beta-2 - Fix typo * Thu Aug 11 2022 Jonas Ådahl - 43~beta-1 - Bump version to gnome-remote-desktop-43.beta * Fri Jul 29 2022 Tomas Popela - 43~alpha-3 - Don't enable RDP support in ELN/RHEL 9+ * Thu Jul 28 2022 Jonas Ådahl - 43~alpha-2 - README -> README.md * Thu Jul 28 2022 Jonas Ådahl - 43~alpha-1 - Update to 43.alpha * Thu Jul 21 2022 Fedora Release Engineering - 42.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jul 07 2022 David King - 42.3-1 - Update to 43.3 (#2091415) * Sun May 29 2022 David King - 42.2-1 - Update to 42.2 * Wed May 11 2022 David King - 42.1.1-1 - Update to 42.1.1 (#2061546) * Wed Apr 27 2022 David King - 42.1-3 - Update sources * Wed Apr 27 2022 David King - 42.1-2 - Fix isa macro in Requires * Tue Apr 26 2022 David King - 42.1-1 - Update to 42.1 (#2061546) * Mon Mar 21 2022 Jonas Ådahl - 42.0-1 - Update to 42.0 * Mon Mar 14 2022 Jonas Ådahl - 42~rc-5 - Fix path to man page * Mon Mar 14 2022 Jonas Ådahl - 42~rc-4 - Fix path to grdctl * Mon Mar 14 2022 Jonas Ådahl - 42~rc-3 - Add missing patch * Mon Mar 14 2022 Jonas Ådahl - 42~rc-2 - Add man page * Mon Mar 14 2022 Jonas Ådahl - 42~rc-1 - Update to 42.rc * Wed Feb 16 2022 Jonas Ådahl - 42~beta-3 - Add build requirements needed for tests * Wed Feb 16 2022 Jonas Ådahl - 42~beta-2 - Add missing added dependencies * Wed Feb 16 2022 Jonas Ådahl - 42~beta-1 - Update to 42.beta * Thu Jan 20 2022 Fedora Release Engineering - 41.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Dec 08 2021 Jonas Ådahl - 41.2-1 - Update to 41.2 * Mon Nov 01 2021 Kalev Lember - 41.1-1 - Update to 41.1 * Mon Sep 20 2021 Kalev Lember - 41.0-1 - Update to 41.0 * Wed Sep 08 2021 Kalev Lember - 41~rc-2 - Fix the build * Tue Sep 07 2021 Jonas Ådahl - 41~rc-1 - Bump to 41.rc * Wed Aug 04 2021 Kalev Lember - 40.1-5 - Bump release * Wed Aug 04 2021 Kalev Lember - 40.1-4 - Remove old, unused tarball from sources file * Wed Aug 04 2021 Kalev Lember - 40.1-3 - Avoid systemd_requires as per updated packaging guidelines * Thu Jul 22 2021 Fedora Release Engineering - 40.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon May 03 2021 Jonas Ådahl - 40.1-1 - Bump to 40.1 * Thu Apr 15 2021 Simone Caronni - 40.0-3 - Rebuild for updated FreeRDP * Mon Mar 22 2021 Kalev Lember - 40.0-2 - Use macro for converting between GNOME and Fedora pre-release versioning * Mon Mar 22 2021 Kalev Lember - 40.0-1 - Update to 40.0 * Thu Mar 18 2021 Michael Catanzaro - 40.0~rc-2 - Add Obsoletes: vino * Mon Mar 15 2021 Kalev Lember - 40.0~rc-1 - Update to 40.rc * Mon Mar 15 2021 Kalev Lember - 40.0~beta-2 - Fix rpmbuild changelog chronological order warning * Fri Mar 05 2021 Jonas Ådahl - 40.0~beta-1 - Bump to 40.beta * Tue Jan 26 2021 Fedora Release Engineering - 0.1.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Oct 12 2020 Jonas Ådahl - 0.1.9-2 - Copy using the right destination stride * Mon Sep 14 2020 Jonas Ådahl - 0.1.9-1 - Update gnome-remote-desktop - Update to 0.1.9 - Backport race condition crash fix - Rebase anon-tls patches - Cleanup left-over patches * Thu Aug 27 2020 Ray Strode - 0.1.8-6 - add missing changelog entry * Thu Aug 27 2020 Ray Strode - 0.1.8-5 - RPMAUTOSPEC: unresolvable merge ## END: Generated by rpmautospec