Own the portals directory

This commit is contained in:
David King 2016-07-13 12:44:19 +01:00
parent 37466d9e02
commit 2a2b28b4b0

View File

@ -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 <amigadave@amigadave.com> - 0.1-2
- Own the portals directory
* Mon Jul 11 2016 David King <amigadave@amigadave.com> - 0.1-1
- Initial Fedora packaging