2016-11-04 13:54:19 +01:00
|
|
|
#
|
|
|
|
# spec file for package xdg-desktop-portal
|
|
|
|
#
|
2019-02-01 08:33:50 +01:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2016-11-04 13:54:19 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-12-21 09:46:45 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-11-04 13:54:19 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: xdg-desktop-portal
|
2019-06-15 20:09:57 +02:00
|
|
|
Version: 1.4.2
|
2016-11-04 13:54:19 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: A portal frontend service for Flatpak
|
2018-03-05 17:15:50 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2016-11-04 13:54:19 +01:00
|
|
|
Group: System/Libraries
|
2019-04-11 16:49:06 +02:00
|
|
|
URL: https://github.com/flatpak/xdg-desktop-portal
|
2018-12-21 09:46:45 +01:00
|
|
|
Source0: https://github.com/flatpak/xdg-desktop-portal/releases/download/%{version}/%{name}-%{version}.tar.xz
|
2016-11-04 13:54:19 +01:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: xmlto
|
2019-02-01 08:33:50 +01:00
|
|
|
BuildRequires: pkgconfig(flatpak)
|
|
|
|
BuildRequires: pkgconfig(fontconfig)
|
2018-03-05 17:15:50 +01:00
|
|
|
BuildRequires: pkgconfig(fuse)
|
2016-11-04 13:54:19 +01:00
|
|
|
BuildRequires: pkgconfig(gio-2.0)
|
|
|
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
2019-06-15 20:09:57 +02:00
|
|
|
BuildRequires: pkgconfig(json-glib-1.0)
|
2019-02-01 08:33:50 +01:00
|
|
|
BuildRequires: pkgconfig(libgeoclue-2.0) >= 2.5.2
|
2019-06-15 20:09:57 +02:00
|
|
|
BuildRequires: pkgconfig(libpipewire-0.2) >= 0.2.6
|
2019-04-11 16:49:06 +02:00
|
|
|
# Break cycle: we buildrequire flatpak, and flatpak has a requires on xdg-desktop-portal
|
|
|
|
#!BuildIgnore: xdg-desktop-portal
|
2016-11-04 13:54:19 +01:00
|
|
|
Recommends: %{name}-lang
|
|
|
|
|
|
|
|
%description
|
|
|
|
A portal frontend service for Flatpak and possibly other desktop containment frameworks.
|
|
|
|
|
|
|
|
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: A portal frontend service for Flatpak -- Development files
|
|
|
|
Group: Development/Languages/C and C++
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
A portal frontend service for Flatpak and possibly other desktop containment frameworks.
|
|
|
|
|
|
|
|
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).
|
|
|
|
|
|
|
|
This package contains convenience files for developers.
|
|
|
|
|
|
|
|
%lang_package
|
|
|
|
|
|
|
|
%prep
|
2018-12-21 09:46:45 +01:00
|
|
|
%autosetup -p1
|
2016-11-04 13:54:19 +01:00
|
|
|
|
|
|
|
%build
|
2018-03-05 17:15:50 +01:00
|
|
|
%configure \
|
2019-02-01 08:33:50 +01:00
|
|
|
--enable-geoclue \
|
2018-12-21 09:46:45 +01:00
|
|
|
--enable-pipewire \
|
|
|
|
%{nil}
|
|
|
|
%make_build
|
2016-11-04 13:54:19 +01:00
|
|
|
|
|
|
|
%install
|
2018-03-05 17:15:50 +01:00
|
|
|
%make_install
|
2016-11-04 13:54:19 +01:00
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
%files
|
2018-03-05 17:15:50 +01:00
|
|
|
%license COPYING
|
|
|
|
%dir %{_datadir}/dbus-1
|
|
|
|
%dir %{_datadir}/dbus-1/interfaces
|
|
|
|
%dir %{_datadir}/dbus-1/services
|
2018-12-21 09:46:45 +01:00
|
|
|
%{_datadir}/dbus-1/interfaces/*.xml
|
2018-03-05 17:15:50 +01:00
|
|
|
%{_datadir}/dbus-1/services/org.freedesktop.impl.portal.PermissionStore.service
|
2016-11-04 13:54:19 +01:00
|
|
|
%{_datadir}/dbus-1/services/org.freedesktop.portal.Desktop.service
|
2018-03-05 17:15:50 +01:00
|
|
|
%{_datadir}/dbus-1/services/org.freedesktop.portal.Documents.service
|
2016-11-04 13:54:19 +01:00
|
|
|
%{_datadir}/doc/xdg-desktop-portal/
|
2018-03-05 17:15:50 +01:00
|
|
|
%{_libexecdir}/xdg-desktop-portal
|
|
|
|
%{_prefix}/lib/systemd/user/xdg-document-portal.service
|
|
|
|
%{_prefix}/lib/systemd/user/xdg-permission-store.service
|
|
|
|
%{_prefix}/lib/xdg-document-portal
|
|
|
|
%{_prefix}/lib/xdg-permission-store
|
|
|
|
%{_userunitdir}/xdg-desktop-portal.service
|
2016-11-04 13:54:19 +01:00
|
|
|
|
|
|
|
%files devel
|
2018-03-05 17:15:50 +01:00
|
|
|
%{_datadir}/pkgconfig/xdg-desktop-portal.pc
|
2016-11-04 13:54:19 +01:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
|
|
|
%changelog
|