2 %define RPMVERSION @@RPMVERSION@@
3 %define VERSION @@VERSION@@
4 Summary: Kernel loader which uses a FAT or iso9660 filesystem or a PXE network
9 Group: Applications
/System
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
32 SYSLINUX is a suite of bootloaders
, currently supporting DOS FAT
33 filesystems
, Linux ext2
/ext3 filesystems
(EXTLINUX
), PXE network boots
34 (PXELINUX
), or ISO
9660 CD
-ROMs
(ISOLINUX
). It also includes a tool
,
35 MEMDISK
, which loads legacy operating systems from these media.
38 The SYSLINUX boot loader contains an API
, called COM32
, for writing
39 sophisticated add
-on modules. This package contains the libraries
40 necessary to compile such modules.
43 %setup -q
-n syslinux
-%{VERSION}
52 mkdir -p
%{buildroot}%{_bindir}
53 mkdir -p
%{buildroot}%{_sbindir}
54 mkdir -p
%{buildroot}%{_libdir}/syslinux
55 mkdir -p
%{buildroot}%{_includedir}
56 mkdir -p
%{buildroot}/boot
58 INSTALLROOT
=%{buildroot} BINDIR=%{_bindir} SBINDIR=%{_sbindir} \
59 LIBDIR
=%{_libdir} INCDIR=%{_includedir}
61 cp mkdiskimage sys2ansi.pl keytab
-lilo.pl
%{buildroot}%{_libdir}/syslinux
62 cp
%{buildroot}%{_libdir}/syslinux/*.c32 %{buildroot}/boot
69 %doc NEWS README
* *.doc memdisk
/*.doc COPYING
76 %{_libdir}/syslinux
/*.com
77 %{_libdir}/syslinux
/*.exe
78 %{_libdir}/syslinux
/*.c32
79 %{_libdir}/syslinux
/*.bin
80 %{_libdir}/syslinux
/*.0
81 %{_libdir}/syslinux
/memdisk
82 %{_libdir}/syslinux
/*.pl
83 %{_libdir}/syslinux
/mkdiskimage
87 %{_libdir}/syslinux
/com32
90 # If we have a /boot/extlinux.conf file, assume extlinux is our bootloader
92 if [ -f
/boot
/extlinux.conf
]; then extlinux
--update
/boot
; fi
97 * Wed Sep
21 2005 H. Peter Anvin
<hpa@zytor.com
>
98 - If
/boot
/extlinux.conf exist
, run extlinux
--update.
100 * Fri Sep
9 2005 H. Peter Anvin
<hpa@zytor.com
>
101 - Copy
, don't link
, *.c32 into
/boot
; rpm doesn't like breaking links.
103 * Tue Aug
23 2005 H. Peter Anvin
<hpa@zytor.com
>
104 - Put
*.c32 into
/boot.
106 * Thu Dec
30 2004 H. Peter Anvin
<hpa@zytor.com
>
107 - libsyslinux dropped
in syslinux
3.00.
108 - Additional documentation.
111 * Tue Dec
14 2004 H. Peter Anvin
<hpa@zytor.com
>
112 - Add a devel package
for the com32 library added
in 2.12.
114 * Wed Apr
16 2003 H. Peter Anvin
<hpa@zytor.com
> 2.04-1
116 - Add support
for libsyslinux.so
*
117 - Templatize
for inclusion
in CVS tree
119 * Thu Apr
10 2003 H. Peter Anvin
<hpa@zytor.com
>
121 - Add support
for libsyslinux.a
122 - Add keytab
-lilo.pl to the
/usr
/lib
/syslinux directory
124 - Support building on x86
-64
126 * Thu Feb
13 2003 H. Peter Anvin
<hpa@zytor.com
>
127 - 2.02 release
; no longer setuid
129 * Thu Jan
30 2003 H. Peter Anvin
<hpa@zytor.com
>
130 - Prepare
for 2.01 release
; make /usr
/bin
/syslinux setuid root
132 * Fri Oct
25 2002 H. Peter Anvin
<hpa@zytor.com
>
135 * Tue Aug
27 2002 H. Peter Anvin
<hpa@zytor.com
>
138 * Fri Jun
14 2002 H. Peter Anvin
<hpa@zytor.com
>
141 * Sat Jun
1 2002 H. Peter Anvin
<hpa@zytor.com
>
144 * Sun May
26 2002 H. Peter Anvin
<hpa@zytor.com
>
147 * Tue Apr
23 2002 H. Peter Anvin
<hpa@zytor.com
>
150 * Wed Apr
17 2002 H. Peter Anvin
<hpa@zytor.com
>
154 * Wed Apr
17 2002 H. Peter Anvin
<hpa@zytor.com
>
157 * Sat Feb
3 2002 H. Peter Anvin
<hpa@zytor.com
>
160 * Tue Jan
1 2002 H. Peter Anvin
<hpa@zytor.com
>
163 * Sat Dec
15 2001 H. Peter Anvin
<hpa@zytor.com
>
164 - Upgrade to
1.65; make appropriate changes.
166 * Sat Aug
24 2001 H. Peter Anvin
<hpa@zytor.com
>
169 * Mon Aug
6 2001 H. Peter Anvin
<hpa@zytor.com
>
171 - Use
make install since the stock SYSLINUX distribution now supports
174 * Sat Apr
24 2001 H. Peter Anvin
<hpa@zytor.com
>
177 * Sat Apr
14 2001 H. Peter Anvin
<hpa@zytor.com
>
178 - Fix missing
%files; correct modes.
180 * Fri Apr
13 2001 H. Peter Anvin
<hpa@zytor.com
>
182 - Install auxilliary programs
in /usr
/lib
/syslinux
184 * Sat Feb
10 2001 Matt Wilson
<msw@redhat.com
>
187 * Wed Jan
24 2001 Matt Wilson
<msw@redhat.com
>
190 * Mon Jan
22 2001 Matt Wilson
<msw@redhat.com
>
193 * Fri Jan
19 2001 Matt Wilson
<msw@redhat.com
>
194 - 1.51pre3
, with e820 detection
196 * Tue Dec
12 2000 Than Ngo
<than@redhat.com
>
197 - rebuilt with fixed fileutils
199 * Thu Nov
9 2000 Than Ngo
<than@redhat.com
>
203 - add some useful documents
205 * Tue Jul
18 2000 Nalin Dahyabhai
<nalin@redhat.com
>
206 - add %
%defattr (release
4)
208 * Wed Jul
12 2000 Prospector
<bugzilla@redhat.com
>
211 * Thu Jul
06 2000 Trond Eivind Glomsrød
<teg@redhat.com
>
213 - change application group
(Applications
/Internet doesn't seem
215 - added BuildRequires
217 * Tue Apr
04 2000 Erik Troan
<ewt@redhat.com
>