%global systemd_unit gnome-remote-desktop.service %global headless_systemd_unit gnome-remote-desktop-headless.service %global tarball_version %%(echo %{version} | tr '~' '.') # In RHEL/ELN FreeRDP is built without server support %if 0%{?rhel} >= 10 %global enable_rdp 1 %elif 0%{?rhel} >= 9 %global enable_rdp 0 %else %global enable_rdp 1 %endif %global libei_version 1.0.901 %global pipewire_version 0.3.49 Name: gnome-remote-desktop Version: 45.1 Release: 4%{?dist} Summary: GNOME Remote Desktop screen share service License: GPL-2.0-or-later URL: https://gitlab.gnome.org/GNOME/gnome-remote-desktop Source0: https://download.gnome.org/sources/%{name}/45/%{name}-%{tarball_version}.tar.xz # Adds encryption support (requires patched LibVNCServer) Patch0: gnutls-anontls.patch Patch1: 0001-settings-user-Always-be-headless-and-interactive-whe.patch Patch2: 0002-Add-headless-systemd-service.patch Patch3: 0003-Add-preliminary-headless-session-helper-files.patch BuildRequires: asciidoc BuildRequires: gcc BuildRequires: meson >= 0.47.0 BuildRequires: systemd-rpm-macros BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(epoxy) BuildRequires: pkgconfig(ffnvcodec) %if 0%{?enable_rdp} BuildRequires: pkgconfig(fdk-aac) BuildRequires: pkgconfig(freerdp2) BuildRequires: pkgconfig(fuse3) BuildRequires: pkgconfig(winpr2) %endif BuildRequires: pkgconfig(gbm) BuildRequires: pkgconfig(glib-2.0) >= 2.68 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) BuildRequires: pkgconfig(libsecret-1) BuildRequires: pkgconfig(libvncserver) >= 0.9.11-7 BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(xkbcommon) BuildRequires: pkgconfig(tss2-esys) BuildRequires: pkgconfig(tss2-mu) BuildRequires: pkgconfig(tss2-rc) BuildRequires: pkgconfig(tss2-tctildr) Requires: libei%{?_isa} >= %{libei_version} Requires: pipewire%{?_isa} >= %{pipewire_version} Requires: python3-pam 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 -n %{name}-%{tarball_version} %build %meson \ %if 0%{?enable_rdp} -Drdp=true \ -Dfdk_aac=true \ %else -Drdp=false \ -Dfdk_aac=false \ %endif -Dsystemd=true \ -Dtests=false \ -Dvnc=true %meson_build %install %meson_install %find_lang %{name} %post %systemd_user_post %{systemd_unit} %systemd_user_post %{headless_systemd_unit} %preun %systemd_user_preun %{systemd_unit} %systemd_user_preun %{headless_systemd_unit} %postun %systemd_user_postun_with_restart %{systemd_unit} %systemd_user_postun_with_restart %{headless_systemd_unit} %files -f %{name}.lang %license COPYING %doc README.md %{_bindir}/grdctl %{_libexecdir}/gnome-remote-desktop-daemon %{_libexecdir}/grd-login-session %{_userunitdir}/%{systemd_unit} %{_userunitdir}/%{headless_systemd_unit} %{_unitdir}/gnome-remote-session@.service %{_datadir}/glib-2.0/schemas/org.gnome.desktop.remote-desktop.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.desktop.remote-desktop.enums.xml %if 0%{?enable_rdp} %{_datadir}/gnome-remote-desktop/ %endif %{_mandir}/man1/grdctl.1* %changelog * 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 * 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-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * 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 - Update to 43.0 * Thu Aug 18 2022 Jonas Ådahl - 43~beta-4 - Drop dependency on tpm2-abrmd * Tue Aug 16 2022 Kalev Lember - 43~beta-3 - Avoid manual requires on tss2* and rely on automatic soname deps instead * Mon Aug 15 2022 Simone Caronni - 43~beta-2 - Rebuild for updated FreeRDP. * Thu Aug 11 2022 Jonas Ådahl - 43~beta - Update to 43.beta * Fri Jul 29 2022 Tomas Popela - 43~alpha-2 - FreeRDP is built without server support in RHEL and ELN so we should disable the RDP there * Thu Jul 28 2022 Jonas Ådahl - 43~alpha - 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-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 - Update to 42.0 * Mon Mar 14 2022 Jonas Ådahl - 42~rc-1 - Update to 42.rc * 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 * Tue Sep 07 2021 Jonas Ådahl - 41~rc-1 - Bump to 41.rc * 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-2 - Rebuild for updated FreeRDP. * 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 * Thu Mar 04 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 Sep 14 2020 Jonas Ådahl - 0.1.9-2 - Copy using the right destination stride * Mon Sep 14 2020 Jonas Ådahl - 0.1.9-1 - Update to 0.1.9 - Backport race condition crash fix - Rebase anon-tls patches * Thu Aug 27 2020 Ray Strode - 0.1.8-3 - Fix crash Related: #1844993 * Mon Jun 1 2020 Felipe Borges - 0.1.8-2 - Fix black screen issue in remote connections on Wayland * Wed Mar 11 2020 Jonas Ådahl - 0.1.8-1 - Update to 0.1.8 * Tue Jan 28 2020 Fedora Release Engineering - 0.1.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0.1.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon Mar 4 2019 Jonas Ådahl - 0.1.7-1 - Update to 0.1.7 * Thu Jan 31 2019 Fedora Release Engineering - 0.1.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Oct 2 2018 Jonas Ådahl - 0.1.6-2 - Don't crash when PipeWire disconnects (rhbz#1632781) * Tue Aug 7 2018 Jonas Ådahl - 0.1.6 - Update to 0.1.6 - Apply ANON-TLS patch - Depend on pipewire 0.2.2 * Fri Jul 13 2018 Fedora Release Engineering - 0.1.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed May 30 2018 Jonas Ådahl - 0.1.4-1 - Update to new version * Fri Feb 09 2018 Igor Gnatenko - 0.1.2-5 - Escape macros in %%changelog * Wed Feb 07 2018 Fedora Release Engineering - 0.1.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Tue Aug 29 2017 Jonas Ådahl - 0.1.2-3 - Use %%autosetup - Install licence file * Tue Aug 22 2017 Jonas Ådahl - 0.1.2-2 - Remove gschema compilation step as that had been deprecated * Mon Aug 21 2017 Jonas Ådahl - 0.1.2-1 - Update to 0.1.2 - Changed tabs to spaces - Added systemd user macros - Install to correct systemd user unit directory - Compile gsettings schemas after install and uninstall * Mon Aug 21 2017 Jonas Ådahl - 0.1.1-1 - First packaged version