## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 14; 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 commit cc248db4d2f47d0f255fbc1a3c651df4beb3d835 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global date 20220828 %global corename beetle-pce-fast Name: libretro-%{corename} Version: 0 Release: 0.10.%{date}git%{shortcommit}.%autorelease Summary: Standalone port of Mednafen PCE Fast to libretro License: GPLv2 URL: https://github.com/libretro/beetle-pce-fast-libretro Source0: %{url}/archive/%{commit}/%{name}-%{version}.%{date}git%{shortcommit}.tar.gz Source1: https://raw.githubusercontent.com/flathub/org.gnome.Games/master/libretro-cores/mednafen_pce_fast.libretro BuildRequires: gcc-c++ BuildRequires: make Supplements: gnome-games Supplements: retroarch %description %{summary}. %prep %autosetup -n %{corename}-libretro-%{commit} -p1 %build %set_build_flags %make_build GIT_VERSION=%{shortcommit} %install %make_install \ libdir=%{_libdir} \ prefix=%{_prefix} \ %{nil} install -m0644 -Dp %{SOURCE1} \ %{buildroot}%{_libdir}/libretro/mednafen_pce_fast.libretro %files %license COPYING %doc README.md %{_libdir}/libretro/ %changelog * Mon Oct 03 2022 Artem Polishchuk 0-14 - chore(update): Latest git snapshot * Thu Jul 21 2022 Fedora Release Engineering - 0-0.10.20220205gite880168 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Apr 25 2022 Artem Polishchuk - 0-0.9.20220205gite880168 - chore(update): Latest git snapshot * Thu Jan 20 2022 Fedora Release Engineering - 0-0.8.20211004gitc97a258 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Oct 05 2021 Artem Polishchuk - 0-0.7.20211004gitc97a258 - build(update): Latest git snapshot * Thu Jul 22 2021 Fedora Release Engineering - 0-0.6.20200705gitbdcb394 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0-0.5.20200705gitbdcb394 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Aug 09 2020 Artem Polishchuk - 0-0.4.20200705gitbdcb394 - Update to latest git snapshot * Tue Jul 28 2020 Fedora Release Engineering - 0-0.4.20191113gitce63911 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0-0.3.20191113gitce63911 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Dec 04 2019 Artem Polishchuk - 0-0.2.20191113gitce63911 - Update to latest git snapshot - Remove 'libretro-gtk-0_14-0' dependency * Tue Oct 08 2019 Artem Polishchuk - 0-0.2.20190911git7bbbdf1 - Initial package