From 77a074dd63d8a70918f790bebf35cb6fbb34b7a9 Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Fri, 10 Mar 2023 17:49:43 +0100 Subject: [PATCH] up to 0.2.2 --- box64.spec | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/box64.spec b/box64.spec index 9d9f26e..f281ffe 100644 --- a/box64.spec +++ b/box64.spec @@ -1,20 +1,24 @@ # Conditional build: %bcond_with larch64 # target Loongarch64 device +%bcond_with lx2160a # target LX2160A device +%bcond_with odroidn2 # target Odroid N2 device %bcond_with phytium # target Phytium (D2000 or FT2000/4) device %bcond_with rk3326 # target Rockchip RK3326 device %bcond_with rk3399 # target Rockchip RK3399 device +%bcond_with rk3588 # target Rockchip RK3588 device +%bcond_with rpi3 # target Raspberry Pi 3 %bcond_with rpi4 # target Raspberry Pi 4 %bcond_with sd845 # target Snapragon 845 device %bcond_with tegrax1 # target Tegra X1 Summary: Linux Userspace x86_64 Emulator Name: box64 -Version: 0.2.0 +Version: 0.2.2 Release: 1 License: MIT Group: Applications Source0: https://github.com/ptitSeb/box64/archive/v%{version}/%{name}-%{version}.tar.gz -# Source0-md5: 18b6dd5161ede3fbb00be699cede7bb9 +# Source0-md5: 088763b4df8647d0db81e389c6ff8e58 URL: https://box86.org BuildRequires: cmake >= 3.4 BuildRequires: python3 @@ -35,13 +39,17 @@ Linux systems, like ARM (host system needs to be 64bit little-endian). %build %cmake -B build \ - %{?with_larch64:-DLARCH64=ON} \ - %{?with_phytium:-DPHYTIUM=ON} \ - %{?with_rk3326:-DRK3326=ON} \ - %{?with_rk3399:-DRK3399=ON} \ - %{?with_rpi4:-DRPI4ARM64=ON} \ - %{?with_sd845:-DSD845=ON} \ - %{?with_tegrax1:-DTEGRAX1=ON} + %{?with_larch64:-DLARCH64:BOOL=ON} \ + %{?with_lx2160a:-DLX2160A:BOOL=ON} \ + %{?with_odroidn2:-DODROIDN2:BOOL=ON} \ + %{?with_phytium:-DPHYTIUM:BOOL=ON} \ + %{?with_rk3326:-DRK3326:BOOL=ON} \ + %{?with_rk3399:-DRK3399:BOOL=ON} \ + %{?with_rk3588:-DRK3588:BOOL=ON} \ + %{?with_rpi3:-DRPI3ARM64:BOOL=ON} \ + %{?with_rpi4:-DRPI4ARM64:BOOL=ON} \ + %{?with_sd845:-DSD845:BOOL=ON} \ + %{?with_tegrax1:-DTEGRAX1:BOOL=ON} %{__make} -C build %install @@ -57,6 +65,7 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %doc docs/{CHANGELOG.md,README.md,USAGE.md} %{_sysconfdir}/binfmt.d/box64.conf +%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/box64.box64rc %attr(755,root,root) %{_bindir}/box64 %dir /usr/lib/x86_64-linux-gnu %attr(755,root,root) /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 -- 2.44.0