%global timestamp %(date +%%Y%%m%%d) Name: pcsx2-git Version: %{timestamp} Release: 1%{?dist} Summary: PCSX2 - The Playstation 2 Emulator (Git Version) License: LGPLv2.1, LGPLv3, GPLv2, GPLv3 URL: https://pcsx2.net/ BuildRequires: git BuildRequires: cmake BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: alsa-lib-devel BuildRequires: libpcap-devel BuildRequires: libxml2-devel BuildRequires: freetype-devel BuildRequires: gettext BuildRequires: xz-devel BuildRequires: libpng-devel BuildRequires: zlib-devel BuildRequires: portaudio-devel BuildRequires: SDL2-devel BuildRequires: gtk3-devel BuildRequires: soundtouch-devel BuildRequires: libaio-devel BuildRequires: systemd-devel BuildRequires: wxGTK3-devel ExclusiveArch: i686 Obsoletes: pcsx2 %description PCSX2 is a free and open-source PlayStation 2 (PS2) emulator. Its purpose is to emulate the PS2's hardware, using a combination of MIPS CPU Interpreters, Recompilers and a Virtual Machine which manages hardware states and PS2 system memory. This allows you to play PS2 games on your PC, with many additional features and benefits. %prep %{__git} clone --depth 1 https://github.com/PCSX2/pcsx2.git ./ %build cmake ./ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_PO=TRUE \ -DXDG_STD=TRUE \ -DGTK3_API=TRUE \ -DPACKAGE_MODE=TRUE \ -DDISABLE_ADVANCE_SIMD=TRUE \ -DDISABLE_PCSX2_WRAPPER=TRUE %make_build %install rm -rf $RPM_BUILD_ROOT %make_install %files %license COPYING* %doc README.md %{_bindir}/* %{_libdir}/games/PCSX2 %{_datadir}/games/PCSX2 %{_datadir}/locale/*/LC_MESSAGES/* %{_datadir}/applications/* %{_datadir}/pixmaps/* %{_defaultdocdir}/PCSX2 %{_mandir}/*/* %changelog * Mon Feb 11 2019 Victor Oliveira - First version