Sophie

Sophie

distrib > Mandriva > 2006.0 > i586 > by-pkgid > bd857242a1b16b9c92ffea6f72e1d1e2 > files > 8

syslinux-1.76-18mdk.src.rpm

%define name syslinux
%define version 1.76
%define old_version 1.67
%define release 18mdk

Summary:	A bootloader for linux using floppies, CD.
Name:		%{name}
Version:	%{version}
Release:	%{release}
License:	GPL
Group:		System/Kernel and hardware
Source0:	%{name}-%{version}.tar.bz2
Source1:	%{name}-%{old_version}.tar.bz2
Url:		http://ftp.kernel.org/pub/linux/utils/boot/syslinux/
BuildRoot:	%{_tmppath}/%{name}-buildroot/
BuildRequires:	nasm >= 0.97, netpbm
Patch0:         syslinux-1.67-use-vfat-instead-of-msdos.patch.bz2
Patch1:		syslinux-1.75-graphic.patch.bz2
Patch2:		syslinux-1.76-gcc-3.3.patch.bz2
Patch3:		syslinux-1.67-gcc-3.3.patch.bz2
Patch4:		syslinux-1.76-kernel-length.patch.bz2
ExclusiveArch:	%{ix86}
Obsoletes:	isolinux < %{version}
Provides:	isolinux = %{version}

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

This version include a patched SYSLINUX for handling VESA graphic mode.


%prep
%setup -q -n %{name}-%{version}
%setup -q -a 1 -n %{name}-%{version}
%patch0 -p0
%patch1 -p1
%patch2 -p1 -b .gcc3.3
%patch3 -p1 -b .gcc3.3
%patch4 -p1 -b .klen


%build
make clean
make DATE="Mandrakelinux"

cd %{name}-%{old_version}
make clean
make DATE="Mandrakelinux"

%clean 
rm -rf $RPM_BUILD_ROOT

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}

install -p syslinux-graphic $RPM_BUILD_ROOT%{_bindir}
install -p syslinux $RPM_BUILD_ROOT%{_bindir}/syslinux-original
install -p %{name}-%{old_version}/syslinux $RPM_BUILD_ROOT%{_bindir}/syslinux-old
ln -s syslinux-graphic $RPM_BUILD_ROOT%{_bindir}/syslinux
install -m 0755 ppmtolss16 $RPM_BUILD_ROOT%{_bindir}/ppmtolss16
install -d $RPM_BUILD_ROOT%{_libdir}
install -d $RPM_BUILD_ROOT%{_libdir}/syslinux

#ISOLINUX PART
install -m 0644 isolinux-graphic.bin $RPM_BUILD_ROOT%{_libdir}/syslinux
install -m 0644 isolinux.bin $RPM_BUILD_ROOT%{_libdir}/syslinux/isolinux-original.bin
install -m 0644 %{name}-%{old_version}/isolinux.bin $RPM_BUILD_ROOT%{_libdir}/syslinux/isolinux-old.bin
ln -s isolinux-graphic.bin $RPM_BUILD_ROOT%{_libdir}/syslinux/isolinux.bin
install -m 0644 isolinux-debug-graphic.bin $RPM_BUILD_ROOT%{_libdir}/syslinux
install -m 0644 isolinux-debug.bin $RPM_BUILD_ROOT%{_libdir}/syslinux/isolinux-debug-original.bin
install -m 0644 %{name}-%{old_version}/isolinux-debug.bin $RPM_BUILD_ROOT%{_libdir}/syslinux/isolinux-debug-old.bin
ln -s isolinux-debug-graphic.bin $RPM_BUILD_ROOT%{_libdir}/syslinux/isolinux-debug.bin

cp sys2ansi.pl keytab-lilo.pl $RPM_BUILD_ROOT/%{_libdir}/syslinux

