diff --git a/xdg-desktop-portal.spec b/xdg-desktop-portal.spec index c59327a..9c639e2 100644 --- a/xdg-desktop-portal.spec +++ b/xdg-desktop-portal.spec @@ -1,6 +1,6 @@ Name: xdg-desktop-portal Version: 0.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Portal frontend service to flatpak License: LGPLv2+ @@ -25,17 +25,23 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The pkg-config file for %{name}. + %prep %setup -q + %build %configure --enable-dockbook-docs %make_build + %install %make_install -install -dm 755 %{_buildroot}/%{_pkgdocdir} -install -pm 644 README.md %{_buildroot}/%{_pkgdocdir} +install -dm 755 %{buildroot}/%{_pkgdocdir} +install -pm 644 README.md %{buildroot}/%{_pkgdocdir} +# This directory is used by implementations such as xdg-desktop-portal-gtk. +install -dm 755 %{buildroot}/%{_datadir}/%{name}/portals + %files %doc %{_pkgdocdir} @@ -44,10 +50,15 @@ install -pm 644 README.md %{_buildroot}/%{_pkgdocdir} %{_datadir}/dbus-1/interfaces/org.freedesktop.portal.*.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.impl.portal.*.xml %{_datadir}/dbus-1/services/org.freedesktop.portal.Desktop.service +%{_datadir}/%{name} %files devel %{_libdir}/pkgconfig/xdg-desktop-portal.pc + %changelog +* Tue Jul 12 2016 David King - 0.1-2 +- Own the portals directory + * Mon Jul 11 2016 David King - 0.1-1 - Initial Fedora packaging