# # spec file for package elilo (Version 3.6) # # 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: elilo URL: http://elilo.sourceforge.net/ Summary: EFI Linux Loader Version: 3.6 Release: 47 Group: System/Boot Autoreqprov: on PreReq: /usr/bin/perl License: GNU General Public License (GPL) Source: http://mesh.dl.sourceforge.net/sourceforge/elilo/elilo-3.6.src.tgz Source1: elilo.pl Patch0: elilo-%{version}-asm.diff Patch1: elilo-%{version}-MAC.diff Patch2: elilo-%{version}-spelling.diff Patch3: elilo-longer-commandline.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gnu-efi %description The EFI Linux boot loader. Authors: -------- Johannes Erdfelt David Mosberger Stephane Eranian Brett Johnson %prep %setup -q -n elilo %patch0 -p1 %patch1 -p1 %patch2 %patch3 -p1 perl -pe 's/\@EDITION\@/%{version}-%{release}/' < %{SOURCE1} > elilo.pl && chmod 555 elilo.pl && touch -r %{SOURCE1} elilo.pl ! fgrep '%%{version}-%%{release}' elilo.pl %build make OPTIMFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fno-stack-protector" pod2man -s 8 -c "System Boot" -r "SuSE Linux" \ -n elilo -d "%{version}-%{release}" elilo.pl elilo.8 touch -r elilo.pl elilo.8 %install install -d $RPM_BUILD_ROOT/usr/lib/elilo $RPM_BUILD_ROOT/sbin install -s -m 444 elilo.efi $RPM_BUILD_ROOT/usr/lib/elilo install tools/eliloalt $RPM_BUILD_ROOT/sbin install -p -m 555 elilo.pl $RPM_BUILD_ROOT/sbin/elilo #install -D -p elilo.8 $RPM_BUILD_ROOT/usr/share/man/man8/elilo.8 %clean rm -fr $RPM_BUILD_ROOT %post #/sbin/elilo -v || : echo "Please run /sbin/elilo!" %files %defattr(-, root, root) %doc README README.* TODO docs/*.txt /usr/lib/elilo /sbin/elilo /sbin/eliloalt #/usr/share/man/man8/* %changelog * Fri Feb 23 2007 - schwab@suse.de - Disable stack protector. * Tue Feb 06 2007 - bwalle@suse.de - elilo.efi * increase command line size to 2048 (as in >= 2.6.20-rc6-mm1) (#242702) * Fri Nov 10 2006 - schwab@suse.de - Fix spelling. * Thu Feb 02 2006 - rw@suse.de - elilo.efi * Update to final 3.6 (Fixed vmcode_name initialization in textmenu chooser) * Wed Jan 25 2006 - mls@suse.de - elilo.spec * Converted neededforbuild to BuildRequires. * Fri Jan 20 2006 - schwab@suse.de - elilo.spec * Don't strip binaries. * Mon Jan 09 2006 - rw@suse.de - elilo.efi * Fix vmcode_name initialization in textmenu chooser. (#140519) * Fri Dec 09 2005 - rw@suse.de - /sbin/elilo * Fix formatting of man-page. * Wed Dec 07 2005 - rw@suse.de - elilo.efi * Update to 3.5-pre2. - /sbin/elilo * Make "best effort" instead of giving up early. * Sat Aug 13 2005 - schwab@suse.de - /sbin/elilo * Check that the default label is defined. * Fri Aug 05 2005 - schwab@suse.de - /sbin/elilo * Barf on duplicate labels. * Wed Apr 13 2005 - schwab@suse.de - elilo.efi * Fix for new assembler. * Sat Feb 19 2005 - schwab@suse.de - elilo.efi * Clear extra memory in initrd block so that initramfs works. * Wed Oct 06 2004 - rw@suse.de - elilo.efi * Fix simple-chooser (#45493) * Thu May 27 2004 - rw@suse.de - /sbin/elilo * Make all image-objects (kernel/initrd) *optional* by default (#41315) * Mon Feb 23 2004 - rw@suse.de - elilo.efi * Use '$RPM_OPT_FLAGS' with '-fno-strict-aliasing' appended. - /sbin/elilo * Take care of FPSWA. * Try to avoid copying the same files more than once. * Mon Nov 24 2003 - rw@suse.de - Provide '/sbin/elilo' to simplify separation of '/boot' and the EFI FAT-partition (bug #21644) - Move 'elilo.efi' to '/usr/lib/elilo' * Mon Sep 01 2003 - schwab@suse.de - Update to final 3.4 to remove extraneous debug output. * Tue Aug 26 2003 - rw@suse.de - Add patch from Greg Edwards (SGI) (#29340) * Fri Aug 22 2003 - schwab@suse.de - Update to elilo 3.4. * Improved netbooting. * Tue Jun 10 2003 - schwab@suse.de - Add fix for netbooting. * Tue Apr 08 2003 - schwab@suse.de - Add two fixes from author. * Thu Oct 17 2002 - schwab@suse.de - Update to elilo 3.3a. * More memory management bugs fixed. * Fri Sep 13 2002 - schwab@suse.de - Fix %%post. - Fix eliloalt. * Wed Sep 11 2002 - schwab@suse.de - Fix buffer overrun. * Mon Sep 02 2002 - schwab@suse.de - Move elilo.conf to /boot/efi/SuSE. * Tue Aug 27 2002 - schwab@suse.de - Update to elilo 3.3. * Thu May 16 2002 - schwab@suse.de - Move boot loader to /boot/efi/SuSE. * Tue Mar 05 2002 - schwab@suse.de - Update to elilo 3.2. - Make elilo.conf and startup.nsh %%ghost files. * Sat Aug 18 2001 - schwab@suse.de - Update to elilo 3.1. * Wed Jul 25 2001 - schwab@suse.de - Add two patches from author. * Wed Jul 18 2001 - schwab@suse.de - Split from gnu-efi packages. - New version 3.0.