Blame SPECS/xdg-desktop-portal-gnome.spec

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