%global srcname music %global appname io.elementary.music %global __provides_exclude_from ^%{_libdir}/%{appname}/.*\\.so$ Name: elementary-music Summary: Music player and library designed for elementary Version: 7.1.0 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-3.0-or-later URL: https://github.com/elementary/%{srcname} Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz BuildRequires: desktop-file-utils BuildRequires: gettext BuildRequires: libappstream-glib BuildRequires: meson >= 0.58.0 BuildRequires: vala >= 0.26 BuildRequires: pkgconfig(granite-7) BuildRequires: pkgconfig(gstreamer-1.0) BuildRequires: pkgconfig(gstreamer-pbutils-1.0) BuildRequires: pkgconfig(gstreamer-tag-1.0) BuildRequires: pkgconfig(gtk4) Requires: hicolor-icon-theme %description Quickly queue up and listen to your local music files without any extra frills. See embedded album artwork. Control playback with media keys or in the system audio indicator. %prep %autosetup -n %{srcname}-%{version} -p1 %build %meson %meson_build %install %meson_install %find_lang %{appname} %check desktop-file-validate \ %{buildroot}/%{_datadir}/applications/%{appname}.desktop appstream-util validate-relax --nonet \ %{buildroot}/%{_datadir}/metainfo/%{appname}.metainfo.xml %files -f %{appname}.lang %license LICENSE %doc README.md %{_bindir}/%{appname} %{_datadir}/applications/%{appname}.desktop %{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml %{_datadir}/icons/hicolor/*/apps/%{appname}.svg %{_datadir}/metainfo/%{appname}.metainfo.xml %changelog * Wed Nov 15 2023 Fabio Valentini - 7.1.0-1 - Initial packaging