## 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} %global commit b2564482c86378581a7a43ef4e254b2a75167bc7 %global corename mgba Name: libretro-%{corename} Version: 0.1.1 %forgemeta Release: 0.9.%autorelease Summary: mGBA Game Boy Advance Emulator License: MPL-2.0 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 mGBA is an emulator for running Game Boy Advance games. It aims to be faster and more accurate than many existing Game Boy Advance emulators, as well as adding features that other emulators lack. It also supports Game Boy and Game Boy Color games. %prep %forgeautosetup -p1 %build %set_build_flags %make_build GIT_VERSION=%{shortcommit} %install %make_install \ prefix=%{_prefix} \ libdir=%{_libdir} \ %{nil} install -Dp -m 0644 %{SOURCE1} %{buildroot}%{_libdir}/libretro/%{corename}.libretro %files %license LICENSE %doc README.md PORTING.md CONTRIBUTING.md CHANGES %{_libdir}/libretro/ %changelog ## START: Generated by rpmautospec * Thu Jul 18 2024 Fedora Release Engineering - 0.1.1-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Mon May 13 2024 Artem Polishchuk - 0.1.1-24 - chore: Update to latest git snapshot * Sat Apr 13 2024 Miroslav Suchý - 0.1.1-23 - convert MPLv2.0 license to SPDX * Thu Jan 25 2024 Fedora Release Engineering - 0.1.1-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.1.1-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Sep 13 2023 Artem Polishchuk - 0.1.1-20 - chore: Update to latest git snapshot * Thu Jul 20 2023 Fedora Release Engineering - 0.1.1-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 0.1.1-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Oct 04 2022 Artem Polishchuk - 0.1.1-17 - chore(update): Latest git snapshot * Thu Jul 21 2022 Fedora Release Engineering - 0.1.1-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Apr 28 2022 Artem Polishchuk - 0.1.1-15 - fix: Release version mistake 2 * Wed Apr 27 2022 Artem Polishchuk - 0.1.1-14 - fix: Release version mistake * Wed Apr 27 2022 Artem Polishchuk - 0.1.1-13 - chore(update): Latest git snapshot * Thu Jan 20 2022 Fedora Release Engineering - 0.1.1-0.8.20210903git70ed83c - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Oct 05 2021 Artem Polishchuk - 0.1.1-0.7.20210903git70ed83c - chore(update): Latest git snapshot * Thu Jul 22 2021 Fedora Release Engineering - 0.1.1-0.6.202104267git4f3fcfa - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon May 03 2021 Artem Polishchuk - 0.1.1-0.5.202104267git4f3fcfa - build(update): Latest git snapshot * Tue Jan 26 2021 Fedora Release Engineering - 0.1.1-0.4.20191026git429d2f2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.1.1-0.3.20191026git429d2f2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.1.1-0.2.20191026git429d2f2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Dec 04 2019 Artem Polishchuk - 0.1.1-0.1.20191026git429d2f2 - Update to latest git snapshot - Remove 'libretro-gtk-0_14-0' dependency * Tue Oct 08 2019 Artem Polishchuk - 0.1.1-0.1.20190912git4865aaa - Initial package ## END: Generated by rpmautospec