diff --git a/.gitignore b/.gitignore index 55bbc03..482aec2 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /xdg-desktop-portal-gtk-0.2.tar.xz /xdg-desktop-portal-gtk-0.3.tar.xz /xdg-desktop-portal-gtk-0.5.tar.xz +/xdg-desktop-portal-gtk-0.6.tar.xz diff --git a/sources b/sources index 7e66f46..dd76475 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (xdg-desktop-portal-gtk-0.5.tar.xz) = 216bd26b245acb1c59eba6015e753ba1923600ddef5bc7d81d8501f53c495f25cd40c2e4595c5cf1f681b4d086790f313c13a257e2978659e4ee666ae60aa6a7 +SHA512 (xdg-desktop-portal-gtk-0.6.tar.xz) = 30d3ebe7528ae9869e66eea683b007bcb300604b5bda082bdf9ef62905b512defc2bde0a6d5dcc8dd16c36589d8df6bc53302a3e4af419f5f39b3f153f6023ee diff --git a/xdg-desktop-portal-gtk.spec b/xdg-desktop-portal-gtk.spec index 51fcb7f..24447d8 100644 --- a/xdg-desktop-portal-gtk.spec +++ b/xdg-desktop-portal-gtk.spec @@ -1,6 +1,6 @@ Name: xdg-desktop-portal-gtk -Version: 0.5 -Release: 3%{?dist} +Version: 0.6 +Release: 1%{?dist} Summary: Backend implementation for xdg-desktop-portal using GTK+ License: LGPLv2+ @@ -9,6 +9,8 @@ Source0: https://github.com/flatpak/releases/download/%{version}/%{name}- BuildRequires: pkgconfig(gtk+-unix-print-3.0) BuildRequires: pkgconfig(xdg-desktop-portal) +%{?systemd_requires} +BuildRequires: systemd Requires: dbus Requires: xdg-desktop-portal %if 0%{?fedora} @@ -36,16 +38,28 @@ org.gnome.SessionManager D-Bus interfaces. %find_lang %{name} +%post +%systemd_user_post %{name}.service + +%preun +%systemd_user_preun %{name}.service + + %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 +%{_userunitdir}/%{name}.service %changelog +* 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