%global debug_package %{nil} %global gituser finalburnneo %global gitname FBNeo %global commit 1ff5301d03cfd989eb33bdcd3a77104874d36145 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global gitcounter 1 Name: fbneo Version: 1.0.0.2.git.%{gitcounter} Release: %{shortcommit}%{?dist} Summary: Multiple Arcade Machine Emulator License: FB Neo and BSD 2-Clause URL: https://github.com/%{gituser}/%{gitname} Source0: %{url}/tarball/%{commit}#/%{gituser}-%{name}-%{shortcommit}.tar.gz BuildRequires: gcc-c++ sdl2-compat-devel SDL2_image-devel BuildRequires: devscripts %description FBNeo, or FinalBurn Neo, is a multi-system arcade emulator designed for retro gaming enthusiasts. It emulates a wide range of classic arcade games and consoles, such as Capcom CPS-1, CPS-2, CPS-3, Neo Geo, and Sega System 16, among others. %prep %autosetup -p1 -n %{gituser}-%{gitname}-%{shortcommit} sed -i -e 's| -O2 | |' -e 's|CFLAGS = |CFLAGS = %{build_cflags} -fPIE |' -e 's|CXXFLAGS = |CXXFLAGS = %{build_cxxflags} -std=c++11 -fPIE |' makefile.sdl2 sed -i -e 's|+= -s|= %{build_ldflags}|' -e 's|-Werror=format-security -|-|' -e 's| -g -| -g0 -|' makefile.sdl2 %build %set_build_flags %make_build sdl2 %install ls install -Dm755 %{name} %{buildroot}%{_bindir}/%{name} hardening-check -v --nobranchprotection %{name} %files %{_bindir}/%{name} %license src/license.txt %changelog * Sat Oct 03 2026 samoht0 3.2.1 - TEST