2007-01-16 00:15:03 +01:00
|
|
|
#
|
2012-06-14 22:53:58 +02:00
|
|
|
# spec file for package gnu-efi
|
2007-01-16 00:15:03 +01:00
|
|
|
#
|
2016-03-02 21:27:15 +01:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-16 00:15:03 +01:00
|
|
|
#
|
2008-10-22 17:58:39 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-01-16 00:15:03 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2008-07-31 21:25:19 +02:00
|
|
|
|
2007-01-16 00:15:03 +01:00
|
|
|
Name: gnu-efi
|
2015-09-04 12:03:24 +02:00
|
|
|
Version: 3.0.3
|
2012-07-18 17:44:11 +02:00
|
|
|
Release: 0
|
2007-01-16 00:15:03 +01:00
|
|
|
Summary: Library for EFI Applications
|
2012-11-07 17:22:24 +01:00
|
|
|
License: BSD-3-Clause and GPL-2.0+
|
2012-06-14 22:53:58 +02:00
|
|
|
Group: Development/Libraries/Other
|
2008-07-31 21:25:19 +02:00
|
|
|
Url: http://sourceforge.net/projects/gnu-efi
|
2015-06-12 09:41:29 +02:00
|
|
|
Source: http://sourceforge.net/projects/gnu-efi/files/gnu-efi-%{version}.tar.bz2
|
2012-07-18 17:44:11 +02:00
|
|
|
Source1: %{name}-rpmlintrc
|
2016-03-02 21:27:15 +01:00
|
|
|
Patch1: gnu-efi-add-missing-unions.patch
|
2008-07-31 21:25:19 +02:00
|
|
|
BuildRequires: kernel-source
|
2012-07-18 17:44:11 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2015-06-12 10:21:08 +02:00
|
|
|
ExclusiveArch: ia64 %ix86 x86_64 aarch64 %arm
|
2007-01-16 00:15:03 +01:00
|
|
|
|
|
|
|
%description
|
2015-06-12 10:21:08 +02:00
|
|
|
Library to develop EFI applications for IA-64 (IPF), IA-32 (x86), x86_64,
|
|
|
|
ARM-32, and ARM-64 platforms using the GNU toolchain and the EFI development
|
|
|
|
environment.
|
2007-01-16 00:15:03 +01:00
|
|
|
|
|
|
|
%prep
|
2015-06-12 09:41:29 +02:00
|
|
|
%setup -q
|
2016-03-02 21:27:15 +01:00
|
|
|
%patch1 -p1
|
2007-01-16 00:15:03 +01:00
|
|
|
|
|
|
|
%build
|
2012-11-07 17:22:24 +01:00
|
|
|
##########################
|
|
|
|
## DO NOT ADD RPM OPT FLAGS! THIS DOES NOT BUILD AGAINST GLIBC
|
|
|
|
##
|
|
|
|
##########################
|
2015-06-12 09:41:29 +02:00
|
|
|
make %{?_smp_mflags} LINUX_HEADERS=%{_prefix}/src/linux
|
2007-01-16 00:15:03 +01:00
|
|
|
|
|
|
|
%install
|
2015-06-12 09:41:29 +02:00
|
|
|
make install INSTALLROOT=%{buildroot} LIBDIR=%{_libdir} PREFIX=%{_prefix}
|
2007-01-16 00:15:03 +01:00
|
|
|
%if 0
|
2015-06-12 09:41:29 +02:00
|
|
|
mkdir %{buildroot}%{_libdir}/%{name}
|
|
|
|
cp -p apps/*.efi %{buildroot}%{_libdir}/%{name}
|
2007-01-16 00:15:03 +01:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc README.*
|
2015-06-12 09:41:29 +02:00
|
|
|
%{_includedir}/efi
|
|
|
|
%{_libdir}/crt0-efi-*.o
|
|
|
|
%{_libdir}/elf_*_efi.lds
|
|
|
|
%{_libdir}/libefi.a
|
|
|
|
%{_libdir}/libgnuefi.a
|
2007-01-16 00:15:03 +01:00
|
|
|
%if 0
|
2015-06-12 09:41:29 +02:00
|
|
|
%{_libdir}/%{name}
|
2007-01-16 00:15:03 +01:00
|
|
|
%endif
|
|
|
|
|
2007-02-25 23:25:14 +01:00
|
|
|
%changelog
|