gnu-efi/gnu-efi.spec
Stephan Kulow 8718c2e547 Accepting request 124990 from Base:System
- Update to gnu-efi 3.0q
  + Fix .reloc section to support UEFI Secure Boot
  + Fix redefined types compilation failure on x86_64 machines
  + Conditionally assign toolchain binaries to allow overriding
    them
  + Force a dependency on lib for gnuefi
  + Add guarantee 16-byte stack alignment on x86_64
  + Add routine to make callbacks work
  + Add apps/tcc.efi to test calling convention
  + Add ifdefs for ia64 to mirror ia32 and x86-64 so that
    one can build with GCC.
  + Add headers for PciIo
  + Add the UEFI 2.x bits for EFI_BOOT_SERVICES
  + Add an ignore for .note.GNU-stack section in X86-64 linker maps
  + Change license from GPL to BSD
  + Fix elf_ia32_efi.lds linker script to be compatible with the
    new linker behaviour
  + Fix to not having any relocations at all
  + Add setjmp/longjmp
  + Fixes incorrect section attribute in crt0-efi-ia32.S
  + Adds value EfiResetShutdown to enum EFI_RESET_TYPE
  + Fixes a RAW warning in reloc_ia64.S
  + Adds the USB HCI device path structure in the headers
  + Added '-mno-red-zone' to x68_64 compiles

OBS-URL: https://build.opensuse.org/request/show/124990
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnu-efi?expand=0&rev=14
2012-06-14 20:53:58 +00:00

75 lines
2.0 KiB
RPMSpec

#
# spec file for package gnu-efi
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: gnu-efi
ExclusiveArch: ia64 %ix86 x86_64
Summary: Library for EFI Applications
License: BSD-3-Clause ; GPL-2.0+
Group: Development/Libraries/Other
Version: 3.0q
Release: 0
Url: http://sourceforge.net/projects/gnu-efi
Source: http://downloads.sourceforge.net/gnu-efi/gnu-efi_3.0q.orig.tar.gz
Source1: rpmlintrc
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: kernel-source
%description
Library for EFI applications.
Authors:
--------
Johannes Erdfelt <jerdfelt@valinux.com>
David Mosberger <davidm@hpl.hp.com>
Stephane Eranian <eranian@hpl.hp.com>
%prep
%setup -q -n gnu-efi-3.0
%build
#CFLAGS="-fpic -fshort-wchar -fno-strict-aliasing -funsigned-char -fno-stack-protector"
make LINUX_HEADERS=/usr/src/linux
%install
make install INSTALLROOT=$RPM_BUILD_ROOT%{_prefix}
[ "%{_lib}" == "lib" ] ||
mv $RPM_BUILD_ROOT/usr/lib $RPM_BUILD_ROOT/usr/%{_lib}
%if 0
mkdir $RPM_BUILD_ROOT%{_prefix}/%{_lib}/%{name}
cp -p apps/*.efi $RPM_BUILD_ROOT%{_prefix}/%{_lib}/%{name}
%endif
%clean
rm -fr $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc README.*
%{_prefix}/include/efi
%{_prefix}/%{_lib}/crt0-efi-*.o
%{_prefix}/%{_lib}/elf_*_efi.lds
%{_prefix}/%{_lib}/libefi.a
%{_prefix}/%{_lib}/libgnuefi.a
%if 0
%{_prefix}/%{_lib}/%{name}
%endif
%changelog