%files
%defattr(-,root,root)
%doc COPYING NEWS README README.graphic TODO
%doc syslinux.doc isolinux.doc 
%{_bindir}/*
%{_libdir}/syslinux/*.bin
%{_libdir}/syslinux/*.pl


%changelog
* Fri Jul 22 2005 Erwan Velu <velu@seanodes.com> 1.76-18mdk
- Splitting pxelinux

* Mon Feb 21 2005 Erwan Velu <velu@seanodes.com> 1.76-17mdk
- Adding mkdiskimage

* Wed Dec 15 2004 Erwan Velu <velu@seanodes.com> 1.76-16mdk
- Add a devel package for the com32 library added in 2.12.
- New pxelinux 2.13
- Removing patch5

* Wed Aug 18 2004 Erwan Velu <erwan@mandrakesoft.com> 1.76-15mdk
- New pxelinux 2.11

* Wed Aug  4 2004 Olivier Blin <blino@mandrake.org> 1.76-14mdk
- Patch6 for syslinux-1.76 (backport from syslinux-2.06-pre1) :
    Fix problem that would occationally cause a boot failure,
    depending on the length of the kernel

* Sat Jun 19 2004 Erwan Velu <erwan@mandrakesoft.com> 1.76-13mdk
- New pxelinux 2.10
- Fixing help.txt & messages
- Removing patch4
* Wed May 05 2004 Erwan Velu <erwan@mandrakesoft.com> 1.76-12mdk
- New pxelinux 2.09
- s/Mandrake Linux/Mandrakelinux/
- Switching from Os to O1 in memdisk
* Mon Dec 15 2003 Erwan Velu <erwan@mandrakesoft.com> 1.76-11mdk
- New pxelinux 2.08
* Mon Aug 25 2003 Erwan Velu <erwan@mandrakesoft.com> 1.76-10mdk
- New pxelinux 2.06 
-- Fix problem that would occationally cause a boot failure, depending on the length of the kernel
* Tue Aug 12 2003 Erwan Velu <erwan@mandrakesoft.com> 1.76-9mdk
- New pxelinux 2.05
* Mon Jul 14 2003 Per Øyvind Karlsen <peroyvind@sintrax.net> 1.76-8mdk
- rebuild
- quiet setup
- fix gcc-3.3 build (P2, P3 & P4)

* Thu Apr 24 2003  <erwan@ke.mandrakesoft.com> 1.76-7mdk
- Fixing buildrequires (thx to Stefan van der Eijk )

* Thu Apr 17 2003 <erwan@mandrakesoft.com> 1.76-7mdk
- New version of pxelinux & memdisk (2.04)

* Mon Apr 14 2003  <erwan@ke.mandrakesoft.com> 1.76-6mdk
- New version of pxelinux & memdisk (2.03)
-- Actually support comment lines in the configuration file.
-- PXELINUX: Try to resolve some problems with stack switches.
-- PXELINUX: Handle PXE stacks with broken routing.
      With these workarounds, the remote install PXE boot floppy
      (rbfg.exe) from Argon Technologies should work correctly.
-- Fix problems with Perl scripts in UTF-8 locales.
-- MEMDISK: Now supports gzip compressed images.

* Fri Feb 28 2003 Erwan Velu <erwan@mandrakesoft.com> 1.76-5mdk
- New version of pxelinux (2.02)

* Thu Jan 16 2003 Erwan Velu <erwan@mandrakesoft.com> 1.76-4mdk
- Including new version of pxelinux, memdisk and gethostip (2.00)
- Adding subversion %{pxelinux_version}

* Fri Sep 20 2002 Guillaume Cottenceau <gc@mandrakesoft.com> 1.76-3mdk
- fix double fponsux (combo)
  - patch -p1 for the patch changing msdos with vfat will not
    work for 1.67 since syslinux-1.67 is in a subdir!
  - do rebuild syslinux-1.67 as well, not only the main version

* Wed Sep 11 2002 François Pons <fpons@mandrakesoft.com> 1.76-2mdk
- added syslinux 1.67 as old version (for mkbootdisk).

* Tue Sep 03 2002 François Pons <fpons@mandrakesoft.com> 1.76-1mdk
- 1.76.

* Thu Jul 18 2002 François Pons <fpons@mandrakesoft.com> 1.75-2mdk
- fix for isolinux and pxelinux (still display prompt) in
  VESA graphic mode.

* Wed Jul 17 2002 François Pons <fpons@mandrakesoft.com> 1.75-1mdk
- ported graphic patch to syslinux, isolinux and pxelinux.
- 1.75.

* Fri Jun 28 2002 Erwan Velu <erwan@mandrakesoft.com> 1.67-6mdk
- new release of pxelinux (1.75).
- unloading memory bug fix for pxelinux (big images could be
  pxe loaded !).

* Thu May 23 2002 Erwan Velu <erwan@mandrakesoft.com> 1.67-5mdk
- including new release of pxelinux, memdisk and gethostip
  (usefull for pxe service).

* Tue Feb 26 2002 François Pons <fpons@mandrakesoft.com> 1.67-4mdk
- moved arch dependant files into /usr/lib/syslinux instead of
  /usr/lib only.

* Mon Feb 25 2002 François Pons <fpons@mandrakesoft.com> 1.67-3mdk
- fixed possible extended register corruption.
- fixed cursor displayed on some hardware.

* Mon Feb 18 2002 François Pons <fpons@mandrakesoft.com> 1.67-2mdk
- added missing gethostip and memdisk for Erwan.

* Thu Feb 05 2002 François Pons <fpons@mandrakesoft.com> 1.67-1mdk
- updated graphic patch for 1.67 release of syslinux.
- updated use vfat patch for 1.67 release of syslinux.
- merge isolinux.
- add pxelinux.
- 1.67.

* Thu Aug 30 2001 François Pons <fpons@mandrakesoft.com> 1.48-10mdk
- use syslinux-graphic by default for syslinux.

* Thu Aug 30 2001 Pixel <pixel@mandrakesoft.com> 1.48-9mdk
- use vfat instead of msdos

* Tue Jul 31 2001 Pixel <pixel@mandrakesoft.com> 1.48-8mdk
- ugly fix to ensure syslinux is rebuild (the default syslinux binary in the
  package is broken)

* Tue Jul 10 2001 Jeff Garzik <jgarzik@mandrakesoft.com> 1.48-7mdk
- exclusivearch: x86
- remove translations that kill rpm build

* Tue Jul 03 2001 François Pons <fpons@mandrakesoft.com> 1.48-6mdk
- build release, update distribution tag.

* Thu May 31 2001 François Pons <fpons@mandrakesoft.com> 1.48-5mdk
- make sure msg file are interchangeable with lilo-graphic.

* Thu Aug 31 2000 François Pons <fpons@mandrakesoft.com> 1.48-4mdk
- macroszifications.
- changed the date string to "Linux-Mandrake" for syslinux-graphic.

* Mon Apr 03 2000 François Pons <fpons@mandrakesoft.com> 1.48-3mdk
- new version of graphic patch for avoiding BIOS text output when using
  graphic mode, this make things much better on screen and much more
  card are supported.
- added a small documention on graphic patch in README.graphic.
- Updated spec file and Group.

* Thu Dec 23 1999 François PONS <fpons@mandrakesoft.com> 1.48-2mdk
- corrected for unsunported TTY output in graphic mode.
- take care of ATI* and Intel* cards.

* Thu Dec 23 1999 François PONS <fpons@mandrakesoft.com> 1.48-1mdk
- first version with graphic patch.