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 Name: xdg-desktop-portal
Version: 0.1 Version: 0.1
Release: 1%{?dist} Release: 2%{?dist}
Summary: Portal frontend service to flatpak Summary: Portal frontend service to flatpak
License: LGPLv2+ License: LGPLv2+
@ -25,17 +25,23 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel %description devel
The pkg-config file for %{name}. The pkg-config file for %{name}.
%prep %prep
%setup -q %setup -q
%build %build
%configure --enable-dockbook-docs %configure --enable-dockbook-docs
%make_build %make_build
%install %install
%make_install %make_install
install -dm 755 %{_buildroot}/%{_pkgdocdir} install -dm 755 %{buildroot}/%{_pkgdocdir}
install -pm 644 README.md %{_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 %files
%doc %{_pkgdocdir} %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.portal.*.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.impl.portal.*.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.impl.portal.*.xml
%{_datadir}/dbus-1/services/org.freedesktop.portal.Desktop.service %{_datadir}/dbus-1/services/org.freedesktop.portal.Desktop.service
%{_datadir}/%{name}
%files devel %files devel
%{_libdir}/pkgconfig/xdg-desktop-portal.pc %{_libdir}/pkgconfig/xdg-desktop-portal.pc
%changelog %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 * Mon Jul 11 2016 David King <amigadave@amigadave.com> - 0.1-1
- Initial Fedora packaging - Initial Fedora packaging