File syslinux.spec of Package syslinux

#
# spec file for package syslinux (Version 3.63)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#



Name:           syslinux
ExclusiveArch:  %ix86 x86_64
BuildRequires:  glibc-devel-32bit libpng-devel nasm netpbm
%ifarch x86_64
BuildRequires:  gcc-32bit
%endif
Url:            http://syslinux.zytor.com/
License:        GPL v2 or later
Group:          System/Boot
Requires:       mtools
AutoReqProv:    on
Summary:        Boot Loader for Linux
Version:        3.63
Release:        44
Source:         %{name}-%{version}.tar.bz2
Source1:        isolinux-config
Patch:          %{name}-%{version}.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
SYSLINUX is a boot loader for the Linux operating system which operates
off an MS-DOS or Windows FAT file system. It is intended to simplify
first-time installation of Linux and for creation of rescue and other
special purpose boot disks.



Authors:
--------
    H. Peter Anvin <hpa@zytor.com>

%prep
%setup -q
%patch

%build
export CFLAGS="$RPM_OPT_FLAGS"
chmod +x add_crc
make spotless
make

%install
make install-all \
  INSTALLROOT=%{buildroot} BINDIR=%{_bindir} SBINDIR=%{_bindir} \
  LIBDIR=%{_datadir} INCDIR=%{_includedir} MANDIR=%{_mandir}
install -s -m 755 unix/syslinux $RPM_BUILD_ROOT/%{_bindir}/syslinux-nomtools
install -m 755 %{_sourcedir}/isolinux-config $RPM_BUILD_ROOT/%{_bindir}
install -m 755 keytab-lilo.pl syslinux2ansi.pl $RPM_BUILD_ROOT/%{_datadir}/syslinux
rm -rf $RPM_BUILD_ROOT/%{_datadir}/syslinux/com32

