gnome-remote-desktop/gnome-remote-desktop.spec

359 lines
11 KiB
RPMSpec
Raw Normal View History

2024-03-25 22:09:20 +00:00
%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
2017-09-01 03:02:37 +00:00
%global tarball_version %%(echo %{version} | tr '~' '.')
2023-11-24 18:10:07 +00:00
%bcond rdp %[0%{?fedora} || 0%{?rhel} >= 10]
%bcond vnc %[0%{?fedora} || 0%{?rhel} < 10]
%global libei_version 1.0.901
%global pipewire_version 0.3.49
2017-09-01 03:02:37 +00:00
Name: gnome-remote-desktop
2024-03-25 22:09:20 +00:00
Version: 46.0
Release: 1%{?dist}
2017-09-01 03:02:37 +00:00
Summary: GNOME Remote Desktop screen share service
2023-03-05 08:01:56 +00:00
License: GPL-2.0-or-later
2022-04-26 08:46:19 +00:00
URL: https://gitlab.gnome.org/GNOME/gnome-remote-desktop
2023-08-11 10:31:23 +00:00
Source0: https://download.gnome.org/sources/%{name}/45/%{name}-%{tarball_version}.tar.xz
# Adds encryption support (requires patched LibVNCServer)
2021-03-04 22:03:04 +00:00
Patch0: gnutls-anontls.patch
2022-03-14 10:04:13 +00:00
BuildRequires: asciidoc
2022-04-26 08:46:19 +00:00
BuildRequires: gcc
BuildRequires: meson >= 0.47.0
BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(cairo)
2022-04-26 08:46:19 +00:00
BuildRequires: pkgconfig(epoxy)
2024-03-25 22:09:20 +00:00
BuildRequires: pkgconfig(dbus-1)
2022-04-26 08:46:19 +00:00
BuildRequires: pkgconfig(ffnvcodec)
2023-11-24 18:10:07 +00:00
%if %{with rdp}
2022-08-15 13:58:18 +00:00
BuildRequires: pkgconfig(fdk-aac)
2024-03-25 22:09:20 +00:00
BuildRequires: pkgconfig(freerdp3)
2021-03-04 22:03:04 +00:00
BuildRequires: pkgconfig(fuse3)
2024-03-25 22:09:20 +00:00
BuildRequires: pkgconfig(opus)
BuildRequires: pkgconfig(polkit-gobject-1)
BuildRequires: pkgconfig(winpr3)
%endif
BuildRequires: pkgconfig(gbm)
2022-04-26 08:46:19 +00:00
BuildRequires: pkgconfig(glib-2.0) >= 2.68
BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(gnutls)
BuildRequires: pkgconfig(gudev-1.0)
2022-04-26 08:46:19 +00:00
BuildRequires: pkgconfig(libdrm)
BuildRequires: pkgconfig(libei-1.0) >= %{libei_version}
2022-04-26 08:46:19 +00:00
BuildRequires: pkgconfig(libnotify)
BuildRequires: pkgconfig(libpipewire-0.3)
BuildRequires: pkgconfig(libsecret-1)
2023-11-24 18:10:07 +00:00
%if %{with vnc}
2022-04-26 08:46:19 +00:00
BuildRequires: pkgconfig(libvncserver) >= 0.9.11-7
2023-11-24 18:10:07 +00:00
%endif
2022-04-26 08:46:19 +00:00
BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(xkbcommon)
BuildRequires: pkgconfig(tss2-esys)
BuildRequires: pkgconfig(tss2-mu)
BuildRequires: pkgconfig(tss2-rc)
2022-08-11 14:04:25 +00:00
BuildRequires: pkgconfig(tss2-tctildr)
Requires: libei%{?_isa} >= %{libei_version}
Requires: pipewire%{?_isa} >= %{pipewire_version}
2017-09-01 03:02:37 +00:00
2021-03-18 15:28:53 +00:00
Obsoletes: vino < 3.22.0-21
2017-09-01 03:02:37 +00:00
%description
GNOME Remote Desktop is a remote desktop and screen sharing service for the
GNOME desktop environment.
%prep
2022-04-26 08:46:19 +00:00
%autosetup -p1 -n %{name}-%{tarball_version}
2017-09-01 03:02:37 +00:00
%build
2022-04-26 08:46:19 +00:00
%meson \
2023-11-24 18:10:07 +00:00
%if %{with rdp}
2022-04-26 08:46:19 +00:00
-Drdp=true \
%else
-Drdp=false \
2023-11-24 18:10:07 +00:00
%endif
%if %{with vnc}
-Dvnc=true \
%else
-Dvnc=false \
%endif
2022-04-26 08:46:19 +00:00
-Dsystemd=true \
2023-11-24 18:10:07 +00:00
-Dtests=false
2017-09-01 03:02:37 +00:00
%meson_build
%install
%meson_install
2022-04-26 08:46:19 +00:00
%find_lang %{name}
2021-09-08 19:30:00 +00:00
2017-09-01 03:02:37 +00:00
%post
2024-03-25 22:09:20 +00:00
%systemd_system_post %{systemd_unit_system}
%systemd_user_post %{systemd_unit_handover}
%systemd_user_post %{systemd_unit_headless}
%systemd_user_post %{systemd_unit_user}
2017-09-01 03:02:37 +00:00
%preun
2024-03-25 22:09:20 +00:00
%systemd_system_preun %{systemd_unit_system}
%systemd_user_preun %{systemd_unit_handover}
%systemd_user_preun %{systemd_unit_headless}
%systemd_user_preun %{systemd_unit_user}
2017-09-01 03:02:37 +00:00
%postun
2024-03-25 22:09:20 +00:00
%systemd_system_postun_with_restart %{systemd_unit_system}
%systemd_user_postun_with_restart %{systemd_unit_handover}
%systemd_user_postun_with_restart %{systemd_unit_headless}
%systemd_user_postun_with_restart %{systemd_unit_user}
2017-09-01 03:02:37 +00:00
2022-04-26 08:46:19 +00:00
%files -f %{name}.lang
2017-09-01 03:02:37 +00:00
%license COPYING
2022-07-28 19:07:19 +00:00
%doc README.md
2022-03-14 10:33:39 +00:00
%{_bindir}/grdctl
2017-09-01 03:02:37 +00:00
%{_libexecdir}/gnome-remote-desktop-daemon
2024-03-25 22:09:20 +00:00
%{_userunitdir}/%{systemd_unit_user}
%{_userunitdir}/%{systemd_unit_headless}
%{_userunitdir}/%{systemd_unit_handover}
%{_unitdir}/%{systemd_unit_system}
%{_datadir}/applications/org.gnome.RemoteDesktop.Handover.desktop
%{_datadir}/dbus-1/system-services/org.gnome.RemoteDesktop.service
%{_datadir}/dbus-1/system.d/org.gnome.RemoteDesktop.conf
2017-09-01 03:02:37 +00:00
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.remote-desktop.gschema.xml
2018-08-07 12:13:41 +00:00
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.remote-desktop.enums.xml
2024-03-25 22:09:20 +00:00
%{_datadir}/polkit-1/actions/org.gnome.remotedesktop.configure-system-daemon.policy
%{_sysusersdir}/gnome-remote-desktop-sysusers.conf
%{_tmpfilesdir}/gnome-remote-desktop-tmpfiles.conf
2023-11-24 18:10:07 +00:00
%if %{with rdp}
2021-09-08 19:30:00 +00:00
%{_datadir}/gnome-remote-desktop/
%endif
2022-03-14 11:25:43 +00:00
%{_mandir}/man1/grdctl.1*
2017-09-01 03:02:37 +00:00
%changelog
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 45.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 45.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
2023-11-24 18:10:07 +00:00
* Fri Nov 24 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 45.1-2
- Disable VNC in RHEL 10+
2023-10-22 21:29:53 +00:00
* Sun Oct 22 2023 Kalev Lember <klember@redhat.com> - 45.1-1
- Update to 45.1
2023-10-21 11:16:27 +00:00
* Sat Oct 21 2023 Kalev Lember <klember@redhat.com> - 45.0-1
- Update to 45.0
2023-09-05 13:50:43 +00:00
* Tue Sep 05 2023 Kalev Lember <klember@redhat.com> - 45.rc-1
- Update to 45.rc
2023-08-11 10:31:23 +00:00
* Fri Aug 11 2023 Kalev Lember <klember@redhat.com> - 45.beta-1
- Update to 45.beta
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 45.alpha-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
2023-07-05 13:00:48 +00:00
* Wed Jul 05 2023 Jonas Ådahl <jadahl@redhat.com> - 45~alpha-1
- Update to 45.alpha
2023-05-31 12:25:44 +00:00
* Wed May 31 2023 Kalev Lember <klember@redhat.com> - 44.2-1
- Update to 44.2
2023-04-24 11:53:32 +00:00
* Mon Apr 24 2023 David King <amigadave@amigadave.com> - 44.1-1
- Update to 44.1
2023-03-19 15:03:50 +00:00
* Sun Mar 19 2023 David King <amigadave@amigadave.com> - 44.0-1
- Update to 44.0
2023-03-16 10:25:06 +00:00
* Thu Mar 16 2023 Jonas Ådahl <jadahl@redhat.com> - 44~rc-2
- Enable RDP in ELN
2023-03-05 08:01:56 +00:00
* Sun Mar 05 2023 David King <amigadave@amigadave.com> - 44~rc-1
- Update to 44.rc
2023-02-06 18:20:57 +00:00
* Mon Feb 06 2023 David King <amigadave@amigadave.com> - 44~alpha-1
- Update to 44.alpha
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 43.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
2022-12-08 20:56:55 +00:00
* Thu Dec 08 2022 David King <amigadave@amigadave.com> - 43.2-1
- Update to 43.2
* Tue Nov 08 2022 Stephen Gallagher <sgallagh@redhat.com> - 43.1-2
- Fix build on RHEL 9+/ELN
2022-10-27 19:45:00 +00:00
* Thu Oct 27 2022 David King <amigadave@amigadave.com> - 43.1-1
- Update to 43.1
2022-09-20 14:00:30 +00:00
* Tue Sep 20 2022 Jonas Ådahl <jadahl@redhat.com> - 43.0
- Update to 43.0
* Thu Aug 18 2022 Jonas Ådahl <jadahl@redhat.com> - 43~beta-4
- Drop dependency on tpm2-abrmd
* Tue Aug 16 2022 Kalev Lember <klember@redhat.com> - 43~beta-3
- Avoid manual requires on tss2* and rely on automatic soname deps instead
2022-08-15 13:37:43 +00:00
* Mon Aug 15 2022 Simone Caronni <negativo17@gmail.com> - 43~beta-2
- Rebuild for updated FreeRDP.
* Thu Aug 11 2022 Jonas Ådahl <jadahl@redhat.com> - 43~beta
- Update to 43.beta
* Fri Jul 29 2022 Tomas Popela <tpopela@redhat.com> - 43~alpha-2
- FreeRDP is built without server support in RHEL and ELN so we should disable
the RDP there
2022-07-28 16:16:08 +00:00
* Thu Jul 28 2022 Jonas Ådahl <jadahl@redhat.com> - 43~alpha
- Update to 43.alpha
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 42.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
2022-07-07 12:44:03 +00:00
* Thu Jul 07 2022 David King <amigadave@amigadave.com> - 42.3-1
- Update to 43.3 (#2091415)
2022-05-29 17:11:31 +00:00
* Sun May 29 2022 David King <amigadave@amigadave.com> - 42.2-1
- Update to 42.2
2022-05-11 10:26:25 +00:00
* Wed May 11 2022 David King <amigadave@amigadave.com> - 42.1.1-1
- Update to 42.1.1 (#2061546)
2022-04-27 11:05:03 +00:00
* Wed Apr 27 2022 David King <amigadave@amigadave.com> - 42.1-2
- Fix isa macro in Requires
2022-04-26 08:46:19 +00:00
* Tue Apr 26 2022 David King <amigadave@amigadave.com> - 42.1-1
- Update to 42.1 (#2061546)
2022-03-21 06:14:31 +00:00
* Mon Mar 21 2022 Jonas Ådahl <jadahl@redhat.com> - 42.0
- Update to 42.0
2022-03-14 08:55:28 +00:00
* Mon Mar 14 2022 Jonas Ådahl <jadahl@redhat.com> - 42~rc-1
- Update to 42.rc
2022-02-16 10:28:36 +00:00
* Wed Feb 16 2022 Jonas Ådahl <jadahl@redhat.com> - 42~beta-1
- Update to 42.beta
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 41.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
2021-12-08 08:16:04 +00:00
* Wed Dec 08 2021 Jonas Ådahl <jadahl@redhat.com> - 41.2-1
- Update to 41.2
2021-11-01 10:05:32 +00:00
* Mon Nov 01 2021 Kalev Lember <klember@redhat.com> - 41.1-1
- Update to 41.1
2021-09-20 09:38:11 +00:00
* Mon Sep 20 2021 Kalev Lember <klember@redhat.com> - 41.0-1
- Update to 41.0
2021-09-07 15:11:17 +00:00
* Tue Sep 07 2021 Jonas Ådahl <jadahl@redhat.com> - 41~rc-1
- Bump to 41.rc
* Wed Aug 04 2021 Kalev Lember <klember@redhat.com> - 40.1-3
- Avoid systemd_requires as per updated packaging guidelines
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 40.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2021-05-03 07:22:33 +00:00
* Mon May 03 2021 Jonas Ådahl <jadahl@redhat.com> - 40.1-1
- Bump to 40.1
2021-04-15 12:53:33 +00:00
* Thu Apr 15 2021 Simone Caronni <negativo17@gmail.com> - 40.0-2
- Rebuild for updated FreeRDP.
2021-03-22 18:19:21 +00:00
* Mon Mar 22 2021 Kalev Lember <klember@redhat.com> - 40.0-1
- Update to 40.0
2021-03-18 15:28:53 +00:00
* Thu Mar 18 2021 Michael Catanzaro <mcatanzaro@redhat.com> - 40.0~rc-2
- Add Obsoletes: vino
2021-03-15 20:48:38 +00:00
* Mon Mar 15 2021 Kalev Lember <klember@redhat.com> - 40.0~rc-1
- Update to 40.rc
2021-03-04 22:03:04 +00:00
* Thu Mar 04 2021 Jonas Ådahl <jadahl@redhat.com> - 40.0~beta-1
- Bump to 40.beta
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.9-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Sep 14 2020 Jonas Ådahl <jadahl@redhat.com> - 0.1.9-2
- Copy using the right destination stride
* Mon Sep 14 2020 Jonas Ådahl <jadahl@redhat.com> - 0.1.9-1
- Update to 0.1.9
- Backport race condition crash fix
- Rebase anon-tls patches
* Thu Aug 27 2020 Ray Strode <rstrode@redhat.com> - 0.1.8-3
- Fix crash
Related: #1844993
* Mon Jun 1 2020 Felipe Borges <feborges@redhat.com> - 0.1.8-2
- Fix black screen issue in remote connections on Wayland
2020-03-20 08:51:26 +00:00
* Wed Mar 11 2020 Jonas Ådahl <jadahl@redhat.com> - 0.1.8-1
- Update to 0.1.8
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.7-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Mon Mar 4 2019 Jonas Ådahl <jadahl@redhat.com> - 0.1.7-1
- Update to 0.1.7
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Tue Oct 2 2018 Jonas Ådahl <jadahl@redhat.com> - 0.1.6-2
- Don't crash when PipeWire disconnects (rhbz#1632781)
* Tue Aug 7 2018 Jonas Ådahl <jadahl@redhat.com> - 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 <releng@fedoraproject.org> - 0.1.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed May 30 2018 Jonas Ådahl <jadahl@redhat.com> - 0.1.4-1
- Update to new version
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.2-5
- Escape macros in %%changelog
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2017-09-01 03:02:37 +00:00
* Tue Aug 29 2017 Jonas Ådahl <jadahl@redhat.com> - 0.1.2-3
- Use %%autosetup
2017-09-01 03:02:37 +00:00
- Install licence file
* Tue Aug 22 2017 Jonas Ådahl <jadahl@redhat.com> - 0.1.2-2
- Remove gschema compilation step as that had been deprecated
* Mon Aug 21 2017 Jonas Ådahl <jadahl@redhat.com> - 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 <jadahl@redhat.com> - 0.1.1-1
- First packaged version