]> git.pld-linux.org Git - packages/seabios.git/commitdiff
new package auto/th/seabios-1.7.4-1
authorJacek Konieczny <jajcus@jajcus.net>
Sun, 11 May 2014 10:29:57 +0000 (12:29 +0200)
committerJacek Konieczny <jajcus@jajcus.net>
Sun, 11 May 2014 10:29:57 +0000 (12:29 +0200)
seabios.spec [new file with mode: 0644]

diff --git a/seabios.spec b/seabios.spec
new file mode 100644 (file)
index 0000000..aef92ad
--- /dev/null
@@ -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
This page took 0.119322 seconds and 4 git commands to generate.