tinyemu/tinyemu.spec
2025-02-15 16:50:37 +00:00

56 lines
1.3 KiB
RPMSpec

%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
Patch0: %{name}_makefile.patch
License: MIT
Group: Emulators
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 -q
#patch -p0
%build
export OPENSSL_DIR=/opt/openssl3.3
%make
%install
install -d %{buildroot}%{_bindir}
%makeinstall_std
%files
%doc readme.txt MIT-LICENSE.txt
%{_bindir}/temu
%{_bindir}/build_filelist
%{_bindir}/splitimg