%files
%defattr(-,root,root)
%doc doc/*.txt
%doc README* NEWS
%doc %{_mandir}/man1/*
%{_bindir}/*
%{_datadir}/syslinux

%changelog
* Tue Nov 04 2008 snwint@suse.de
- gfxboot: increase usable mem size to 8MB
* Fri Oct 17 2008 olh@suse.de
- add ExclusiveArch x86 x86_64
* Thu Oct 16 2008 snwint@suse.de
- minor serial line patch fix (bnc #436034)
* Wed Sep 10 2008 snwint@suse.de
- reworked serial line patch (removed SERIALLINES)
* Thu Sep 04 2008 snwint@suse.de
- added SERIALLINES config option to listen on up to four
  serial lines (fate #301595)
* Mon Apr 28 2008 snwint@suse.de
- give more memory to gfxboot code
* Mon Apr 14 2008 snwint@suse.de
- update to version 3.63
  * Lots of bug fixes.
  * Handle command lines up to 2047 characters, the current
  Linux kernel limit.
  * Support MD5, SHA256 and SHA512 encrypted passwords.
  * MEMDISK: Turn on EDD support by default.
  * Add a new INCLUDE command to the core syslinux parser.
  * It is now supported to load a different configuration file
  with the CONFIG keyword.
  * MENU AUTOBOOT, MENU TABMSG, MENU PASSPROMPT allows
  internationalization of menu messages.
  * New hierarchial submenu support: see MENU BEGIN, MENU END,
  MENU GOTO in doc/menu.txt.
  * MENU QUIT allows creating a menu entry for returning to the
  command line.
  * Simple menu system: new "MENU HIDDEN" option to not display
  the menu unless the user presses a key.
  * Add "menu separator", "menu indent", "menu disabled"
  (see README.menu).
  * SYSLINUX: Support subdirectories.
  * PXELINUX: Press Ctrl-N at the boot prompt to read out the
  network info.
  * PXELINUX: as per RFC 5071, PXELINUX no longer requires the
  use of the magic cookie option (208) for unencapsulated
  options.  Currently it does not require it for
  vendor-encapsulated options (vendor-option-space) either,
  but that MAY be reverted in the future if it causes problems.
  * EXTLINUX: boot-once support (--once, --clear-once, and --reset-adv)
  * Support for "auxilliary data vector", a small amount of
  writable storage.  Currently only supported for EXTLINUX,
  but the infrastructure is there for the other derivatives,
  assuming a suitable storage location can be found.
* Fri Jun 22 2007 snwint@suse.de
- requires mtools (#286216)
* Fri Feb 09 2007 snwint@suse.de
- fixed file list
* Mon Oct 09 2006 snwint@suse.de
- no progress dots when in gfx mode
* Fri Sep 29 2006 snwint@suse.de
- update to version 3.31
  * The simple menu system (menu.c32 and vesamenu.c32) now
  support loading more than one configuration file at a time,
  using MENU INCLUDE or by specifying multiple filenames.
  * The MENU COLOR statement can now control the shadowing mode.
  * libcom32 extended to support graphics mode and graphical console.
  * vesamenu.c32, new graphical version of the Simple
  Menu System, see README.menu.
  * New com32 modules by Erwan Velu do selection based on CPUID
  or PCI devices present.
  * EXTLINUX: New options --install (-i) and --update (-U), to
  make it clear if a boot loader should be installed or
  updated.  For now, defaults to --install for compatibility;
  a future version will require one of these options.
  * New library functions to load and place files in memory.
  * mboot.c32 bug fixes.
  * Remove 8 MB kernel size restriction.
  * PXELINUX: Fail (and eventually reboot) if no configuration
  file was found.
  * COM32 module by Erwan Velu to make decisions based on DMI info.
  * Fix issue where going back and forth between menus a lot
  would cause a hang.
  * ISOLINUX: Fix bug which made "cd boot sectors" not work.
* Fri Aug 25 2006 snwint@suse.de
- needs gcc41-32bit
* Wed Aug 23 2006 snwint@suse.de
- support latest gfxboot
* Tue Aug 15 2006 cthiel@suse.de
- specfile cleanup
- include chain.c32, copybs.com, ethersel.c32, mboot.c32, mbr.bin, menu.c32,
  syslinux.com, mboot.doc README.menu and README.usbkey
* Mon Jun 19 2006 snwint@suse.de
- syslinux did not clear memory between initrds (#184706)
* Thu Apr 27 2006 snwint@suse.de
- ignore drive reset error when booting from local disk (#169014)
* Thu Feb 09 2006 snwint@suse.de
- monitor detection can be skipped (#149578)
* Thu Feb 02 2006 snwint@suse.de
- no aborts while kernel loads in gfx mode (#145748)
* Mon Jan 30 2006 snwint@suse.de
- fixed isolinux-config to work with new perl
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jan 23 2006 snwint@suse.de
- cjwatson@ubuntu.com: support big-endian cpio archives (#140119)
- support direct driverupdate loading from CD-ROM (feat #152):
  o initrd loading errors are no longer fatal
  o if initrd name starts with '+' ask for CD change
* Wed Dec 14 2005 snwint@suse.de
- really disable text messages
- cjwatson@ubuntu.com: turn off graphics for localboot
* Fri Dec 02 2005 snwint@suse.de
- make it build on beta
* Wed Nov 30 2005 snwint@suse.de
- update to version 3.11
- gfxboot patch changed significantly - check README.gfxboot
* Thu Oct 06 2005 snwint@suse.de
- add chdir/getcwd functions to gfxboot
* Mon Sep 26 2005 snwint@suse.de
- wrote isolinux-config script
* Fri Sep 09 2005 snwint@suse.de
- press Alt key to optionally skip monitor detection (#115204)
* Wed Apr 27 2005 snwint@suse.de
- fixed to take bios memory size into account (#65458)
* Fri Apr 22 2005 snwint@suse.de
- fixed 16 bit color mode selection (#79312)
* Tue Apr 12 2005 snwint@suse.de
- make it work with gcc4
* Fri Feb 04 2005 snwint@suse.de
- solved memory corruption issue (might have caused #43877)
* Mon Jan 31 2005 snwint@suse.de
- don't read from disk (#47891)
* Fri Jan 28 2005 snwint@suse.de
- updated gfxboot patch
* Mon Jan 24 2005 snwint@suse.de
- added syslinux-nomtools
- removed dependencies from mtools and bootsplash
* Mon Sep 13 2004 snwint@suse.de
- moved syslinux into /usr/bin (#44780)
* Mon Aug 23 2004 snwint@suse.de
- updated to syslinux 2.11
* Thu Apr 08 2004 snwint@suse.de
- make bios mem info available for gfxboot
* Fri Apr 02 2004 snwint@suse.de
- don't reset timeout for 'notice' option
* Fri Apr 02 2004 snwint@suse.de
- reduce max number of boot menu entries (syslinux: 64, isolinux: 32)
  to make room for boot graphics
* Wed Mar 31 2004 snwint@suse.de
- fixed pxelinux (#36625)
* Mon Mar 15 2004 snwint@suse.de
- fixed menu size check (#35508)
- removed vmware from blacklist (#35896)
* Mon Mar 08 2004 ro@suse.de
- fix build on x86_64
* Fri Mar 05 2004 snwint@suse.de
- update to 2.08
* Tue Jan 13 2004 snwint@suse.de
- understand new gfxboot file format
* Tue Dec 16 2003 snwint@suse.de
- boot disk may have a file system that spans several floppies
* Wed Sep 10 2003 snwint@suse.de
- fixed monitor data interpretation bug (#29718)
* Mon Sep 01 2003 snwint@suse.de
- work around bios disk read bug (seen on VIA KT133A)
* Mon Aug 25 2003 snwint@suse.de
- update to 2.06: fix problem that would occationally cause a
  boot failure, depending on the length of the kernel
* Thu Aug 21 2003 ro@suse.de
- make it build on x86_64
* Mon Aug 18 2003 snwint@suse.de
- update to 2.05
* Wed Apr 16 2003 coolo@suse.de
- use BuildRoot
* Tue Mar 11 2003 snwint@suse.de
- wait for 'enter' in text mode interface, too (#25047)
* Sat Mar 08 2003 snwint@suse.de
- handle "boot from hd" errors properly (#24788)
* Thu Mar 06 2003 snwint@suse.de
- preselect 640x480 even if no vbe support at all
* Sat Mar 01 2003 snwint@suse.de
- dynamically change FAT buffer size; this gives more space for
  boot graphics
- really add 640x480 to modelist if no VB extension was found (#24293)
- _copy_ VBE mode list, might get overwritten (#23582)
* Tue Feb 18 2003 snwint@suse.de
- new splash handling: splash files no longer have to be added to
  initrd but are read separately from <resolution>.spl files
* Fri Feb 14 2003 snwint@suse.de
- read device path info
- joined all diffs
* Sun Feb 09 2003 snwint@suse.de
- updated graphics patch
* Wed Feb 05 2003 snwint@suse.de
- make isolinux work around a strange bios bug (#23323)
- fix reading vbe mode list for machines that don't zero
  its memory (#23261)
* Wed Sep 04 2002 snwint@suse.de
- select 8 bit fb modes if 16 bit is not available
* Tue Sep 03 2002 snwint@suse.de
- fixed minor bug detecting available gfx modes
* Tue Sep 03 2002 snwint@suse.de
- fixed Requires
* Wed Jul 17 2002 snwint@suse.de
- adaped graphics patch to handle new graphics file format
* Mon Mar 04 2002 snwint@suse.de
- detect fujitsu siemens notebook lcd
* Mon Mar 04 2002 snwint@suse.de
- allow booting from harddisk
* Sun Mar 03 2002 snwint@suse.de
- initrd may optionally be on a second disk
* Tue Feb 19 2002 snwint@suse.de
- make isolinux work on some more systems
  (they used to break with 'Disk error 00')
* Mon Feb 18 2002 snwint@suse.de
- removed Matrox cards from exception list
- don't put monitor data into kernel cmdline
* Fri Feb 01 2002 ro@suse.de
- changed neededforbuild <libpng> to <libpng-devel-packages>
* Mon Sep 17 2001 snwint@suse.de
- no fb for Matrox G550 cards (#10749)
* Mon Sep 10 2001 snwint@suse.de
- don't select vmware fb mode, the kernel doesn't like it
* Sun Sep 09 2001 snwint@suse.de
- created single diff file
- support gfxboot-1.4
* Tue Sep 04 2001 snwint@suse.de
- should boot on some more computers
- print warning and hint to use CD2 if we encounter a broken BIOS
* Mon Sep 03 2001 snwint@suse.de
- exclude list for cards where fbdev will not work
- allow longer base directory name for boot image
* Wed Aug 22 2001 snwint@suse.de
- fixed 16 bit fb selection
* Mon Aug 20 2001 snwint@suse.de
- we want 16 bit framebuffer now
* Fri Aug 10 2001 snwint@suse.de
- added 1024x768 support
* Mon Aug 06 2001 snwint@suse.de
- upgraded to new version (1.62)
- fixed isolinux to work with graphics
- fixed minor isolinux bug to make it boot on Toshiba Satellite notebooks
* Mon May 14 2001 snwint@suse.de
- syslinux reports wrong video mode (#8244)
* Wed May 09 2001 snwint@suse.de
- fixed boot problem on d230 (#7958)
- corrected detection of 800x600 frame buffer mode support (#7959)
* Sun May 06 2001 snwint@suse.de
- ask for driver update disk in graphics mode
- F2 - F4 video mode selection in text mode
- make 800x600 default if monitor supports it *or*
  graphics card has >= 4MB memory
* Tue May 01 2001 kukuk@suse.de
- Add libpng to neededforbuild
* Tue May 01 2001 ro@suse.de
- added libnetpbm to neededforbuild
* Mon Apr 30 2001 snwint@suse.de
- made it require gfxboot package
- added netpbm to #neededforbuild
* Mon Apr 30 2001 snwint@suse.de
- new version (1.61): can now boot CDs directly (isolinux)
- graphics support completely reworked
* Tue Apr 03 2001 snwint@suse.de
- completely reworked syslinux patch
- support graphics boot screen
* Sun Jan 14 2001 snwint@suse.de
- new messages for our Driver Update feature
* Wed Jan 10 2001 ro@suse.de
- re-added README.SuSE to diff
* Mon Dec 18 2000 snwint@suse.de
- detect BIOS extended read capability
* Fri Jun 09 2000 snwint@suse.de
- improved ddc parser
- ! kernel cmdline gets quite long already (slightly below 200 chars) !
* Fri Feb 11 2000 snwint@suse.de
- new version (1.48)
- some new features (see README.SuSE)
* Mon Oct 11 1999 snwint@suse.de
- added package (version 1.45)
openSUSE Build Service is sponsored by