File OnscripterYuri.spec of Package OnscripterYuri
#
# spec file for package OnscripterYuri
#
# Copyright (c) 2024 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/
#
Name: OnscripterYuri
Version: 0.7.38
Release: 0
Summary: An enhancement ONScripter project porting to many platforms, especially web
# FIXME: Select a correct license from https://github.com/openSUSE/spec-cleaner#spdx-licenses
License: GPL-2.0-or-later
URL: https://github.com/YuriSizuku/OnscripterYuri
Source: _service
BuildRequires: cmake(SDL2)
BuildRequires: pkgconfig(SDL2_mixer)
BuildRequires: pkgconfig(SDL2_ttf)
BuildRequires: pkgconfig(SDL2_image)
BuildRequires: pkgconfig(libjpeg)
BuildRequires: Lua(devel)
BuildRequires: cmake c++_compiler
BuildRequires: pkgconfig(bzip2)
%description
☘️ An enhancement ONScripter project porting to many platforms, especially web
We also support for windows, linux, android and psv. This project is base on ONScripter-Jh by SDL2
%prep
%setup -q -n %_sourcedir/%name-%version -T -D
%__mkdir -p %_builddir/%_sourcedir
%__ln -rs %_sourcedir/%name-%version %_builddir/%_sourcedir
%build
%cmake
%cmake_build
%install
%cmake_install
%post
%postun
%files
%{_bindir}/onsyuri
%changelog