## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 43; 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 8d91fbdff8f4db6e256370f030a9f6ac8c7f2c62 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global date 20251216 %global corename pcsx-rearmed %global filename pcsx_rearmed Name: libretro-%{corename} Version: 15 Release: 0.17.%{date}git%{shortcommit}.%autorelease Summary: ARM optimized PCSX fork # Public domain # ---------------------------- # deps/flac-1.3.2/ # deps/lzma-16.04/ # # BSD 3-clause "New" or "Revised" License # --------------------------------------- # deps/flac-1.3.2/ # deps/libchdr/ # # Expat License # ------------- # frontend/vita/ # libretro-common/ # plugins/dfsound/ # # GNU General Public License # -------------------------- # deps/flac-1.3.2/ # # GNU General Public License (v2 or later) # ---------------------------------------- # frontend/cspace_arm.S # libpcsxcore/gte_arm.S # plugins/dfxvideo/draw_pl.c # # GNU Lesser General Public License (v2 or later) # ----------------------------------------------- # deps/flac-1.3.2/include/share/getopt.h # # GNU Lesser General Public License (v2.1 or later) # ------------------------------------------------- # deps/flac-1.3.2/include/share/grabbag.h # # GPL (v2 or later) # ----------------- # deps/flac-1.3.2/include/share/grabbag/picture.h # libpcsxcore/cdriso.c # plugins/gpu_neon/psx_gpu/vector_ops.h # # Automatically converted from old format: GPLv2 and Public Domain and BSD and MIT - review is highly recommended. License: GPL-2.0-only AND LicenseRef-Callaway-Public-Domain AND LicenseRef-Callaway-BSD AND LicenseRef-Callaway-MIT URL: https://github.com/libretro/pcsx_rearmed Source0: %{url}/archive/%{commit}/%{name}-%{version}.%{date}git%{shortcommit}.tar.gz Source1: https://raw.githubusercontent.com/flathub/org.gnome.Games/master/libretro-cores/%{filename}.libretro ExcludeArch: armv7hl BuildRequires: gcc-c++ BuildRequires: make BuildRequires: pkgconfig(zlib) Supplements: gnome-games Supplements: retroarch # All hardcoded # * https://github.com/libretro/pcsx_rearmed/blob/3558dd33fb337a29fb6c57a5e88a473153e6202e/Makefile#L219 Provides: bundled(crypto) Provides: bundled(flac) = 1.3.2 Provides: bundled(libchdr) Provides: bundled(lzma) = 22.01 %description PCSX ReARMed is yet another PCSX fork based on the PCSX-Reloaded project, which itself contains code from PCSX, PCSX-df and PCSX-Revolution. This version was originally ARM architecture oriented (hence the name) with its MIPS->ARM dynamic recompilation and assembly optimizations, but more recently it targets other architectures too. A fork of this emulator was used in PS Classic (without any coordination or even notification). %prep %autosetup -n %{filename}-%{commit} # wrong-file-end-of-line-encoding sed -i 's/\r$//' ChangeLog %build %set_build_flags %make_build -f Makefile.libretro \ GIT_VERSION=%{shortcommit} \ HAVE_CHD=1 \ WANT_ZLIB=0 \ %{nil} %install install -Dpm 0755 %{filename}_libretro.so %{buildroot}%{_libdir}/libretro/%{filename}_libretro.so install -Dpm 0644 %{SOURCE1} %{buildroot}%{_libdir}/libretro/%{filename}.libretro %files %license COPYING %doc README.md AUTHORS NEWS ChangeLog %{_libdir}/libretro/ %changelog ## START: Generated by rpmautospec * Wed Dec 24 2025 Artem Polishchuk - 15-43 - Update to latest git snapshot * Thu Jul 24 2025 Fedora Release Engineering - 15-42 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Fri Feb 28 2025 Artem Polishchuk - 15-41 - chore: Update to latest git snapshot * Mon Jan 20 2025 Fedora Release Engineering - 15-40 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Fri Jan 17 2025 Fedora Release Engineering - 15-39 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Mon Sep 02 2024 Miroslav Suchý - 15-38 - convert license to SPDX * Thu Jul 18 2024 Fedora Release Engineering - 15-37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Mon Apr 22 2024 Artem Polishchuk - 15-36 - fix: commit ammend * Mon Apr 22 2024 Artem Polishchuk - 15-35 - chore: Update to latest git snapshot (fix GCC 14 build error) * Mon Apr 22 2024 Artem Polishchuk - 15-34 - chore: Update to latest git snapshot * Thu Jan 25 2024 Fedora Release Engineering - 15-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 15-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Sep 07 2023 Artem Polishchuk - 15-31 - chore: Update to latest git snapshot * Thu Jul 20 2023 Fedora Release Engineering - 15-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Mar 28 2023 Artem Polishchuk - 15-29 - chore: Update to latest git snapshot * Thu Jan 19 2023 Fedora Release Engineering - 15-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Dec 14 2022 Artem Polishchuk - 15-27 - chore: Update to latest git snapshot * Mon Nov 14 2022 Artem Polishchuk - 15-26 - chore: Update to latest git snapshot * Sat Oct 15 2022 Artem Polishchuk - 15-25 - chore(update): Latest git snapshot * Sat Oct 01 2022 Artem Polishchuk - 15-24 - chore(downgrade): Commit 3e629be * Thu Sep 22 2022 Artem Polishchuk - 15-23 - chore(update): Latest git snapshot * Wed Sep 07 2022 Artem Polishchuk - 15-22 - chore(update): Latest git snapshot * Sat Aug 20 2022 Artem Polishchuk - 15-21 - chore(update): Latest git snapshot * Tue Aug 09 2022 Artem Polishchuk - 15-20 - chore(update): Latest git snapshot * Thu Jul 21 2022 Fedora Release Engineering - 15-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed May 11 2022 Artem Polishchuk - 15-18 - chore(update): Latest git snapshot * Wed Apr 27 2022 Artem Polishchuk - 15-17 - chore(update): Latest git snapshot * Mon Apr 25 2022 Artem Polishchuk - 15-16.20220426git3558dd3 - build: Fix build on aarch64; GH#651 * Mon Apr 25 2022 Artem Polishchuk - 15-15.20220426git3558dd3 - chore(update): Latest git snapshot * Thu Jan 20 2022 Fedora Release Engineering - 15-14.20211004gitf5b7bb8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Oct 05 2021 Artem Polishchuk - 15-13.20211004gitf5b7bb8 - chore(update): Latest git snapshot * Thu Jul 22 2021 Fedora Release Engineering - 15-12.20210428git625cc17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Apr 30 2021 Artem Polishchuk - 15-11.20210428git625cc17 - build(update): Latest git snapshot * Tue Jan 26 2021 Fedora Release Engineering - 15-10.20200806gitddd39f2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Aug 09 2020 Artem Polishchuk - 15-9.20200806gitddd39f2 - Update to latest git snapshot * Tue Jul 28 2020 Fedora Release Engineering - 15-9.20200521gitf4c902e - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu May 21 2020 Artem Polishchuk - 15-8.20200521gitf4c902e - Update to latest git snapshot * Tue Feb 11 2020 Artem Polishchuk - 15-7.20200211git74ec4f3 - Update to latest git snapshot * Wed Jan 29 2020 Fedora Release Engineering - 15-6.20191024git4b353f8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Dec 04 2019 Artem Polishchuk - 15-5.20191024git4b353f8 - Packaging fixes * Wed Nov 13 2019 Artem Polishchuk - 15-1.20191024git4b353f8 - Update to latest git snapshot - Packaging fixes * Tue Oct 08 2019 Artem Polishchuk - 15-1.20191007gitcb4aa3e - Initial package ## END: Generated by rpmautospec