2 %define RPMVERSION @@RPMVERSION@@
3 %define VERSION @@VERSION@@
4 Summary: Kernel loader which uses a FAT, ext2/3 or iso9660 filesystem or a PXE network
10 Source0: ftp://ftp.kernel.org/pub/linux/utils/boot/syslinux/%{name}-%{VERSION}.tar.gz
11 ExclusiveArch: i386 x86_64
12 Packager: H. Peter Anvin <hpa@zytor.com>
13 Buildroot: %{_tmppath}/%{name}-%{VERSION}-root
14 BuildPrereq: nasm >= 0.98.38, perl
17 Requires: mtools, libc.so.6
20 Requires: mtools, libc.so.6()(64bit)
23 # NOTE: extlinux belongs in /sbin, not in /usr/sbin, since it is typically
24 # a system bootloader, and may be necessary for system recovery.
25 %define _sbindir /sbin
28 Summary: Development environment for SYSLINUX add-on modules
29 Group: Development/Libraries
33 SYSLINUX is a suite of bootloaders, currently supporting DOS FAT
34 filesystems, Linux ext2/ext3 filesystems (EXTLINUX), PXE network boots
35 (PXELINUX), or ISO 9660 CD-ROMs (ISOLINUX). It also includes a tool,
36 MEMDISK, which loads legacy operating systems from these media.
39 The SYSLINUX boot loader contains an API, called COM32, for writing
40 sophisticated add-on modules. This package contains the libraries
41 necessary to compile such modules.
44 Summary: The EXTLINUX bootloader, for booting the local system.
49 The EXTLINUX bootloader, for booting the local system, as well as all
50 the SYSLINUX/PXELINUX modules in /boot.
53 Summary: SYSLINUX modules in /tftpboot, available for network booting
54 Group: Applications/Internet
58 All the SYSLINUX/PXELINUX modules directly available for network
59 booting in the /tftpboot directory.
62 %setup -q -n syslinux-%{VERSION}
71 mkdir -p %{buildroot}%{_bindir}
72 mkdir -p %{buildroot}%{_sbindir}
73 mkdir -p %{buildroot}%{_datadir}/syslinux
74 mkdir -p %{buildroot}%{_includedir}
75 mkdir -p %{buildroot}/boot %{buildroot}/tftpboot/pxelinux.cfg
77 INSTALLROOT=%{buildroot} BINDIR=%{_bindir} SBINDIR=%{_sbindir} \
78 LIBDIR=%{_datadir} INCDIR=%{_includedir}
80 cp mkdiskimage sys2ansi.pl keytab-lilo.pl %{buildroot}%{_datadir}/syslinux
81 cp %{buildroot}%{_datadir}/syslinux/*.c32 %{buildroot}/boot
82 cp %{buildroot}%{_datadir}/syslinux/memdisk %{buildroot}/boot
83 cp %{buildroot}%{_datadir}/syslinux/*.c32 %{buildroot}/tftpboot
84 cp %{buildroot}%{_datadir}/syslinux/pxelinux.0 %{buildroot}/tftpboot
85 cp %{buildroot}%{_datadir}/syslinux/memdisk %{buildroot}/tftpboot
92 %doc NEWS README* *.doc memdisk/*.doc COPYING
98 %{_datadir}/syslinux/*.com
99 %{_datadir}/syslinux/*.exe
100 %{_datadir}/syslinux/*.c32
101 %{_datadir}/syslinux/*.bin
102 %{_datadir}/syslinux/*.0
103 %{_datadir}/syslinux/memdisk
104 %{_datadir}/syslinux/*.pl
105 %{_datadir}/syslinux/mkdiskimage
108 %{_datadir}/syslinux/com32
118 # If we have a /boot/extlinux.conf file, assume extlinux is our bootloader
120 if [ -f /boot/extlinux.conf ]; then extlinux --update /boot; fi
125 * Mon Sep 19 2006 H. Peter Anvin <hpa@zytor.com>
126 - Add a syslinux-tftpboot module.
127 - Factor extlinux into its own package.
128 - Move to %{_datadir} (/usr/share).
130 * Wed Sep 21 2005 H. Peter Anvin <hpa@zytor.com>
131 - If /boot/extlinux.conf exist, run extlinux --update.
133 * Fri Sep 9 2005 H. Peter Anvin <hpa@zytor.com>
134 - Copy, don't link, *.c32 into /boot; rpm doesn't like breaking links.
136 * Tue Aug 23 2005 H. Peter Anvin <hpa@zytor.com>
137 - Put *.c32 into /boot.
139 * Thu Dec 30 2004 H. Peter Anvin <hpa@zytor.com>
140 - libsyslinux dropped in syslinux 3.00.
141 - Additional documentation.
144 * Tue Dec 14 2004 H. Peter Anvin <hpa@zytor.com>
145 - Add a devel package for the com32 library added in 2.12.
147 * Wed Apr 16 2003 H. Peter Anvin <hpa@zytor.com> 2.04-1
149 - Add support for libsyslinux.so*
150 - Templatize for inclusion in CVS tree
152 * Thu Apr 10 2003 H. Peter Anvin <hpa@zytor.com>
154 - Add support for libsyslinux.a
155 - Add keytab-lilo.pl to the /usr/lib/syslinux directory
157 - Support building on x86-64
159 * Thu Feb 13 2003 H. Peter Anvin <hpa@zytor.com>
160 - 2.02 release; no longer setuid
162 * Thu Jan 30 2003 H. Peter Anvin <hpa@zytor.com>
163 - Prepare for 2.01 release; make /usr/bin/syslinux setuid root
165 * Fri Oct 25 2002 H. Peter Anvin <hpa@zytor.com>
168 * Tue Aug 27 2002 H. Peter Anvin <hpa@zytor.com>
171 * Fri Jun 14 2002 H. Peter Anvin <hpa@zytor.com>
174 * Sat Jun 1 2002 H. Peter Anvin <hpa@zytor.com>
177 * Sun May 26 2002 H. Peter Anvin <hpa@zytor.com>
180 * Tue Apr 23 2002 H. Peter Anvin <hpa@zytor.com>
183 * Wed Apr 17 2002 H. Peter Anvin <hpa@zytor.com>
187 * Wed Apr 17 2002 H. Peter Anvin <hpa@zytor.com>
190 * Sat Feb 3 2002 H. Peter Anvin <hpa@zytor.com>
193 * Tue Jan 1 2002 H. Peter Anvin <hpa@zytor.com>
196 * Sat Dec 15 2001 H. Peter Anvin <hpa@zytor.com>
197 - Upgrade to 1.65; make appropriate changes.
199 * Sat Aug 24 2001 H. Peter Anvin <hpa@zytor.com>
202 * Mon Aug 6 2001 H. Peter Anvin <hpa@zytor.com>
204 - Use make install since the stock SYSLINUX distribution now supports
207 * Sat Apr 24 2001 H. Peter Anvin <hpa@zytor.com>
210 * Sat Apr 14 2001 H. Peter Anvin <hpa@zytor.com>
211 - Fix missing %files; correct modes.
213 * Fri Apr 13 2001 H. Peter Anvin <hpa@zytor.com>
215 - Install auxilliary programs in /usr/lib/syslinux
217 * Sat Feb 10 2001 Matt Wilson <msw@redhat.com>
220 * Wed Jan 24 2001 Matt Wilson <msw@redhat.com>
223 * Mon Jan 22 2001 Matt Wilson <msw@redhat.com>
226 * Fri Jan 19 2001 Matt Wilson <msw@redhat.com>
227 - 1.51pre3, with e820 detection
229 * Tue Dec 12 2000 Than Ngo <than@redhat.com>
230 - rebuilt with fixed fileutils
232 * Thu Nov 9 2000 Than Ngo <than@redhat.com>
236 - add some useful documents
238 * Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com>
239 - add %%defattr (release 4)
241 * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
244 * Thu Jul 06 2000 Trond Eivind Glomsrød <teg@redhat.com>
246 - change application group (Applications/Internet doesn't seem
248 - added BuildRequires
250 * Tue Apr 04 2000 Erik Troan <ewt@redhat.com>