1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
%define _userunitdir %(pkg-config systemd --variable systemduserunitdir) %define _libexecdir %_prefix/libexec Name: xdg-desktop-portal-gtk Version: 1.2.0 Release: alt1 Summary: Backend implementation for xdg-desktop-portal using GTK+ Group: Graphical desktop/GNOME License: LGPLv2+ Url: https://github.com/flatpak/%name Source: %url/releases/download/%version/%name-%version.tar.xz %define xdg_desktop_portal_ver 1.2.0 Requires: xdg-desktop-portal >= %xdg_desktop_portal_ver BuildRequires: libgtk+3-devel BuildRequires: pkgconfig(xdg-desktop-portal) >= %xdg_desktop_portal_ver BuildRequires: libdbus-devel libsystemd-devel %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. %prep %setup %build %autoreconf %configure %make_build %install %makeinstall_std %find_lang %name %files -f %name.lang %_libexecdir/%name %_desktopdir/%name.desktop %_datadir/dbus-1/services/org.freedesktop.impl.portal.desktop.gtk.service %_datadir/xdg-desktop-portal/portals/gtk.portal %_userunitdir/%name.service %doc NEWS %changelog * Tue Jan 29 2019 Yuri N. Sedunov <aris@altlinux.org> 1.2.0-alt1 - 1.2.0 * Thu Sep 13 2018 Yuri N. Sedunov <aris@altlinux.org> 1.0.2-alt1 - 1.0.2 * Mon Sep 03 2018 Yuri N. Sedunov <aris@altlinux.org> 1.0.1-alt1 - 1.0.1 * Wed Aug 22 2018 Yuri N. Sedunov <aris@altlinux.org> 1.0-alt1 - 1.0 * Sun May 27 2018 Yuri N. Sedunov <aris@altlinux.org> 0.11-alt1 - first build for Sisyphus