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

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