A new user interface for you!

File gnome-music.spec of Package gnome-music

# spec file for package gnome-music
# 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:           gnome-music
Version:        3.26.2
Release:        0
Summary:        Music Player for GNOME
License:        SUSE-GPL-2.0-with-plugin-exception and LGPL-2.1+
Group:          Productivity/Multimedia/Sound/Players
Url:            http://www.gnome.org
Source0:        http://download.gnome.org/sources/gnome-music/3.26/%{name}-%{version}.tar.xz
Source99:       %{name}-rpmlintrc
BuildRequires:  fdupes
BuildRequires:  intltool >= 0.26
BuildRequires:  itstool
BuildRequires:  python3-devel >= 3.3
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(glib-2.0) >= 2.36.0
BuildRequires:  pkgconfig(gnome-desktop-3.0)
BuildRequires:  pkgconfig(gobject-introspection-1.0) >= 1.35.9
BuildRequires:  pkgconfig(grilo-0.3) >= 0.3.4
BuildRequires:  pkgconfig(gtk+-3.0) >= 3.19.3
BuildRequires:  pkgconfig(libmediaart-2.0) >= 1.9.1
BuildRequires:  pkgconfig(pygobject-3.0) >= 3.21.1
BuildRequires:  pkgconfig(tracker-sparql-2.0)
Requires:       dbus-1-python3
# gnome-music requires grilo-plugin-tracker to interact with tracker and find files (bsc#1083659)
Requires:       grilo-plugin-tracker
# gnomemusic/albumArtCache.py imports cairo directly.
Requires:       python3-cairo
# This is a python 3 application
Requires:       python3-gobject
# ... a python3 GUI application
Requires:       python3-gobject-Gdk
# gnomemusic/player.py imports requests (not introspected)
Requires:       python3-requests
# gnome-music relies on tracker to find local files (bsc#1084861)
Requires:       tracker
# gnome-music relies on tracker to find local files.
Requires:       tracker-miner-files
Recommends:     %{name}-lang
Recommends:     gstreamer-plugins-ugly
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Music player and management application for GNOME.

%setup -q

make %{?_smp_mflags}

find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
%suse_update_desktop_file org.gnome.Music
%find_lang %{name} %{?no_lang_C}
%fdupes %{buildroot}%{python3_sitelib}/gnomemusic
%fdupes %{buildroot}%{_datadir}/

%doc %{_datadir}/help/C/%{name}/
%dir %{_datadir}/appdata

%files lang -f %{name}.lang