## START: Set by rpmautospec ## (rpmautospec version 0.2.6) %define autorelease(e:s:pb:) %{?-p:0.}%{lua: release_number = 16; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist} ## END: Set by rpmautospec %global commit a9ee6ca84f04990e209880fe47144e62b14253db %global date 20220823 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global corename nestopia Name: libretro-%{corename} Version: 0 Release: 0.9.%{date}git%{shortcommit}.%autorelease Summary: Nestopia emulator with libretro interface License: GPLv2 URL: https://github.com/libretro/nestopia Source0: %{url}/archive/%{commit}/%{name}-%{version}.%{date}git%{shortcommit}.tar.gz 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 %{summary}. %prep %autosetup -n %{corename}-%{commit} %build %set_build_flags %make_build -C libretro GIT_VERSION=%{shortcommit} %install %make_install \ -C libretro \ libdir=%{_libdir} \ prefix=%{_prefix} \ %{nil} install -Dp -m0644 %{SOURCE1} %{buildroot}%{_libdir}/libretro/%{corename}.libretro %files %license COPYING %{_libdir}/libretro/ %changelog * Tue Oct 04 2022 Artem Polishchuk 0-16 - chore(update): Latest git snapshot * Thu Jul 21 2022 Fedora Release Engineering 0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Apr 30 2022 Artem Polishchuk 0-14 - fix: Release version mistake * Wed Apr 27 2022 Artem Polishchuk 0-13 - chore(update): Latest git snapshot * Thu Jan 20 2022 Fedora Release Engineering - 0-0.8.20210827gitc24ffe8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Oct 05 2021 Artem Polishchuk - 0-0.7.20210827gitc24ffe8 - chore(update): Latest git snapshot * Thu Jul 22 2021 Fedora Release Engineering - 0-0.6.20210320git95be0bf - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon May 03 2021 Artem Polishchuk - 0-0.5.20210320git95be0bf - build(update): Latest git snapshot * Tue Jan 26 2021 Fedora Release Engineering - 0-0.4.20200510git357e146 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Aug 09 2020 Artem Polishchuk - 0-0.3.20200510git357e146 - Update to latest git snapshot * Tue Jul 28 2020 Fedora Release Engineering - 0-0.3.20191128git3aab0a3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0-0.2.20191128git3aab0a3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Dec 04 2019 Artem Polishchuk - 0-0.1.20191128git3aab0a3 - Update to latest git snapshot - Remove 'libretro-gtk-0_14-0' dependency * Tue Oct 08 2019 Artem Polishchuk - 0-0.1.20190921git7f48c21 - Initial package