File mingle.spec of Package mingle

#
# spec file for package mingle
#
# Copyright (c) 2024 mantarimay
#
# 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 appid   io.github.halfmexican.Mingle
Name:           mingle
Version:        0.15
Release:        0
Summary:        A GTK4 app to play with Google's Emoji Kitchen
License:        GPL-3.0-or-later
URL:            https://github.com/halfmexican/mingle
Source:         %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires:  appstream-glib
BuildRequires:  blueprint-compiler
BuildRequires:  meson
BuildRequires:  pkgconfig
BuildRequires:  vala
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(gtk4)
BuildRequires:  pkgconfig(libadwaita-1)
BuildRequires:  pkgconfig(json-glib-1.0)
BuildRequires:  pkgconfig(libsoup-3.0)
BuildRequires:  pkgconfig(gee-0.8)

%description
An application to combine emojis with Google's Emoji Kitchen.
Written in Vala + GTK4.

%prep
%autosetup

%build
%meson
%meson_build

%install
%meson_install

%check
%meson_test

%files
%license LICENSE
%doc README.md
%{_bindir}/%{name}
%{_datadir}/applications/%{appid}.desktop
%{_datadir}/glib-2.0/schemas/%{appid}.gschema.xml
%{_datadir}/icons/hicolor/*/*/*.svg
%{_datadir}/metainfo/%{appid}.metainfo.xml

%changelog
openSUSE Build Service is sponsored by