%define gitver %(echo %version | tr . _) Name: openmsx Version: 19.1 Release: 1mamba Summary: An emulator for the MSX home computer system Group: Applications/Emulators Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://openmsx.org/ Source: https://github.com/openMSX/openMSX.git/RELEASE_%{gitver}/openMSX-%{version}.tar.bz2 License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libSDL2-devel BuildRequires: libalsa-devel BuildRequires: libgcc BuildRequires: libglew-devel BuildRequires: libglvnd-devel BuildRequires: libogg-devel BuildRequires: libpng-devel BuildRequires: libsdl2_ttf-devel BuildRequires: libstdc++6-devel BuildRequires: libtcl-devel BuildRequires: libtheora-devel BuildRequires: libvorbis-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END %description openMSX is an emulator for the MSX home computer system. Its goal is to emulate all aspects of the MSX with 100% accuracy: perfection in emulation. #% debug_package %prep %setup -q -n openMSX-%{version} sed -i 's@SYMLINK_FOR_BINARY:=true@SYMLINK_FOR_BINARY:=false@' build/custom.mk sed -i 's@INSTALL_BASE:=/opt/openMSX@INSTALL_BASE:=%{_datadir}/openmsx@' build/custom.mk echo 'INSTALL_DOC_DIR:=%{_docdir}/openmsx' >> build/custom.mk echo 'INSTALL_SHARE_DIR:=%{_datadir}/openmsx' >> build/custom.mk echo 'INSTALL_BINARY_DIR:=%{_bindir}' >> build/custom.mk %build ./configure %make # 19.1: meson build seems broken # %meson #% meson_build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall #install -d -m0755 %{buildroot}%{_bindir} #ln -sf /opt/openMSX/bin/openmsx %{buildroot}%{_bindir}/openmsx %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_bindir}/openmsx %dir %{_datadir}/openmsx %{_datadir}/openmsx/* %dir %{_docdir}/openmsx %{_docdir}/openmsx/* %changelog * Thu Aug 31 2023 Silvan Calarco 19.1-1mamba - update to 19.1 * Sat Dec 06 2014 Automatic Build System 0.11.0-1mamba - automatic update by autodist * Sun May 25 2014 Automatic Build System 0.10.1-1mamba - automatic update by autodist * Sat Feb 22 2014 Silvan Calarco 0.10.0-1mamba - update to 0.10.0 * Wed Feb 20 2013 Silvan Calarco 0.9.1-1mamba - package created by silvan using the webbuild interface