1 Summary: GNU-EFI - building EFI applications using the GNU toolchain
2 Summary(pl.UTF-8): GNU-EFI - tworzenie aplikacji EFI przy użyciu narzędzi GNU
6 # efilib is on Intel's BSD-like license, HP's glue code is GPL'd
7 License: GPL v2+, portions on Intel's BSD-like license (see README.*)
8 Group: Development/Libraries
9 Source0: ftp://ftp.hpl.hp.com/pub/linux-ia64/%{name}-%{version}.tar.gz
10 # Source0-md5: 823e5f04d1c0a7b88831f91fbf12d470
11 BuildRequires: binutils >= 2.11
12 BuildRequires: gcc >= 5:3.0
13 Requires: binutils >= 2.11
14 Requires: gcc >= 5:3.0
15 ExclusiveArch: %{ix86} ia64
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 %define specflags_ia64 -frename-registers
21 GNU-EFI development environment allows to create EFI applications for
22 IA-64 and x86 platforms using the GNU toolchain.
24 %description -l pl.UTF-8
25 Środowisko programistyczne GNU-EFI umożliwia tworzenie aplikacji EFI
26 dla platform IA-64 i x86 przy użyciu narzędzi GNU.
34 CFLAGS="%{rpmcflags} -fpic -Wall -fshort-wchar"
37 rm -rf $RPM_BUILD_ROOT
40 INSTALLROOT=$RPM_BUILD_ROOT%{_prefix}
42 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
43 cp -a apps/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
50 %doc ChangeLog README.*
52 %{_libdir}/crt0-efi-*.o
53 %{_libdir}/elf_*_efi.lds
55 %{_examplesdir}/%{name}-%{version}