ansicon support for SOH # color table handling
[syslinux.git] / syslinux.spec.in
blob05bd31e5c15d70f81eadd2eb19e48f69f55ed16c
1 # -*- rpm -*-
2 %define RPMVERSION @@RPMVERSION@@
3 %define VERSION @@VERSION@@
4 Summary: Kernel loader which uses a FAT or iso9660 filesystem or a PXE network
5 Name: syslinux
6 Version: %{RPMVERSION}
7 Release: 1
8 License: GPL
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
15 Autoreq: 0
16 %ifarch i386
17 Requires: mtools, libc.so.6
18 %endif
19 %ifarch x86_64
20 Requires: mtools, libc.so.6()(64bit)
21 %endif
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
27 %package devel
28 Summary: Development environment for SYSLINUX add-on modules
29 Group: Development/Libraries
31 %description
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.
37 %description devel
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.
42 %prep
43 %setup -q -n syslinux-%{VERSION}
45 %build
46 make clean
47 make installer
48 make -C sample tidy
50 %install
51 rm -rf %{buildroot}
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
57 make install-all \
58 INSTALLROOT=%{buildroot} BINDIR=%{_bindir} SBINDIR=%{_sbindir} \
59 LIBDIR=%{_libdir} INCDIR=%{_includedir}
60 make -C sample tidy
61 cp mkdiskimage sys2ansi.pl keytab-lilo.pl %{buildroot}%{_libdir}/syslinux
62 cp %{buildroot}%{_libdir}/syslinux/*.c32 %{buildroot}/boot
64 %clean
65 rm -rf %{buildroot}
67 %files
68 %defattr(-,root,root)
69 %doc NEWS README* *.doc memdisk/*.doc COPYING
70 %doc sample
71 %{_bindir}/syslinux
72 %{_sbindir}/extlinux
73 %{_bindir}/ppmtolss16
74 %{_bindir}/lss16toppm
75 %{_bindir}/gethostip
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
84 /boot/*.c32
86 %files devel
87 %{_libdir}/syslinux/com32
89 %post
90 # If we have a /boot/extlinux.conf file, assume extlinux is our bootloader
91 # and update it.
92 if [ -f /boot/extlinux.conf ]; then extlinux --update /boot; fi
94 %postun
96 %changelog
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.
109 - Add extlinux.
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
115 - 2.04 release
116 - Add support for libsyslinux.so*
117 - Templatize for inclusion in CVS tree
119 * Thu Apr 10 2003 H. Peter Anvin <hpa@zytor.com>
120 - 2.03 release
121 - Add support for libsyslinux.a
122 - Add keytab-lilo.pl to the /usr/lib/syslinux directory
123 - Modernize syntax
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>
133 - Upgrade to 2.00.
135 * Tue Aug 27 2002 H. Peter Anvin <hpa@zytor.com>
136 - Upgrade to 1.76.
138 * Fri Jun 14 2002 H. Peter Anvin <hpa@zytor.com>
139 - Upgrade to 1.75.
141 * Sat Jun 1 2002 H. Peter Anvin <hpa@zytor.com>
142 - Upgrade to 1.74.
144 * Sun May 26 2002 H. Peter Anvin <hpa@zytor.com>
145 - Upgrade to 1.73.
147 * Tue Apr 23 2002 H. Peter Anvin <hpa@zytor.com>
148 - Upgrade to 1.72.
150 * Wed Apr 17 2002 H. Peter Anvin <hpa@zytor.com>
151 - Upgrade to 1.71.
152 - Update the title.
154 * Wed Apr 17 2002 H. Peter Anvin <hpa@zytor.com>
155 - Upgrade to 1.70.
157 * Sat Feb 3 2002 H. Peter Anvin <hpa@zytor.com>
158 - Upgrade to 1.67.
160 * Tue Jan 1 2002 H. Peter Anvin <hpa@zytor.com>
161 - Upgrade to 1.66.
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>
167 - Upgrade to 1.64.
169 * Mon Aug 6 2001 H. Peter Anvin <hpa@zytor.com>
170 - Upgrade to 1.63.
171 - Use make install since the stock SYSLINUX distribution now supports
172 INSTALLROOT.
174 * Sat Apr 24 2001 H. Peter Anvin <hpa@zytor.com>
175 - Upgrade to 1.62.
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>
181 - Upgrade to 1.61
182 - Install auxilliary programs in /usr/lib/syslinux
184 * Sat Feb 10 2001 Matt Wilson <msw@redhat.com>
185 - 1.52
187 * Wed Jan 24 2001 Matt Wilson <msw@redhat.com>
188 - 1.51pre7
190 * Mon Jan 22 2001 Matt Wilson <msw@redhat.com>
191 - 1.51pre5
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>
200 - update to 1.49
201 - update ftp site
202 - clean up specfile
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>
209 - automatic rebuild
211 * Thu Jul 06 2000 Trond Eivind Glomsrød <teg@redhat.com>
212 - use %%{_tmppath}
213 - change application group (Applications/Internet doesn't seem
214 right to me)
215 - added BuildRequires
217 * Tue Apr 04 2000 Erik Troan <ewt@redhat.com>
218 - initial packaging