2024-01-06 08:15:08 +01:00
|
|
|
%define gitver %(echo %version | tr . _)
|
2024-01-06 08:15:08 +01:00
|
|
|
Name: openmsx
|
2024-01-06 08:15:08 +01:00
|
|
|
Version: 19.1
|
2024-01-06 08:15:08 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: An emulator for the MSX home computer system
|
|
|
|
Group: Applications/Emulators
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 08:15:08 +01:00
|
|
|
URL: http://openmsx.org/
|
|
|
|
Source: https://github.com/openMSX/openMSX.git/RELEASE_%{gitver}/openMSX-%{version}.tar.bz2
|
2024-01-06 08:15:08 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 08:15:08 +01:00
|
|
|
BuildRequires: libSDL2-devel
|
|
|
|
BuildRequires: libalsa-devel
|
2024-01-06 08:15:08 +01:00
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libglew-devel
|
2024-01-06 08:15:08 +01:00
|
|
|
BuildRequires: libglvnd-devel
|
2024-01-06 08:15:08 +01:00
|
|
|
BuildRequires: libogg-devel
|
|
|
|
BuildRequires: libpng-devel
|
2024-01-06 08:15:08 +01:00
|
|
|
BuildRequires: libsdl2_ttf-devel
|
2024-01-06 08:15:08 +01:00
|
|
|
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.
|
|
|
|
|
2024-01-06 08:15:08 +01:00
|
|
|
#% debug_package
|
2024-01-06 08:15:08 +01:00
|
|
|
|
|
|
|
%prep
|
2024-01-06 08:15:08 +01:00
|
|
|
%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
|
2024-01-06 08:15:08 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 08:15:08 +01:00
|
|
|
./configure
|
2024-01-06 08:15:08 +01:00
|
|
|
%make
|
|
|
|
|
2024-01-06 08:15:08 +01:00
|
|
|
# 19.1: meson build seems broken
|
|
|
|
# %meson
|
|
|
|
#% meson_build
|
|
|
|
|
2024-01-06 08:15:08 +01:00
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
2024-01-06 08:15:08 +01:00
|
|
|
#install -d -m0755 %{buildroot}%{_bindir}
|
|
|
|
#ln -sf /opt/openMSX/bin/openmsx %{buildroot}%{_bindir}/openmsx
|
2024-01-06 08:15:08 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/openmsx
|
2024-01-06 08:15:08 +01:00
|
|
|
%dir %{_datadir}/openmsx
|
|
|
|
%{_datadir}/openmsx/*
|
|
|
|
%dir %{_docdir}/openmsx
|
|
|
|
%{_docdir}/openmsx/*
|
2024-01-06 08:15:08 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 08:15:08 +01:00
|
|
|
* Thu Aug 31 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 19.1-1mamba
|
|
|
|
- update to 19.1
|
|
|
|
|
2024-01-06 08:15:08 +01:00
|
|
|
* Sat Dec 06 2014 Automatic Build System <autodist@mambasoft.it> 0.11.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 08:15:08 +01:00
|
|
|
* Sun May 25 2014 Automatic Build System <autodist@mambasoft.it> 0.10.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 08:15:08 +01:00
|
|
|
* Sat Feb 22 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.0-1mamba
|
|
|
|
- update to 0.10.0
|
|
|
|
|
|
|
|
* Wed Feb 20 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.1-1mamba
|
|
|
|
- package created by silvan using the webbuild interface
|