- Add UEFI 2.x boot services.

This commit is contained in:
Peter Jones 2010-07-23 20:56:14 +00:00
commit e5688eda90
3 changed files with 234 additions and 27 deletions

View file

@ -1,7 +1,7 @@
Summary: Development Libraries and headers for EFI
Name: gnu-efi
Version: 3.0e
Release: 9%{?dist}
Release: 10%{?dist}
Group: Development/System
License: GPLv2+
URL: ftp://ftp.hpl.hp.com/pub/linux-ia64
@ -9,11 +9,16 @@ Source: ftp://ftp.hpl.hp.com/pub/linux-ia64/gnu-efi-%{version}.tar.bz2
Patch0: gnu-efi-3.0e-no-relocations.patch
Patch1: gnu-efi-3.0e-Fix-usage-of-INSTALLROOT-PREFIX-and-LIBDIR.patch
Patch2: gnu-efi-3.0e-ignore-gnu-stack
Patch3: gnu-efi-3.0d-unwrap.patch
Patch4: gnu-efi-3.0d-uefi_wrap.patch
Patch5: gnu-efi-3.0d-uefi_wrap_call10.patch
Patch3: gnu-efi-3.0e-add-uefi-2.x-boot-services.patch
# these are currently disabled as we don't need them per se, and they
# haven't gone upstream yet either. Also they haven't been updated
# to work with gnu-efi-3.0e yet.
#Patch4: gnu-efi-3.0d-unwrap.patch
#Patch5: gnu-efi-3.0d-uefi_wrap.patch
#Patch6: gnu-efi-3.0d-uefi_wrap_call10.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ExclusiveArch: i686 x86_64 ia64
BuildRequires: git
%define debug_package %{nil}
@ -23,15 +28,12 @@ applications that run under EFI (Extensible Firmware Interface).
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
# these are currently disabled as we don't need them per se, and they
# haven't gone upstream yet either. Also #2 and #3 haven't been updated
# to work with gnu-efi-3.0e yet.
#%%patch3 -p1
#%%patch4 -p1
#%%patch5 -p1
git init
git config user.email "pjones@fedoraproject.org"
git config user.name "Fedora Ninjas"
git add .
git commit -a -q -m "%{version} baseline."
git am %{patches}
%build
# Package cannot build with %{?_smp_mflags}.
@ -59,6 +61,9 @@ rm -rf %{buildroot}
%{_libdir}/*
%changelog
* Fri Jul 23 2010 Peter Jones <pjones@redhat.com> - 3.0e-10
- Add UEFI 2.x boot services.
* Tue Aug 11 2009 Peter Jones <pjones@redhat.com> - 3.0e-9
- Change ExclusiveArch to reflect arch changes in repos.