From 6568f302025c605af76b77fec3fa9e704ba78b78 Mon Sep 17 00:00:00 2001 From: David King Date: May 05 2017 06:07:49 +0000 Subject: Update to 0.6 --- diff --git a/.gitignore b/.gitignore index 06b378f..84b5ded 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /xdg-desktop-portal-0.3.tar.xz /xdg-desktop-portal-0.4.tar.xz /xdg-desktop-portal-0.5.tar.xz +/xdg-desktop-portal-0.6.tar.xz diff --git a/sources b/sources index 3981798..4a7a559 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (xdg-desktop-portal-0.5.tar.xz) = 7dca17cb98107ca9a9355d9350a48ab259daeae5a6b44a4621a20a32b505e4b5cc04acb5a89e245442f7795a6dad1d61123f06a0c2f7950703ccf9e1ccb9c1a3 +SHA512 (xdg-desktop-portal-0.6.tar.xz) = c307acc9635e63a380989204d729ad6a872ec6f1fae96c7c362ebb45af2280987396b2fe411528853a2a13ba90422330b9c55e21e142cdae6fd14c634722cc6c diff --git a/xdg-desktop-portal.spec b/xdg-desktop-portal.spec index 29fcd03..4ee7699 100644 --- a/xdg-desktop-portal.spec +++ b/xdg-desktop-portal.spec @@ -1,5 +1,5 @@ Name: xdg-desktop-portal -Version: 0.5 +Version: 0.6 Release: 1%{?dist} Summary: Portal frontend service to flatpak @@ -10,6 +10,8 @@ Source0: https://github.com/flatpak/xdg-desktop-portal/releases/download/%{versi BuildRequires: pkgconfig(flatpak) BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: /usr/bin/xmlto +%{?systemd_requires} +BuildRequires: systemd Requires: dbus %description @@ -45,6 +47,14 @@ install -dm 755 %{buildroot}/%{_datadir}/%{name}/portals %find_lang %{name} +%post +%systemd_user_post %{name}.service + + +%preun +%systemd_user_preun %{name}.service + + %files -f %{name}.lang %doc %{_pkgdocdir} %license COPYING @@ -53,12 +63,16 @@ install -dm 755 %{buildroot}/%{_datadir}/%{name}/portals %{_datadir}/dbus-1/interfaces/org.freedesktop.impl.portal.*.xml %{_datadir}/dbus-1/services/org.freedesktop.portal.Desktop.service %{_datadir}/%{name} +%{_userunitdir}/%{name}.service %files devel %{_libdir}/pkgconfig/xdg-desktop-portal.pc %changelog +* Fri Mar 31 2017 David King - 0.6-1 +- Update to 0.6 + * Wed Jan 18 2017 David King - 0.5-1 - Update to 0.5