summaryrefslogtreecommitdiffstats
path: root/seabios.git.spec
diff options
context:
space:
mode:
Diffstat (limited to 'seabios.git.spec')
-rw-r--r--seabios.git.spec15
1 files changed, 12 insertions, 3 deletions
diff --git a/seabios.git.spec b/seabios.git.spec
index 0aba7a3..025a3e4 100644
--- a/seabios.git.spec
+++ b/seabios.git.spec
@@ -9,11 +9,14 @@ Group: Applications/Emulators
License: LGPLv3
Source0: seabios.git-g5b63109.tar.xz
+Source1: descriptor-bios.pl
+
Source10: config.bios.qemu
Source11: config.bios.qemu-256k
Source12: config.bios.fast
Source15: config.bios.coreboot
Source16: config.bios.csm
+
Source20: config.vga.stdvga
Source21: config.vga.cirrus
Source22: config.vga.vmware
@@ -23,8 +26,8 @@ Source25: config.vga.bochs-display
Source26: config.vga.ramfb
Source27: config.vga.ati
-BuildRequires: iasl
-BuildRequires: python
+BuildRequires: make gcc python
+BuildRequires: perl perl-JSON
%description
SeaBIOS is an open-source legacy BIOS implementation which can be used as
@@ -60,7 +63,6 @@ function do_build() {
cp "$cfg" ".config"
yes "" | make oldconfig
rm -f "src/fw/"*.hex
- make EXTRAVERSION="$extra" iasl
make EXTRAVERSION="$extra"
make EXTRAVERSION="$extra" $target
}
@@ -123,9 +125,16 @@ cp rpm.vga.bin/* %{buildroot}/usr/share/seavgabios.git
ln -s bios-qemu.bin %{buildroot}/usr/share/%{name}/bios.bin
ln -s bios-qemu-256k.bin %{buildroot}/usr/share/%{name}/bios-256k.bin
+mkdir -p %{buildroot}/usr/share/qemu/firmware
+%{SOURCE1} "/usr/share/%{name}/bios-qemu-256k.bin" "SeaBIOS (git master, default)" \
+ > %{buildroot}/usr/share/qemu/firmware/90-seabios-git-default.json
+%{SOURCE1} "/usr/share/%{name}/bios-qemu-fast.bin" "SeaBIOS (git master, fastboot)" \
+ > %{buildroot}/usr/share/qemu/firmware/90-seabios-git-fastboot.json
+
%files
%doc rpm.doc/*.config
/usr/share/%{name}
+/usr/share/qemu/firmware/*
%files coreboot
%doc rpm.core.doc/*.config