2016-07-13 16:59:06 +00:00
|
|
|
Name: xdg-desktop-portal-gtk
|
2016-07-29 13:05:29 +00:00
|
|
|
Version: 0.2
|
2016-07-13 16:59:06 +00:00
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Backend implementation for xdg-desktop-portal using GTK+
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
URL: https://github.com/flatpak/%{name}
|
2016-07-29 13:05:29 +00:00
|
|
|
Source0: https://github.com/flatpak/releases/download/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
# Submitted upstream: https://github.com/flatpak/xdg-desktop-portal-gtk/pull/29
|
|
|
|
Patch0: xdg-desktop-portal-gtk-0.2-format-literal-warning.patch
|
2016-07-13 16:59:06 +00:00
|
|
|
|
|
|
|
BuildRequires: pkgconfig(gtk+-unix-print-3.0)
|
|
|
|
BuildRequires: pkgconfig(xdg-desktop-portal)
|
|
|
|
Requires: dbus
|
|
|
|
Requires: xdg-desktop-portal
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2016-07-29 13:05:29 +00:00
|
|
|
|
2016-07-13 16:59:06 +00:00
|
|
|
%prep
|
2016-07-29 13:05:29 +00:00
|
|
|
%setup -q
|
|
|
|
%patch0 -p1
|
|
|
|
|
2016-07-13 16:59:06 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-silent-rules
|
|
|
|
%make_build
|
|
|
|
|
2016-07-29 13:05:29 +00:00
|
|
|
|
2016-07-13 16:59:06 +00:00
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
%find_lang %{name}
|
|
|
|
|
2016-07-29 13:05:29 +00:00
|
|
|
|
2016-07-13 16:59:06 +00:00
|
|
|
%files -f %{name}.lang
|
|
|
|
%license COPYING
|
|
|
|
%doc NEWS
|
|
|
|
%{_libexecdir}/%{name}
|
|
|
|
%{_datadir}/dbus-1/services/org.freedesktop.impl.portal.desktop.gtk.service
|
|
|
|
%{_datadir}/xdg-desktop-portal/portals/gtk.portal
|
|
|
|
|
2016-07-29 13:05:29 +00:00
|
|
|
|
|
|
|
|
2016-07-13 16:59:06 +00:00
|
|
|
%changelog
|
2016-07-29 13:05:29 +00:00
|
|
|
* Fri Jul 29 2016 David King <amigadave@amigadave.com> - 0.2-1
|
|
|
|
- Update to 0.2 (#1361576)
|
|
|
|
|
2016-07-13 16:59:06 +00:00
|
|
|
* Wed Jul 13 2016 David King <amigadave@amigadave.com> - 0.1-1
|
|
|
|
- Initial Fedora packaging
|