|
|
e2b13b |
%global tarball_version %%(echo %{version} | tr '~' '.')
|
|
|
e2b13b |
|
|
|
e2b13b |
# Required for xdp_impl_background_emit_running_applications_changed
|
|
|
e2b13b |
%global xdg_desktop_portal_version 1.5.4
|
|
|
e2b13b |
|
|
|
e2b13b |
Name: xdg-desktop-portal-gnome
|
|
|
e2b13b |
Version: 41.2
|
|
|
aecdcd |
Release: 2%{?dist}
|
|
|
e2b13b |
Summary: Backend implementation for xdg-desktop-portal using GNOME
|
|
|
e2b13b |
|
|
|
e2b13b |
License: LGPLv2+
|
|
|
e2b13b |
URL: https://gitlab.gnome.org/GNOME/%{name}
|
|
|
e2b13b |
Source0: https://download.gnome.org/sources/%{name}/41/%{name}-%{tarball_version}.tar.xz
|
|
|
e2b13b |
|
|
|
aecdcd |
Patch0: windows-changed-signal.patch
|
|
|
aecdcd |
|
|
|
e2b13b |
BuildRequires: desktop-file-utils
|
|
|
e2b13b |
BuildRequires: gcc
|
|
|
e2b13b |
BuildRequires: gettext
|
|
|
e2b13b |
BuildRequires: meson
|
|
|
e2b13b |
BuildRequires: pkgconfig(fontconfig)
|
|
|
e2b13b |
BuildRequires: pkgconfig(gsettings-desktop-schemas)
|
|
|
e2b13b |
BuildRequires: pkgconfig(gtk4)
|
|
|
e2b13b |
BuildRequires: pkgconfig(xdg-desktop-portal) >= %{xdg_desktop_portal_version}
|
|
|
e2b13b |
BuildRequires: systemd-rpm-macros
|
|
|
e2b13b |
Requires: dbus
|
|
|
e2b13b |
Requires: dbus-common
|
|
|
e2b13b |
Requires: xdg-desktop-portal >= %{xdg_desktop_portal_version}
|
|
|
e2b13b |
Supplements: gnome-shell
|
|
|
e2b13b |
|
|
|
e2b13b |
%description
|
|
|
e2b13b |
A backend implementation for xdg-desktop-portal that is using various pieces of
|
|
|
e2b13b |
GNOME infrastructure, such as the org.gnome.Shell.Screenshot or
|
|
|
e2b13b |
org.gnome.SessionManager D-Bus interfaces.
|
|
|
e2b13b |
|
|
|
e2b13b |
|
|
|
e2b13b |
%prep
|
|
|
e2b13b |
%autosetup -p1 -n %{name}-%{tarball_version}
|
|
|
e2b13b |
|
|
|
e2b13b |
|
|
|
e2b13b |
%build
|
|
|
e2b13b |
%meson -Dsystemduserunitdir=%{_userunitdir}
|
|
|
e2b13b |
%meson_build
|
|
|
e2b13b |
|
|
|
e2b13b |
|
|
|
e2b13b |
%install
|
|
|
e2b13b |
%meson_install
|
|
|
e2b13b |
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
|
|
|
e2b13b |
%find_lang %{name}
|
|
|
e2b13b |
|
|
|
e2b13b |
|
|
|
e2b13b |
%post
|
|
|
e2b13b |
%systemd_user_post %{name}.service
|
|
|
e2b13b |
|
|
|
e2b13b |
%preun
|
|
|
e2b13b |
%systemd_user_preun %{name}.service
|
|
|
e2b13b |
|
|
|
e2b13b |
|
|
|
e2b13b |
%files -f %{name}.lang
|
|
|
e2b13b |
%license COPYING
|
|
|
e2b13b |
%doc NEWS README.md
|
|
|
e2b13b |
%{_libexecdir}/%{name}
|
|
|
e2b13b |
%{_datadir}/applications/%{name}.desktop
|
|
|
e2b13b |
%{_datadir}/dbus-1/services/org.freedesktop.impl.portal.desktop.gnome.service
|
|
|
e2b13b |
%{_datadir}/xdg-desktop-portal/portals/gnome.portal
|
|
|
e2b13b |
%{_userunitdir}/%{name}.service
|
|
|
e2b13b |
|
|
|
e2b13b |
|
|
|
e2b13b |
|
|
|
e2b13b |
%changelog
|
|
|
aecdcd |
* Tue Dec 13 2022 Jonas Ã…dahl <jadahl@redhat.com> - 41.2-2
|
|
|
aecdcd |
- Keep screen share window list up to date
|
|
|
aecdcd |
Resolves: #2148362
|
|
|
aecdcd |
|
|
|
e2b13b |
* Wed Jun 01 2022 Debarshi Ray <rishi@fedoraproject.org> - 41.2-1
|
|
|
e2b13b |
- Update to 41.2
|
|
|
e2b13b |
Resolves: #2083018
|
|
|
e2b13b |
|
|
|
e2b13b |
* Tue Apr 12 2022 Debarshi Ray <rishi@fedoraproject.org> - 41.1-3
|
|
|
e2b13b |
- Recommend this portal backend for all GNOME users
|
|
|
e2b13b |
Resolves: #2051473
|
|
|
e2b13b |
|
|
|
e2b13b |
* Tue Apr 05 2022 Debarshi Ray <rishi@fedoraproject.org> - 41.1-2
|
|
|
e2b13b |
- Make the Supplements specific to Fedora to retain consistency with
|
|
|
e2b13b |
xdg-desktop-portal-gtk
|
|
|
e2b13b |
Resolves: #2051473
|
|
|
e2b13b |
|
|
|
e2b13b |
* Sat Mar 05 2022 Debarshi Ray <rishi@fedoraproject.org> - 41.1-1
|
|
|
e2b13b |
- Initial version
|
|
|
e2b13b |
Resolves: #2051473
|