## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 25; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global forgeurl https://github.com/libretro/%{corename}-libretro %global commit 04486b4846ec45e8a3971f7e52a03d9be7ac5552 %global corename gambatte Name: libretro-%{corename} Version: 0 %forgemeta Release: 0.9.%autorelease Summary: Libretro implementation of libgambatte License: GPL-2.0-only URL: %{forgeurl} Source0: %{forgesource} Source1: https://raw.githubusercontent.com/flathub/org.gnome.Games/master/libretro-cores/%{corename}.libretro BuildRequires: gcc-c++ BuildRequires: make Supplements: gnome-games Supplements: retroarch %description Gambatte is an accuracy-focused, open-source, cross-platform Game Boy Color emulator written in C++. It is based on hundreds of corner case hardware tests, as well as previous documentation and reverse engineering efforts. The core emulation code is contained in a separate library back-end (libgambatte) written in platform-independent C++. There is currently a GUI front-end (gambatte_qt) using Trolltech's Qt4 toolkit, and a simple command-line SDL front-end (gambatte_sdl). The GUI front-end contains platform-specific extensions for video, sound and timers. It should work on MS Windows, Linux/BSD/UNIX-like OSes, and Mac OS X. The SDL front-end should be usable on all platforms with a working SDL port. It should also be quite trivial to create new (simple) front-ends (note that the library API should in no way be considered stable). %prep %forgeautosetup -p1 %build %set_build_flags %make_build %install %make_install core_installdir=%{_libdir}/libretro install -Dp -m 0644 %{SOURCE1} %{buildroot}%{_libdir}/libretro/%{corename}.libretro %files %license COPYING %doc README.md %{_libdir}/libretro/ %changelog ## START: Generated by rpmautospec * Thu Jul 18 2024 Fedora Release Engineering - 0-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue May 07 2024 Artem Polishchuk - 0-24 - chore: Update to latest git snapshot * Tue May 07 2024 Artem Polishchuk - 0-23 - license: Convert to SPDX * Tue May 07 2024 Artem Polishchuk - 0-22 - chore: Update to latest git snapshot * Thu Jan 25 2024 Fedora Release Engineering - 0-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Sep 07 2023 Artem Polishchuk - 0-19 - chore: Update to latest git snapshot * Thu Jul 20 2023 Fedora Release Engineering - 0-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Mar 28 2023 Artem Polishchuk - 0-17 - chore: Update to latest git snapshot * Thu Jan 19 2023 Fedora Release Engineering - 0-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Oct 04 2022 Artem Polishchuk - 0-15 - chore(update): Latest git snapshot * Thu Jul 21 2022 Fedora Release Engineering - 0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Apr 26 2022 Artem Polishchuk - 0-13 - chore(update): Latest git snapshot * Thu Jan 20 2022 Fedora Release Engineering - 0-0.9.20211004git1be593a - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Oct 05 2021 Artem Polishchuk - 0-0.8.20211004git1be593a - chore(update): Latest git snapshot * Thu Jul 22 2021 Fedora Release Engineering - 0-0.7.20210325gitd7adc32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon May 03 2021 Artem Polishchuk - 0-0.6.20210325gitd7adc32 - build(update): Latest git snapshot * Tue Jan 26 2021 Fedora Release Engineering - 0-0.5.20200207git132f36e - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0-0.4.20200207git132f36e - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jun 24 2020 Artem Polishchuk - 0-0.3.20200207git132f36e - Update to latest git snapshot * Wed Jan 29 2020 Fedora Release Engineering - 0-0.2.20191129git708424d - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Dec 04 2019 Artem Polishchuk - 0-0.1.20191129git708424d - Update to latest git snapshot - Remove 'libretro-gtk-0_14-0' dependency * Mon Oct 07 2019 Artem Polishchuk - 0-0.1.20190823git4d9ad7b - Initial package ## END: Generated by rpmautospec