]> git.pld-linux.org Git - packages/seabios.git/blob - seabios.spec
a6d97c95c715988d7119f655674d14fb1599e14d
[packages/seabios.git] / seabios.spec
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
3 Name:           seabios
4 Version:        1.14.0
5 Release:        1
6 License:        LGPL v3
7 Group:          Applications/System
8 Source0:        https://www.seabios.org/downloads/%{name}-%{version}.tar.gz
9 # Source0-md5:  9df3b7de6376850d09161137e7a9b61f
10 URL:            https://www.seabios.org/SeaBIOS
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
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 SeaBIOS is an open source implementation of a 16-bit X86 BIOS. SeaBIOS
22 can run in an emulator or it can run natively on X86 hardware with the
23 use of coreboot.
24
25 SeaBIOS is the default BIOS for QEMU, KVM and Xen HVM.
26
27 %description -l pl.UTF-8
28 SeaBIOS to mająca otwarte źródła implementacją 16-bitowego BIOS-u X86.
29 SeaBIOS może działać pod kontrolą emulatora lub natywnie na sprzęcie
30 X86 przy użyciu bootloadera coreboot.
31
32 SeaBIOS to domyślny BIOS dla narzędzi QEMU, KVM i Xen HVM.
33
34 %prep
35 %setup -q
36
37 %build
38 %{__make} \
39         V=1 \
40 %ifnarch %{ix86} %{x8664} x32
41         CROSS_PREFIX=x86_64-pld-linux
42 %endif
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
47
48 install out/bios.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/bios.bin
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc README docs/{Debugging.md,Mailinglist.md,Memory_Model.md,Releases.md,Runtime_config.md,SeaBIOS.md,SeaVGABIOS.md}
56 %dir %{_datadir}/%{name}
57 %{_datadir}/%{name}/bios.bin
This page took 0.069153 seconds and 2 git commands to generate.