File mpDris2.spec of Package mpDris2

# spec file for package mpDris2
# Copyright (c) 2019 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

Name:           mpDris2
Version:        0.8
Release:        0
Summary:        MPRIS V2.1 support for mpd
License:        GPL-3.0-only
Group:          Productivity/Multimedia/Sound/Players
Patch:          interpreter.patch
BuildRequires:  autoconf
BuildRequires:  automake
# g-i-devel: This is for automatic GObject Introspection bindings dependency generation:
BuildRequires:  gobject-introspection-devel
BuildRequires:  intltool
BuildRequires:  python3-base
Requires:       python3-python-mpd2
Recommends:     %{name}-lang
BuildArch:      noarch

mpDris2 provide MPRIS 2 support to mpd (Music Player Daemon). mpDris2 is
run in the user session and monitors a local or distant mpd server.


%setup -q
%patch -p1

%configure \
make %{?_smp_mflags}

%find_lang %{name}

%doc %{_docdir}/%{name}
%dir %{_datadir}/dbus-1
%dir %{_datadir}/dbus-1/services

%files lang -f %{name}.lang