File Mousai.spec of Package Mousai
#
# spec file for package Mousai
#
# Copyright (c) 2022 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/
#
%define _lto_cflags %{nil}
Name: Mousai
Version: 0.7.9
Release: 0
Summary: Identify songs in seconds
License: GPL-3.0-or-later
URL: https://github.com/SeaDve/Mousai
Source0: %{name}-%{version}.tar.gz
Source1: vendor.tar.zst
BuildRequires: cargo-packaging
BuildRequires: meson
BuildRequires: libxml2-tools
BuildRequires: desktop-file-utils
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(libsoup-3.0)
BuildRequires: pkgconfig(libadwaita-1)
BuildRequires: pkgconfig(gstreamer-1.0)
BuildRequires: pkgconfig(gstreamer-player-1.0)
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
BuildRequires: pkgconfig(libpulse-mainloop-glib)
%description
Identify songs in seconds.
%lang_package
%prep
%autosetup -a1
%build
%meson
%meson_build
%install
%meson_install
%find_lang mousai
%files
%license COPYING
%doc README.md
%{_bindir}/mousai
%{_datadir}/applications/*.desktop
%{_datadir}/glib-2.0/schemas/*.gschema.xml
%{_datadir}/icons/*/*/*/*.svg
%{_datadir}/metainfo/*.metainfo.xml
%{_datadir}/mousai/
%{_datadir}/dbus-1/services/io.github.seadve.Mousai.service
%files lang -f mousai.lang
%changelog