142 lines
3.9 KiB
RPMSpec
142 lines
3.9 KiB
RPMSpec
#
|
|
# spec file for package gnu-efi (Version 3.0c)
|
|
#
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: gnu-efi
|
|
BuildRequires: kernel-source
|
|
Summary: Library for EFI Applications
|
|
Version: 3.0c
|
|
Release: 34
|
|
Group: Development/Libraries/Other
|
|
Autoreqprov: on
|
|
License: BSD License and BSD-like, GNU General Public License (GPL)
|
|
Source: ftp://ftp.hpl.hp.com/pub/linux-ia64/gnu-efi-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
Library for EFI applications.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Johannes Erdfelt <jerdfelt@valinux.com>
|
|
David Mosberger <davidm@hpl.hp.com>
|
|
Stephane Eranian <eranian@hpl.hp.com>
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
CFLAGS="-fpic -fshort-wchar -fno-strict-aliasing -funsigned-char -fno-stack-protector"
|
|
make LINUX_HEADERS=/usr/src/linux CFLAGS="$RPM_OPT_FLAGS $CFLAGS"
|
|
|
|
%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.*
|
|
%{_prefix}/include/efi
|
|
%{_prefix}/%{_lib}/crt0-efi-*.o
|
|
%{_prefix}/%{_lib}/elf_*_efi.lds
|
|
%{_prefix}/%{_lib}/libefi.a
|
|
%{_prefix}/%{_lib}/libgnuefi.a
|
|
%if 0
|
|
%{_prefix}/%{_lib}/%{name}
|
|
%endif
|
|
|
|
%changelog
|
|
* Fri Feb 23 2007 - schwab@suse.de
|
|
- Disable stack protector.
|
|
* Fri Jun 23 2006 - rw@suse.de
|
|
- Update to gnu-efi 3.0c to fix building on IA-32.
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
- Convert neededforbuild to BuildRequires
|
|
* Fri Dec 09 2005 - rw@suse.de
|
|
- Allow building on IA-32.
|
|
* Tue Nov 29 2005 - rw@suse.de
|
|
- Update to gnu-efi 3.0b-041222.
|
|
* Tue Aug 03 2004 - schwab@suse.de
|
|
- Discard unwind sections.
|
|
* Sat Apr 17 2004 - schwab@suse.de
|
|
- Pacify autobuild.
|
|
* Fri Sep 26 2003 - schwab@suse.de
|
|
- Fix linker script to include all data sections.
|
|
* Fri Jul 25 2003 - schwab@suse.de
|
|
- Revert last change, was actually a binutils bug.
|
|
* Tue Apr 08 2003 - schwab@suse.de
|
|
- Fix @gprel reference in crt object.
|
|
* Tue Feb 26 2002 - schwab@suse.de
|
|
- Update to gnu-efi 3.0a.
|
|
* Sat Nov 24 2001 - schwab@suse.de
|
|
- Add .rodata.* to linker script.
|
|
* Wed Jul 18 2001 - schwab@suse.de
|
|
- Update to gnu-efi 3.0.
|
|
- Split off elilo.
|
|
* Tue May 22 2001 - schwab@suse.de
|
|
- Update to gnu-efi 2.5.
|
|
* Fri May 11 2001 - schwab@suse.de
|
|
- Add initrd fix.
|
|
- Reduce timeout.
|
|
* Thu Apr 26 2001 - schwab@suse.de
|
|
- neededforbuild lx_ia64 -> kernel-source.
|
|
* Fri Apr 06 2001 - schwab@suse.de
|
|
- Update to gnu-efi 2.0.
|
|
- Package renamed to gnu-efi.
|
|
* Tue Mar 13 2001 - schwab@suse.de
|
|
- Install some documentation.
|
|
- Add unwind patch from David Mosberger.
|
|
* Wed Feb 14 2001 - schwab@suse.de
|
|
- Add lx_ia64 to neededforbuild.
|
|
- Get kernel headers from /usr/src/linux.
|
|
* Sun Nov 26 2000 - schwab@suse.de
|
|
- Preserve .sdata section.
|
|
* Mon Nov 06 2000 - schwab@suse.de
|
|
- Update to gnu-efi 1.1.
|
|
- Add `initrd=initrd' to sample eli.cfg.
|
|
* Fri Oct 13 2000 - schwab@suse.de
|
|
- Update to gnu-efi 1.0.
|
|
* Mon Sep 11 2000 - schwab@suse.de
|
|
- Mark startup.nsh as %%config(noreplace).
|
|
* Thu Aug 17 2000 - schwab@suse.de
|
|
- Fix initrd support.
|
|
* Tue Aug 08 2000 - schwab@suse.de
|
|
- Update to gnu-efi 0.9.
|
|
- Install lilo.efi in /boot.
|
|
* Mon Jul 17 2000 - schwab@suse.de
|
|
- Add argv bug fix.
|
|
* Fri Jun 30 2000 - schwab@suse.de
|
|
- Update to 0.4.0.
|
|
- Fix uninitialized variable.
|
|
* Fri Jun 16 2000 - @suse.de
|
|
- Update from CVS.
|
|
* Mon Jun 05 2000 - schwab@suse.de
|
|
- Add initrd support.
|
|
* Wed May 31 2000 - schwab@suse.de
|
|
- Fix allocation bug.
|
|
* Wed May 17 2000 - schwab@suse.de
|
|
- Add eli.cfg and startup.nsh to package.
|
|
* Mon May 15 2000 - schwab@suse.de
|
|
- Fix bug in AML parser.
|
|
- Udate to gnu-efi 0.8.
|
|
* Tue Mar 07 2000 - schwab@suse.de
|
|
- Package created.
|