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
|
|
|
#
|
2022-05-13 11:29:03 +02:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
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.
|
|
|
|
|
2020-03-09 18:13:17 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-16 00:15:03 +01:00
|
|
|
#
|
|
|
|
|
2008-07-31 21:25:19 +02:00
|
|
|
|
2007-01-16 00:15:03 +01:00
|
|
|
Name: gnu-efi
|
2022-12-15 04:27:24 +01:00
|
|
|
Version: 3.0.15
|
2012-07-18 17:44:11 +02:00
|
|
|
Release: 0
|
2007-01-16 00:15:03 +01:00
|
|
|
Summary: Library for EFI Applications
|
2018-10-10 17:05:09 +02:00
|
|
|
License: BSD-3-Clause AND GPL-2.0-or-later
|
2012-06-14 22:53:58 +02:00
|
|
|
Group: Development/Libraries/Other
|
2021-01-04 14:39:20 +01:00
|
|
|
URL: https://sourceforge.net/projects/gnu-efi
|
2022-12-15 04:27:24 +01:00
|
|
|
Source0: https://download.sourceforge.net/project/gnu-efi/gnu-efi-%{version}.tar.bz2
|
2012-07-18 17:44:11 +02:00
|
|
|
Source1: %{name}-rpmlintrc
|
2022-12-15 04:27:24 +01:00
|
|
|
Patch0: gnu-efi-bsc1182057-support-sbat-section.patch
|
2008-07-31 21:25:19 +02:00
|
|
|
BuildRequires: kernel-source
|
2021-11-28 20:20:35 +01:00
|
|
|
ExclusiveArch: ia64 %{ix86} x86_64 aarch64 %{arm} riscv64
|
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
|
2022-12-15 04:27:24 +01:00
|
|
|
%autosetup -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
|
|
|
|
##
|
|
|
|
##########################
|
2021-01-07 16:25:26 +01:00
|
|
|
# Trick spec-cleaner in avoiding a make_build expansion
|
|
|
|
%{_bindir}/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
|
|
|
|
%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
|