%global debug_package %{nil} Name: taisei Version: 1.4.1 Release: 1%{?dist} Summary: A free and open-source Touhou Project fangame License: MIT and CC-BY and CC0 and Public Domain URL: https://github.com/taisei-project/taisei Source0: %{url}/releases/download/v%{version}/taisei-%{version}.tar.xz BuildRequires: meson BuildRequires: gcc gcc-c++ BuildRequires: libwebp-devel BuildRequires: libzip-devel BuildRequires: SDL2-devel BuildRequires: SDL2_mixer-devel BuildRequires: opusfile-devel BuildRequires: freetype-devel BuildRequires: cglm-devel BuildRequires: pkgconfig(libcrypto) BuildRequires: pkgconfig(libzstd) BuildRequires: python3-zstandard BuildRequires: pkgconfig(gamemode) # shader validation BuildRequires: glslc # documentation BuildRequires: python3-docutils Requires: %{name}-data = %{version} %package data Summary: game data for %{name} BuildArch: noarch %description data required game data for %{name} %description Taisei Project is an open source fan-game set in the world of Tōhō Project. It is a top-down vertical-scrolling curtain fire shooting game (STG), also known as a "bullet hell" or "danmaku." STGs are fast-paced games focused around pattern recognition and mastery through practice. Taisei Project is highly portable, and is written in C11, using SDL2 with an OpenGL renderer. It is officially supported on Windows, Linux, macOS, and through WebGL-enabled browsers such as Firefox and Chromium-based browsers (Chrome, Edge, etc). It can also be compiled for a number of other operating systems. %prep %autosetup -n taisei-%{version} %build %meson \ -Dshader_transpiler=disabled \ -Dvalidate_glsl=enabled \ -Dpackage_data=enabled \ -Dinstall_macos_bundle=disabled \ -Dinstall_relocatable=disabled %meson_build %install %meson_install %files %{_bindir}/taisei %{_datadir}/applications/org.taisei_project.Taisei.desktop %{_datadir}/applications/org.taisei_project.Taisei.tsr.desktop %{_datadir}/icons/hicolor/*/apps/taisei.png %{_datadir}/icons/hicolor/*/apps/org.taisei_project.Taisei.png %{_datadir}/icons/hicolor/*/mimetypes/org.taisei_project.Taisei.tsr.png %{_datadir}/icons/hicolor/*/mimetypes/taisei-replay.png %{_datadir}/mime/packages/org.taisei_project.Taisei.xml %{_metainfodir}/org.taisei_project.Taisei.appdata.xml %{_docdir}/taisei %files data %{_datadir}/taisei %changelog * Tue Mar 12 2024 Jan200101 - 1.4.1-1 - Update to 1.4.1 * Fri Sep 08 2023 Jan Drögehoff - 1.4-1 - Update to 1.4 * Sun Feb 06 2022 Jan Drögehoff - 1.3.2-1 - Initial spec