2016-07-11 14:53:20 +00:00
|
|
|
Name: xdg-desktop-portal
|
|
|
|
Version: 0.1
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Portal frontend service to flatpak
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
URL: https://github.com/flatpak/xdg-desktop-portal/
|
|
|
|
Source0: https://github.com/flatpak/xdg-desktop-portal/releases/download/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(flatpak)
|
|
|
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
|
|
|
BuildRequires: /usr/bin/xmlto
|
|
|
|
Requires: dbus
|
|
|
|
|
|
|
|
%description
|
|
|
|
xdg-desktop-portal works by exposing a series of D-Bus interfaces known as
|
|
|
|
portals under a well-known name (org.freedesktop.portal.Desktop) and object
|
|
|
|
path (/org/freedesktop/portal/desktop). The portal interfaces include APIs for
|
|
|
|
file access, opening URIs, printing and others.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The pkg-config file for %{name}.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --enable-dockbook-docs
|
2016-07-11 14:53:58 +00:00
|
|
|
%make_build
|
2016-07-11 14:53:20 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
install -dm 755 %{_buildroot}/%{_pkgdocdir}
|
|
|
|
install -pm 644 README.md %{_buildroot}/%{_pkgdocdir}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc %{_pkgdocdir}
|
|
|
|
%license COPYING
|
|
|
|
%{_libexecdir}/xdg-desktop-portal
|
|
|
|
%{_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
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_libdir}/pkgconfig/xdg-desktop-portal.pc
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Mon Jul 11 2016 David King <amigadave@amigadave.com> - 0.1-1
|
|
|
|
- Initial Fedora packaging
|