|
Justin M. Forbes |
e9236f |
%define githead 669c991
|
|
Justin M. Forbes |
e9236f |
|
|
Justin M. Forbes |
e9236f |
Name: seabios
|
|
Justin M. Forbes |
e9236f |
Version: 0.5.1
|
|
Justin M. Forbes |
e9236f |
Release: 0.1.20100108git%{githead}%{?dist}
|
|
Justin M. Forbes |
e9236f |
Summary: Open-source legacy BIOS implementation
|
|
Justin M. Forbes |
e9236f |
|
|
Justin M. Forbes |
e9236f |
Group: Applications/Emulators
|
|
Justin M. Forbes |
e9236f |
License: LGPLv3
|
|
Justin M. Forbes |
e9236f |
URL: http://www.coreboot.org/SeaBIOS
|
|
Justin M. Forbes |
e9236f |
# Source0: http://linuxtogo.org/~kevin/SeaBIOS/%{name}-%{version}.tar.gz
|
|
Justin M. Forbes |
e9236f |
# The source for this package was pulled from upstream's git. Use the
|
|
Justin M. Forbes |
e9236f |
# following commands to generate the tarball:
|
|
Justin M. Forbes |
e9236f |
# git archive --format=tar --prefix=seabios-0.5.1/ 669c991 | gzip > seabios-0.5.1-669c991.tar.gz
|
|
Justin M. Forbes |
e9236f |
Source0: %{name}-%{version}-%{githead}.tar.gz
|
|
Justin M. Forbes |
e9236f |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
Justin M. Forbes |
e9236f |
|
|
Justin M. Forbes |
e9236f |
BuildRequires: python
|
|
Justin M. Forbes |
e9236f |
ExclusiveArch: %{ix86} x86_64
|
|
Justin M. Forbes |
e9236f |
|
|
Justin M. Forbes |
e9236f |
%description
|
|
Justin M. Forbes |
e9236f |
SeaBIOS is an open-source legacy BIOS implementation which can be used as
|
|
Justin M. Forbes |
e9236f |
a coreboot payload. It implements the standard BIOS calling interfaces
|
|
Justin M. Forbes |
e9236f |
that a typical x86 proprietary BIOS implements.
|
|
Justin M. Forbes |
e9236f |
|
|
Justin M. Forbes |
e9236f |
|
|
Justin M. Forbes |
e9236f |
%prep
|
|
Justin M. Forbes |
e9236f |
%setup -q
|
|
Justin M. Forbes |
e9236f |
# Makefile on pre releases changes version to include date and buildhost
|
|
Justin M. Forbes |
e9236f |
sed -i 's,VERSION=pre-%{version}.*,VERSION=pre-%{version}-%{githead},g' Makefile
|
|
Justin M. Forbes |
e9236f |
|
|
Justin M. Forbes |
e9236f |
|
|
Justin M. Forbes |
e9236f |
%build
|
|
Justin M. Forbes |
e9236f |
make
|
|
Justin M. Forbes |
e9236f |
|
|
Justin M. Forbes |
e9236f |
|
|
Justin M. Forbes |
e9236f |
%install
|
|
Justin M. Forbes |
e9236f |
rm -rf $RPM_BUILD_ROOT
|
|
Justin M. Forbes |
e9236f |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/seabios
|
|
Justin M. Forbes |
e9236f |
install -m 0644 out/bios.bin $RPM_BUILD_ROOT%{_datadir}/seabios
|
|
Justin M. Forbes |
e9236f |
|
|
Justin M. Forbes |
e9236f |
|
|
Justin M. Forbes |
e9236f |
%clean
|
|
Justin M. Forbes |
e9236f |
rm -rf $RPM_BUILD_ROOT
|
|
Justin M. Forbes |
e9236f |
|
|
Justin M. Forbes |
e9236f |
|
|
Justin M. Forbes |
e9236f |
%files
|
|
Justin M. Forbes |
e9236f |
%defattr(-,root,root,-)
|
|
Justin M. Forbes |
e9236f |
%dir %{_datadir}/seabios/
|
|
Justin M. Forbes |
e9236f |
%doc COPYING COPYING.LESSER README TODO
|
|
Justin M. Forbes |
e9236f |
%{_datadir}/seabios/bios.bin
|
|
Justin M. Forbes |
e9236f |
|
|
Justin M. Forbes |
e9236f |
|
|
Justin M. Forbes |
e9236f |
|
|
Justin M. Forbes |
e9236f |
%changelog
|
|
Justin M. Forbes |
e9236f |
* Thu Jan 07 2010 Justin M. Forbes <jforbes@redhat.com> 0.5.1-0.1.20100108git669c991
|
|
Justin M. Forbes |
e9236f |
- Created initial package
|