]> TLD Linux GIT Repositories - packages/seabios.git/commitdiff
- updated to 1.16.3 master
authorMarcin Krol <hawk@tld-linux.org>
Wed, 24 Apr 2024 23:27:26 +0000 (01:27 +0200)
committerMarcin Krol <hawk@tld-linux.org>
Wed, 24 Apr 2024 23:27:26 +0000 (01:27 +0200)
seabios.spec

index 78236d7d65ce59c72a8f5cf5d43969c166deef6b..b2cb682e2be2e9bf9b3a37893915dc2c2c4c34fb 100644 (file)
@@ -1,16 +1,24 @@
 Summary:       Open source implementation of a 16-bit x86 BIOS
 Summary(pl.UTF-8):     Implementacja 16-bitowego BIOS-u x86 o otwartych źródłach
 Name:          seabios
-Version:       1.13.0
+Version:       1.16.3
 Release:       1
 License:       LGPL v3
 Group:         Applications/System
 Source0:       https://www.seabios.org/downloads/%{name}-%{version}.tar.gz
-# Source0-md5: 1dc1725bac1d230bfd6b3204eed4f2f7
-URL:           http://seabios.org/
-ExclusiveArch: %{ix86} %{x8664}
+# Source0-md5: 9f854ca1ae32bfdc081377717a18e1b3
+URL:           https://www.seabios.org/SeaBIOS
+BuildRequires: acpica
+%ifnarch %{ix86} %{x8664} x32
+# i386 crosscompiler could be used as well, but we have only x86_64 as more universal
+BuildRequires: crossx8664-binutils
+BuildRequires: crossx8664-gcc
+%endif
+BuildRequires: python3
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                _enable_debug_packages  0
+
 %description
 SeaBIOS is an open source implementation of a 16-bit X86 BIOS. SeaBIOS
 can run in an emulator or it can run natively on X86 hardware with the
@@ -29,11 +37,14 @@ SeaBIOS to domyślny BIOS dla narzędzi QEMU, KVM i Xen HVM.
 %setup -q
 
 %build
-%{__make}
+%{__make} \
+       V=1 PYTHON=%{__python3} \
+%ifnarch %{ix86} %{x8664} x32
+       CROSS_PREFIX=x86_64-tld-linux
+%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
 
 install out/bios.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/bios.bin