mirror of
https://abf.rosa.ru/djam/tinyemu.git
synced 2025-02-23 16:32:57 +00:00
54 lines
1.3 KiB
RPMSpec
54 lines
1.3 KiB
RPMSpec
%define debug_package %nil
|
|
|
|
Name: tinyemu
|
|
Version: 20180923
|
|
Release: 1
|
|
Summary: Tiny RISC-V emulator
|
|
URL: https://bellard.org/tinyemu/
|
|
Source0: https://bellard.org/%{name}/%{name}-2018-09-23.tar
|
|
Patch0: %{name}_makefile.patch
|
|
License: MIT
|
|
Group: Emulators
|
|
BuildRequires: pkgconfig(sdl)
|
|
BuildRequires: pkgconfig(openssl)
|
|
|
|
%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}-2018-09-23
|
|
%patch -p0
|
|
|
|
%build
|
|
%make
|
|
|
|
%install
|
|
install -d %{buildroot}%{_bindir}
|
|
%makeinstall_std
|
|
|
|
%files
|
|
%doc readme.txt MIT-LICENSE.txt
|
|
%{_bindir}/temu
|
|
%{_bindir}/build_filelist
|
|
%{_bindir}/splitimg
|
|
|