Summary: Open source implementation of a 16-bit x86 BIOS
Summary(pl.UTF-8): Implementacja 16-bitowego BIOS-u x86 o otwartych źródłach
Name: seabios
-Version: 1.7.5
-Release: 2
+Version: 1.8.2
+Release: 1
License: LGPL v3
Group: Applications/System
Source0: http://code.coreboot.org/p/seabios/downloads/get/%{name}-%{version}.tar.gz
-# Source0-md5: 3f1e17485ca327b245ae5938d9aa02d9
-# binary for non-x86 archs
-Source1: http://code.coreboot.org/p/seabios/downloads/get/bios.bin-%{version}.gz
-# Source1-md5: f14eccbad35cd802ef785bde48a43519
+# Source0-md5: d08a501fb918698f24a0de012c687729
URL: http://seabios.org/
+ExclusiveArch: %{ix86} %{x8664}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%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
+%doc README
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/bios.bin
-%ifarch %{ix86} %{x8664}
%{_datadir}/%{name}/*.aml
-%endif