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

9d73fd
%global xdg_desktop_portal_version 1.1.1
615517
615517
Name:           xdg-desktop-portal-gtk
32b021
Version:        1.6.0
615517
Release:        1%{?dist}
615517
Summary:        Backend implementation for xdg-desktop-portal using GTK+
615517
615517
License:        LGPLv2+
615517
URL:            https://github.com/flatpak/%{name}
615517
Source0:        https://github.com/flatpak/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
615517
32b021
# Bump supported mutter API version to the one including PipeWire 0.3 support. (#1837413)
32b021
Patch1:         0001-screencast-Bump-supported-Mutter-version-to-3-280.patch
32b021
32b021
# https://github.com/flatpak/xdg-desktop-portal/issues/480 (#1837413)
32b021
Patch2:         0001-appchooserdialog-avoid-crash-when-there-are-few-app-.patch
32b021
Patch3:         0002-appchooserdialog-improve-handling-of-INITIAL_LIST_SI.patch
32b021
Patch4:         0003-appchooserdialog-add-g_return-to-show_more.patch
32b021
Patch5:         0004-appchooserdialog-improve-safety-of-ensure_default-fu.patch
32b021
615517
BuildRequires:  gcc
615517
BuildRequires:  gettext
615517
BuildRequires:  pkgconfig(gtk+-unix-print-3.0)
615517
BuildRequires:  pkgconfig(xdg-desktop-portal) >= %{xdg_desktop_portal_version}
32b021
BuildRequires:  gnome-desktop3-devel
615517
%{?systemd_requires}
615517
BuildRequires:  systemd
615517
Requires:       dbus
32b021
Requires:       gnome-desktop3
615517
Requires:       xdg-desktop-portal >= %{xdg_desktop_portal_version}
615517
%if 0%{?fedora}
615517
# Use rich deps to pull in this package when flatpak and gtk3 are both installed
615517
Supplements:    (flatpak and gtk3)
615517
%endif
615517
615517
%description
615517
A backend implementation for xdg-desktop-portal that is using GTK+ and various
615517
pieces of GNOME infrastructure, such as the org.gnome.Shell.Screenshot or
615517
org.gnome.SessionManager D-Bus interfaces.
615517
615517
615517
%prep
32b021
%autosetup -S git
615517
615517
615517
%build
615517
%configure --disable-silent-rules
615517
%make_build
615517
615517
615517
%install
615517
%make_install
615517
%find_lang %{name}
615517
615517
615517
%post
615517
%systemd_user_post %{name}.service
615517
615517
%preun
615517
%systemd_user_preun %{name}.service
615517
615517
615517
%files -f %{name}.lang
615517
%license COPYING
615517
%doc NEWS
615517
%{_libexecdir}/%{name}
615517
%{_datadir}/applications/%{name}.desktop
615517
%{_datadir}/dbus-1/services/org.freedesktop.impl.portal.desktop.gtk.service
615517
%{_datadir}/xdg-desktop-portal/portals/gtk.portal
615517
%{_userunitdir}/%{name}.service
615517
615517
615517
615517
%changelog
32b021
* Mon May 25 2020 Jonas Ã…dahl <jadahl@redhat.com> - 1.6.0-1
32b021
- Rebase to 1.6.0 (#1837413)
32b021
- Bump supported Mutter screen cast API version (#1837413)
32b021
- Backport bugfix (#1837413)
32b021
9d73fd
* Sat Oct 26 2019 David King <dking@redhat.com> - 1.4.0-1
9d73fd
- Rebase to 1.4.0 (#1748335)
9d73fd
615517
* Tue Sep 18 2018 Kalev Lember <klember@redhat.com> - 1.0.2-1
615517
- Update to 1.0.2
615517
615517
* Tue Jul 31 2018 David King <dking@redhat.com> - 0.99-1
615517
- Update to 0.99
615517
615517
* Wed Apr 25 2018 David King <amigadave@amigadave.com> - 0.11-1
615517
- Update to 0.11 (#1545226)
615517
615517
* Wed Feb 14 2018 David King <amigadave@amigadave.com> - 0.10-1
615517
- Update to 0.10 (#1545226)
615517
615517
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-2
615517
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
615517
615517
* Sun Nov 19 2017 David King <amigadave@amigadave.com> - 0.9-1
615517
- Update to 0.9 (#1514775)
615517
615517
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-3
615517
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
615517
615517
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-2
615517
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
615517
615517
* Tue Jun 06 2017 David King <amigadave@amigadave.com> - 0.7-1
615517
- Update to 0.7
615517
615517
* Fri Mar 31 2017 David King <amigadave@amigadave.com> - 0.6-1
615517
- Update to 0.6
615517
615517
* Fri Feb 17 2017 Kalev Lember <klember@redhat.com> - 0.5-3
615517
- Use rich deps to pull in this package when flatpak and gtk3 are both installed
615517
615517
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-2
615517
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
615517
615517
* Wed Jan 18 2017 David King <amigadave@amigadave.com> - 0.5-1
615517
- Update to 0.5
615517
615517
* Fri Sep 02 2016 David King <amigadave@amigadave.com> - 0.3-1
615517
- Update to 0.3
615517
615517
* Fri Jul 29 2016 David King <amigadave@amigadave.com> - 0.2-1
615517
- Update to 0.2 (#1361576)
615517
615517
* Wed Jul 13 2016 David King <amigadave@amigadave.com> - 0.1-1
615517
- Initial Fedora packaging