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
|
|
|
#
|
2012-06-14 22:53:58 +02:00
|
|
|
# Copyright (c) 2012 SUSE LINUX Products 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
|
2008-10-22 17:58:39 +02:00
|
|
|
ExclusiveArch: ia64 %ix86 x86_64
|
2007-01-16 00:15:03 +01:00
|
|
|
Summary: Library for EFI Applications
|
2011-12-06 18:15:08 +01:00
|
|
|
License: BSD-3-Clause ; GPL-2.0+
|
2012-06-14 22:53:58 +02:00
|
|
|
Group: Development/Libraries/Other
|
|
|
|
Version: 3.0q
|
|
|
|
Release: 0
|
2008-07-31 21:25:19 +02:00
|
|
|
Url: http://sourceforge.net/projects/gnu-efi
|
2012-06-14 22:53:58 +02:00
|
|
|
Source: http://downloads.sourceforge.net/gnu-efi/gnu-efi_3.0q.orig.tar.gz
|
2007-05-27 18:37:49 +02:00
|
|
|
Source1: rpmlintrc
|
2007-01-16 00:15:03 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2008-07-31 21:25:19 +02:00
|
|
|
BuildRequires: kernel-source
|
2007-01-16 00:15:03 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Library for EFI applications.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Johannes Erdfelt <jerdfelt@valinux.com>
|
|
|
|
David Mosberger <davidm@hpl.hp.com>
|
|
|
|
Stephane Eranian <eranian@hpl.hp.com>
|
|
|
|
|
|
|
|
%prep
|
2008-07-31 21:25:19 +02:00
|
|
|
%setup -q -n gnu-efi-3.0
|
2007-01-16 00:15:03 +01:00
|
|
|
|
|
|
|
%build
|
2008-07-31 21:25:19 +02:00
|
|
|
#CFLAGS="-fpic -fshort-wchar -fno-strict-aliasing -funsigned-char -fno-stack-protector"
|
|
|
|
make LINUX_HEADERS=/usr/src/linux
|
2007-01-16 00:15:03 +01:00
|
|
|
|
|
|
|
%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.*
|
2007-05-27 18:37:49 +02:00
|
|
|
%{_prefix}/include/efi
|
2007-01-16 00:15:03 +01:00
|
|
|
%{_prefix}/%{_lib}/crt0-efi-*.o
|
|
|
|
%{_prefix}/%{_lib}/elf_*_efi.lds
|
2007-05-27 18:37:49 +02:00
|
|
|
%{_prefix}/%{_lib}/libefi.a
|
|
|
|
%{_prefix}/%{_lib}/libgnuefi.a
|
2007-01-16 00:15:03 +01:00
|
|
|
%if 0
|
|
|
|
%{_prefix}/%{_lib}/%{name}
|
|
|
|
%endif
|
|
|
|
|
2007-02-25 23:25:14 +01:00
|
|
|
%changelog
|