%bcond_with systemd %global xdg_desktop_portal_version 1.8.1 Name: xdg-desktop-portal-gtk Version: 1.8.0 Release: 1%{?_dist_release}%{?with_systemd:.systemd} Summary: Backend implementation for xdg-desktop-portal using GTK+ Group: desktop-gnome,system Vendor: Project Vine Distribution: Vine Linux License: LGPLv2+ URL: https://github.com/flatpak/%{name} Source0: https://github.com/flatpak/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz BuildRequires: gcc BuildRequires: gettext BuildRequires: pkgconfig(gtk+-unix-print-3.0) BuildRequires: xdg-desktop-portal-devel >= %{xdg_desktop_portal_version} BuildRequires: gnome-desktop3-devel %if %{with systemd} %{?systemd_requires} BuildRequires: systemd %endif Requires: dbus Requires: xdg-desktop-portal >= %{xdg_desktop_portal_version} %if 0%{?fedora} # Use rich deps to pull in this package when gtk3 and flatpak (or snapd) are both installed Supplements: (gtk3 and (flatpak or snapd)) %endif %description A backend implementation for xdg-desktop-portal that is using GTK+ and various pieces of GNOME infrastructure, such as the org.gnome.Shell.Screenshot or org.gnome.SessionManager D-Bus interfaces. %debug_package %prep %setup -q %build %configure --disable-silent-rules %make_build %install %make_install %find_lang %{name} %if %{with systemd} %post %systemd_user_post %{name}.service %preun %systemd_user_preun %{name}.service %endif %files -f %{name}.lang %license COPYING %doc NEWS %{_libexecdir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/dbus-1/services/org.freedesktop.impl.portal.desktop.gtk.service %{_datadir}/xdg-desktop-portal/portals/gtk.portal %if %{with systemd} %{_userunitdir}/%{name}.service %else %exclude /usr/lib/systemd %endif %changelog * Fri Feb 26 2021 Tomohiro "Tomo-p" KATO - 1.8.0-1 - new upstream release. * Mon Aug 03 2020 Tomohiro "Tomo-p" KATO - 1.7.1-1 - updated to unstable release to build with xdg-desktop-portal-1.7.x. * Wed Jul 29 2020 Tomohiro "Tomo-p" KATO - 1.6.0-1 - new upstream release. * Mon Sep 23 2019 Tomohiro "Tomo-p" KATO - 1.4.0-2 - initial build for Vine Linux. * Mon Aug 12 2019 Kalev Lember - 1.4.0-1 - Update to 1.4.0 * Sat Jul 27 2019 Fedora Release Engineering - 1.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Mar 06 2019 Jonas Ã…dahl - 1.2.0-3 - Backport GNOME 3.32 API compatibility bump patch (#1686053) * Sun Feb 03 2019 Fedora Release Engineering - 1.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Jan 28 2019 David King - 1.2.0-1 - Update to 1.2.0 * Wed Jan 16 2019 Kalev Lember - 1.1.1-1 - Update to 1.1.1 * Mon Sep 03 2018 David King - 1.0.2-1 - Update to 1.0.2 * Mon Aug 20 2018 David King - 1.0-1 - Update to 1.0 * Tue Jul 24 2018 David King - 0.99-1 - Update to 0.99 * Sat Jul 14 2018 Fedora Release Engineering - 0.11-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 12 2018 Neal Gompa - 0.11-2 - Update Supplements to also install when snapd is installed * Wed Apr 25 2018 David King - 0.11-1 - Update to 0.11 (#1545226) * Wed Feb 14 2018 David King - 0.10-1 - Update to 0.10 (#1545226) * Fri Feb 09 2018 Fedora Release Engineering - 0.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sun Nov 19 2017 David King - 0.9-1 - Update to 0.9 (#1514775) * Thu Aug 03 2017 Fedora Release Engineering - 0.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Jun 06 2017 David King - 0.7-1 - Update to 0.7 * Fri Mar 31 2017 David King - 0.6-1 - Update to 0.6 * Fri Feb 17 2017 Kalev Lember - 0.5-3 - Use rich deps to pull in this package when flatpak and gtk3 are both installed * Sat Feb 11 2017 Fedora Release Engineering - 0.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Jan 18 2017 David King - 0.5-1 - Update to 0.5 * Fri Sep 02 2016 David King - 0.3-1 - Update to 0.3 * Fri Jul 29 2016 David King - 0.2-1 - Update to 0.2 (#1361576) * Wed Jul 13 2016 David King - 0.1-1 - Initial Fedora packaging