Group :: Graphical desktop/GNOME
RPM: xdg-desktop-portal-gtk
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%def_disable snapshot
%define _userunitdir %(pkg-config systemd --variable systemduserunitdir)
%define _libexecdir %_prefix/libexec
Name: xdg-desktop-portal-gtk
Version: 1.14.1
Release: alt1
Summary: Backend implementation for xdg-desktop-portal using GTK+
Group: Graphical desktop/GNOME
License: LGPL-2.0
Url: https://github.com/flatpak/%name
%if_disabled snapshot
Source: %url/releases/download/%version/%name-%version.tar.xz
%else
Source: %name-%version.tar
%endif
%define xdg_desktop_portal_ver %version
%define gtk_ver 3.22
Requires: xdg-desktop-portal >= %xdg_desktop_portal_ver
BuildRequires: libgtk+3-devel >= %gtk_ver gsettings-desktop-schemas-devel
BuildRequires: pkgconfig(xdg-desktop-portal) >= %xdg_desktop_portal_ver
BuildRequires: libdbus-devel pkgconfig(systemd)
%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
…
Full changelog you can see here
%define _userunitdir %(pkg-config systemd --variable systemduserunitdir)
%define _libexecdir %_prefix/libexec
Name: xdg-desktop-portal-gtk
Version: 1.14.1
Release: alt1
Summary: Backend implementation for xdg-desktop-portal using GTK+
Group: Graphical desktop/GNOME
License: LGPL-2.0
Url: https://github.com/flatpak/%name
%if_disabled snapshot
Source: %url/releases/download/%version/%name-%version.tar.xz
%else
Source: %name-%version.tar
%endif
%define xdg_desktop_portal_ver %version
%define gtk_ver 3.22
Requires: xdg-desktop-portal >= %xdg_desktop_portal_ver
BuildRequires: libgtk+3-devel >= %gtk_ver gsettings-desktop-schemas-devel
BuildRequires: pkgconfig(xdg-desktop-portal) >= %xdg_desktop_portal_ver
BuildRequires: libdbus-devel pkgconfig(systemd)
%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
…
Full changelog you can see here