]>
Commit | Line | Data |
---|---|---|
5ae4d712 JB |
1 | Summary: Open source implementation of a 16-bit x86 BIOS |
2 | Summary(pl.UTF-8): Implementacja 16-bitowego BIOS-u x86 o otwartych źródłach | |
4a2cc922 | 3 | Name: seabios |
5437c6b7 | 4 | Version: 1.14.0 |
14cef9cf | 5 | Release: 2 |
4a2cc922 JK |
6 | License: LGPL v3 |
7 | Group: Applications/System | |
15f1a134 | 8 | Source0: https://www.seabios.org/downloads/%{name}-%{version}.tar.gz |
5437c6b7 | 9 | # Source0-md5: 9df3b7de6376850d09161137e7a9b61f |
42474302 | 10 | URL: https://www.seabios.org/SeaBIOS |
2b279fcc JB |
11 | BuildRequires: acpica |
12 | %ifnarch %{ix86} %{x8664} x32 | |
13 | # i386 crosscompiler could be used as well, but we have only x86_64 as more universal | |
14 | BuildRequires: crossx8664-binutils | |
15 | BuildRequires: crossx8664-gcc | |
16 | %endif | |
17 | BuildRequires: python | |
14cef9cf | 18 | BuildArch: noarch |
4a2cc922 JK |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
5ae4d712 | 22 | SeaBIOS is an open source implementation of a 16-bit X86 BIOS. SeaBIOS |
4a2cc922 JK |
23 | can run in an emulator or it can run natively on X86 hardware with the |
24 | use of coreboot. | |
25 | ||
26 | SeaBIOS is the default BIOS for QEMU, KVM and Xen HVM. | |
27 | ||
5ae4d712 JB |
28 | %description -l pl.UTF-8 |
29 | SeaBIOS to mająca otwarte źródła implementacją 16-bitowego BIOS-u X86. | |
30 | SeaBIOS może działać pod kontrolą emulatora lub natywnie na sprzęcie | |
31 | X86 przy użyciu bootloadera coreboot. | |
32 | ||
c977fe04 | 33 | SeaBIOS to domyślny BIOS dla narzędzi QEMU, KVM i Xen HVM. |
5ae4d712 | 34 | |
4a2cc922 JK |
35 | %prep |
36 | %setup -q | |
37 | ||
38 | %build | |
2b279fcc JB |
39 | %{__make} \ |
40 | V=1 \ | |
41 | %ifnarch %{ix86} %{x8664} x32 | |
42 | CROSS_PREFIX=x86_64-pld-linux | |
6d088631 | 43 | %endif |
4a2cc922 JK |
44 | |
45 | %install | |
46 | rm -rf $RPM_BUILD_ROOT | |
4a2cc922 JK |
47 | install -d $RPM_BUILD_ROOT%{_datadir}/%{name} |
48 | ||
4a2cc922 | 49 | install out/bios.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/bios.bin |
4a2cc922 JK |
50 | |
51 | %clean | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %files | |
55 | %defattr(644,root,root,755) | |
536b9585 | 56 | %doc README docs/{Debugging.md,Mailinglist.md,Memory_Model.md,Releases.md,Runtime_config.md,SeaBIOS.md,SeaVGABIOS.md} |
4a2cc922 JK |
57 | %dir %{_datadir}/%{name} |
58 | %{_datadir}/%{name}/bios.bin |