File kana.spec of Package kana

#
# spec file for package kana
#
# Copyright (c) 2023 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 rurl    59823aaaf7780167ad12b7f2aecb9371
Name:           kana
Version:        1.4
Release:        0
Summary:        Learn Japanese characters
License:        GPL-3.0-or-later AND MIT
URL:            https://gitlab.gnome.org/fkinoshita/kana
Source:         %{url}/uploads/%{rurl}/kana-%{version}.tar.xz
BuildRequires:  appstream-glib
BuildRequires:  cargo-packaging
BuildRequires:  desktop-file-utils
BuildRequires:  meson >= 0.62.0
BuildRequires:  pkgconfig(gtk4)
BuildRequires:  pkgconfig(libadwaita-1)
BuildRequires:  pkgconfig(gstreamer-1.0)
BuildRequires:  pkgconfig(gstreamer-audio-1.0)
BuildRequires:  pkgconfig(gstreamer-player-1.0)
BuildRequires:  pkgconfig(gstreamer-plugins-base-1.0)
BuildRequires:  pkgconfig(gstreamer-bad-audio-1.0)
BuildRequires:  pkgconfig(dbus-1)

%description
Hone your Japanese skills by matching romanized characters to their
correct hiragana and katakana counterparts.

%prep
%autosetup

%build
%meson
%meson_build

%install
%meson_install

%files
%license COPYING LICENSES/MIT.txt
%doc README*
%{_bindir}/%{name}
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/resources.gresource
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/*/apps/*svg
%{_datadir}/glib-2.0/schemas/*.gschema.xml
%{_datadir}/metainfo/*.metainfo.xml

%changelog

openSUSE Build Service is sponsored by