%define debug_package %nil Name: tinyemu Version: 20191221 Release: 1 Summary: Tiny RISC-V emulator URL: https://bellard.org/tinyemu Source0: https://bellard.org/%{name}/%{name}-2019-12-21.tar.gz Source10: https://bellard.org/jslinux/buildroot-riscv64.cfg Source11: https://bellard.org/jslinux/alpine-x86.cfg Source12: https://bellard.org/jslinux/alpine-x86-xwin.cfg Source13: https://bellard.org/jslinux/win2k.cfg Source14: https://bellard.org/jslinux/freedos.cfg Source15: https://bellard.org/jslinux/buildroot-riscv64-xwin.cfg Source16: https://bellard.org/jslinux/fedora33-riscv.cfg Source17: https://bellard.org/jslinux/fedora33-riscv-xwin.cfg Patch0: %{name}-makefile.patch License: MIT Group: Emulators Provides: temu == %{EVRD} BuildRequires: pkgconfig(sdl) BuildRequires: pkgconfig(openssl3.3) BuildRequires: pkgconfig(libcurl) %description TinyEMU is a system emulator for the RISC-V and x86 architectures. Its purpose is to be small and simple while being complete. Main features: - RISC-V system emulator supporting the RV128IMAFDQC base ISA (user level ISA version 2.2, priviledged architecture version 1.10) including: -- 32/64/128 bit integer registers -- 32/64/128 bit floating point instructions (using the SoftFP Library) -- Compressed instructions -- Dynamic XLEN change - x86 system emulator based on KVM - VirtIO console, network, block device, input and 9P filesystem - Graphical display with SDL - JSON configuration file - Remote HTTP block device and filesystem - Small code, easy to modify, few external dependancies - Javascript version running Linux and Windows 2000. %prep %setup -qn %{name}-2019-12-21 %patch -p1 %build %make %install install -d %{buildroot}%{_datadir}/%{name} %{buildroot}%{_bindir} %makeinstall_std cp %{SOURCE10} \ %{SOURCE11} \ %{SOURCE12} \ %{SOURCE13} \ %{SOURCE14} \ %{SOURCE15} \ %{SOURCE16} \ %{SOURCE17} \ %{buildroot}%{_datadir}/%{name}/ %files %doc readme.txt MIT-LICENSE.txt %{_bindir}/temu %{_bindir}/build_filelist %{_bindir}/splitimg %{_datadir}/%{name}/*