Summary: GNU-EFI - building EFI applications using the GNU toolchain Summary(pl.UTF-8): GNU-EFI - tworzenie aplikacji EFI przy użyciu narzędzi GNU Name: gnu-efi # NOTE: don't use 3.1, it doesn't support EFI x86_64 Version: 3.0d Release: 1 # efilib is on Intel's BSD-like license, HP's glue code is GPL'd License: GPL v2+, portions on Intel's BSD-like license (see README.*) Group: Development/Libraries Source0: http://dl.sourceforge.net/gnu-efi/%{name}-%{version}.tar.gz # Source0-md5: 29013d3cd15009942fb855ba3e1a8096 URL: http://gnu-efi.sourceforge.net/ BuildRequires: binutils >= 2.11 BuildRequires: gcc >= 5:3.0 Requires: binutils >= 2.11 Requires: gcc >= 5:3.0 ExclusiveArch: %{ix86} %{x8664} ia64 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define specflags_ia64 -frename-registers %description GNU-EFI development environment allows to create EFI applications for IA-64 and x86 platforms using the GNU toolchain. %description -l pl.UTF-8 Środowisko programistyczne GNU-EFI umożliwia tworzenie aplikacji EFI dla platform IA-64 i x86 przy użyciu narzędzi GNU. %prep %setup -q %build %{__make} \ CC="%{__cc}" \ CFLAGS="%{rpmcflags} -fpic -Wall -fshort-wchar" %install rm -rf $RPM_BUILD_ROOT %{__make} install \ INSTALLROOT=$RPM_BUILD_ROOT%{_prefix} install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} cp -a apps/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc ChangeLog README.* %{_libdir}/lib*efi.a %{_libdir}/crt0-efi-*.o %{_libdir}/elf_*_efi.lds %{_includedir}/efi %{_examplesdir}/%{name}-%{version}