tinyemu/tinyemu.spec

77 lines
2 KiB
RPMSpec
Raw Normal View History

2018-11-26 21:12:58 +03:00
%define debug_package %nil
Name: tinyemu
2025-02-15 13:39:35 +00:00
Version: 20191221
2018-11-26 21:12:58 +03:00
Release: 1
Summary: Tiny RISC-V emulator
2025-02-17 15:06:03 +00:00
URL: https://bellard.org/tinyemu
2025-02-15 13:39:35 +00:00
Source0: https://bellard.org/%{name}/%{name}-2019-12-21.tar.gz
2025-02-17 15:06:03 +00:00
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
2018-11-26 21:12:58 +03:00
License: MIT
Group: Emulators
2025-02-17 15:06:03 +00:00
Provides: temu == %{EVRD}
2018-11-26 22:05:45 +03:00
BuildRequires: pkgconfig(sdl)
2025-02-15 13:39:35 +00:00
BuildRequires: pkgconfig(openssl3.3)
2018-11-27 08:06:55 +03:00
BuildRequires: pkgconfig(libcurl)
2018-11-26 21:12:58 +03:00
%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
2025-02-15 17:41:47 +00:00
%setup -qn %{name}-2019-12-21
2025-02-17 15:06:03 +00:00
%patch -p1
2018-11-26 21:12:58 +03:00
%build
%make
%install
2025-02-17 15:06:03 +00:00
install -d %{buildroot}%{_datadir}/%{name} %{buildroot}%{_bindir}
2018-11-26 21:12:58 +03:00
%makeinstall_std
2025-02-17 15:06:03 +00:00
cp %{SOURCE10} \
%{SOURCE11} \
%{SOURCE12} \
%{SOURCE13} \
%{SOURCE14} \
%{SOURCE15} \
%{SOURCE16} \
%{SOURCE17} \
%{buildroot}%{_datadir}/%{name}/
2018-11-26 21:12:58 +03:00
%files
%doc readme.txt MIT-LICENSE.txt
%{_bindir}/temu
%{_bindir}/build_filelist
%{_bindir}/splitimg
2025-02-17 15:06:03 +00:00
%{_datadir}/%{name}/*
2018-11-26 21:12:58 +03:00