[packages/seabios] new package
jajcus
jajcus at pld-linux.org
Sun May 11 12:29:10 CEST 2014
commit 4a2cc9225d3b90f580bbd5c93ae284df9833c84d
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sun May 11 12:29:57 2014 +0200
new package
seabios.spec | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)
---
diff --git a/seabios.spec b/seabios.spec
new file mode 100644
index 0000000..aef92ad
--- /dev/null
+++ b/seabios.spec
@@ -0,0 +1,53 @@
+Summary: Open source implementation of a 16bit x86 BIOS
+Summary(pl.UTF-8): Implementacja open source 16 bitowego BIOSu x86
+Name: seabios
+Version: 1.7.4
+Release: 1
+License: LGPL v3
+Group: Applications/System
+Source0: http://code.coreboot.org/p/seabios/downloads/get/%{name}-%{version}.tar.gz
+# Source0-md5: e2d4ac598233b42483e4b8c387b453e8
+# binary for non-x86 archs
+Source1: http://code.coreboot.org/p/seabios/downloads/get/bios.bin-%{version}.gz
+# Source1-md5: c5f88765e74945f7fa18c3a3141f5334
+URL: http://seabios.org/
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+SeaBIOS is an open source implementation of a 16bit X86 BIOS. SeaBIOS
+can run in an emulator or it can run natively on X86 hardware with the
+use of coreboot.
+
+SeaBIOS is the default BIOS for QEMU, KVM and Xen HVM.
+
+%prep
+%setup -q
+
+%build
+%ifarch %{ix86} %{x8664}
+%{__make}
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
+
+%ifarch %{ix86} %{x8664}
+install out/bios.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/bios.bin
+install out/src/fw/*.aml $RPM_BUILD_ROOT%{_datadir}/%{name}
+%else
+gunzip -c %{SOURCE1} > $RPM_BUILD_ROOT%{_datadir}/%{name}/bios.bin
+%endif
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README TODO
+%dir %{_datadir}/%{name}
+%{_datadir}/%{name}/bios.bin
+%ifarch %{ix86} %{x8664}
+%{_datadir}/%{name}/*.aml
+%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/seabios.git/commitdiff/4a2cc9225d3b90f580bbd5c93ae284df9833c84d
More information about the pld-cvs-commit
mailing list