File xdg-desktop-portal-xapp.spec of Package xdg-desktop-portal-xapp
#
# spec file for package xdg-desktop-portal-xapp
#
# Copyright (c) 2023 SUSE LLC
#
# 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.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: xdg-desktop-portal-xapp
Version: 1.0.7
Release: 0
Summary: A backend implementation for xdg-desktop-portal
# FIXME: Select a correct license from https://github.com/openSUSE/spec-cleaner#spdx-licenses
License: LGPL-2.1
URL: https://github.com/linuxmint/xdg-desktop-portal-xapp/
Source: %{url}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: meson
BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(xdg-desktop-portal)
BuildRequires: xdg-desktop-portal-gtk
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gtk+-3.0)
Requires: xdg-desktop-portal
Supplements: (cinnamon and (flatpak or snapd))
%description
A backend implementation for xdg-desktop-portal that is using GTK and various pieces of Cinnamon/MATE/Xfce4 infrastructure.
%prep
%autosetup
%build
%meson
%meson_build
%install
%meson_install
%post
%systemd_user_post %{name}.service
%preun
%systemd_user_preun %{name}.service
%files
%license COPYING
%doc README.md
%{_userunitdir}/xdg-desktop-portal-xapp.service
%{_libexecdir}/xdg-desktop-portal-xapp
%{_datadir}/applications/xdg-desktop-portal-xapp.desktop
%{_datadir}/dbus-1/services/org.freedesktop.impl.portal.desktop.xapp.service
%{_datadir}/xdg-desktop-portal/portals/xapp.portal
%changelog