File lollypop-portal.spec of Package lollypop-portal
#
# spec file for package lollypop-portal
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
Name: lollypop-portal
Version: 0.9.7
Release: 0
Summary: Lollypop flatpak portal (advanced features for Lollypop)
License: GPL-3.0-or-later
Group: Productivity/Multimedia/Sound/Players
URL: https://gitlab.gnome.org/gnumdk/lollypop-portal
Source: %{name}-%{version}.tar.xz
BuildRequires: meson >= 0.40
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.35.9
BuildRequires: pkgconfig(gtk+-3.0) >= 3.14
BuildRequires: pkgconfig(python3)
BuildArch: noarch
%description
Lollypop portal dbus service allows Lollypop to launch external commands (pa-cmd, kid3-cli, ...) through flatpak sandbox. This service is also used when running without sandbox.
%prep
%setup -q
sed -E -i "s|/usr/bin/env python3|/usr/bin/python3|g" lollypop-portal.in
%build
%meson
%meson_build
%install
%meson_install
%files
%doc README.md
%license LICENSE
%{_datadir}/dbus-1/services/org.gnome.Lollypop.Portal.service
%{_libexecdir}/lollypop-portal
%changelog