2004-09-09 12:52:57 +00:00
|
|
|
|
Summary: Simple kernel loader which boots from a FAT filesystem
|
|
|
|
|
Name: syslinux
|
2005-08-24 20:59:55 +00:00
|
|
|
|
Version: 3.10
|
|
|
|
|
%define tarball_version 3.10
|
2006-06-12 21:24:21 +00:00
|
|
|
|
Release: 6
|
2004-09-09 12:54:48 +00:00
|
|
|
|
License: GPL
|
2004-09-09 12:52:57 +00:00
|
|
|
|
Group: Applications/System
|
2005-08-22 19:29:10 +00:00
|
|
|
|
Source0: ftp://ftp.kernel.org/pub/linux/utils/boot/syslinux/%{name}-%{tarball_version}.tar.bz2
|
2004-09-09 12:55:28 +00:00
|
|
|
|
Patch0: syslinux-2.08-x86_64.patch
|
2005-03-16 21:44:52 +00:00
|
|
|
|
Patch1: syslinux-3.07-gcc4.patch
|
2004-09-09 12:54:31 +00:00
|
|
|
|
ExclusiveArch: i386 x86_64
|
2004-09-09 12:52:57 +00:00
|
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
2005-01-05 15:47:25 +00:00
|
|
|
|
BuildPrereq: nasm >= 0.98.38-1, perl, netpbm-progs
|
2006-06-05 15:56:30 +00:00
|
|
|
|
BuildRequires: /usr/include/gnu/stubs-32.h
|
2004-09-09 12:53:46 +00:00
|
|
|
|
Autoreq: 0
|
2005-01-05 15:47:25 +00:00
|
|
|
|
%ifarch i386
|
|
|
|
|
Requires: mtools, libc.so.6
|
2004-09-09 12:54:31 +00:00
|
|
|
|
%endif
|
|
|
|
|
%ifarch x86_64
|
2005-01-05 15:47:25 +00:00
|
|
|
|
Requires: mtools, libc.so.6()(64bit)
|
2004-09-09 12:54:31 +00:00
|
|
|
|
%endif
|
2006-06-12 21:24:21 +00:00
|
|
|
|
Provides: syslinux-devel
|
2004-09-09 12:52:57 +00:00
|
|
|
|
|
2005-01-05 15:47:25 +00:00
|
|
|
|
# NOTE: extlinux belongs in /sbin, not in /usr/sbin, since it is typically
|
|
|
|
|
# a system bootloader, and may be necessary for system recovery.
|
|
|
|
|
%define _sbindir /sbin
|
|
|
|
|
|
2004-09-09 12:52:57 +00:00
|
|
|
|
%description
|
2005-01-05 15:47:25 +00:00
|
|
|
|
SYSLINUX is a suite of bootloaders, currently supporting DOS FAT
|
|
|
|
|
filesystems, Linux ext2/ext3 filesystems (EXTLINUX), PXE network boots
|
|
|
|
|
(PXELINUX), or ISO 9660 CD-ROMs (ISOLINUX). It also includes a tool,
|
|
|
|
|
MEMDISK, which loads legacy operating systems from these media.
|
|
|
|
|
|
2004-09-09 12:52:57 +00:00
|
|
|
|
%prep
|
2005-08-22 19:29:10 +00:00
|
|
|
|
%setup -q -n syslinux-%{tarball_version}
|
2004-09-09 12:54:48 +00:00
|
|
|
|
%patch0 -p1 -b .x86_64
|
2005-05-19 21:40:10 +00:00
|
|
|
|
%patch1 -p1 -b .3.07-gcc4
|
2004-09-09 12:52:57 +00:00
|
|
|
|
|
|
|
|
|
%build
|
2005-03-16 21:44:52 +00:00
|
|
|
|
CFLAGS="-Werror -Wno-unused -finline-limit=2000"
|
|
|
|
|
export CFLAGS
|
2005-08-24 20:59:55 +00:00
|
|
|
|
#make clean
|
2004-09-09 12:53:46 +00:00
|
|
|
|
make installer
|
2005-01-05 15:47:25 +00:00
|
|
|
|
make -C sample tidy
|
2004-09-09 12:52:57 +00:00
|
|
|
|
|
|
|
|
|
%install
|
2004-09-09 12:53:46 +00:00
|
|
|
|
rm -rf %{buildroot}
|
2004-09-09 12:53:02 +00:00
|
|
|
|
|
2004-09-09 12:54:48 +00:00
|
|
|
|
mkdir -p %{buildroot}%{_bindir}
|
2005-01-05 15:47:25 +00:00
|
|
|
|
mkdir -p %{buildroot}%{_sbindir}
|
|
|
|
|
mkdir -p %{buildroot}%{_prefix}/lib/syslinux
|
2004-09-09 12:54:48 +00:00
|
|
|
|
mkdir -p %{buildroot}%{_includedir}
|
2005-01-05 15:47:25 +00:00
|
|
|
|
make install-all \
|
|
|
|
|
INSTALLROOT=%{buildroot} BINDIR=%{_bindir} SBINDIR=%{_sbindir} \
|
2004-09-09 12:54:48 +00:00
|
|
|
|
LIBDIR=%{_prefix}/lib INCDIR=%{_includedir}
|
|
|
|
|
cp mkdiskimage sys2ansi.pl keytab-lilo.pl %{buildroot}%{_prefix}/lib/syslinux
|
2005-01-03 22:50:57 +00:00
|
|
|
|
install -m 755 unix/syslinux-nomtools %{buildroot}%{_prefix}/lib/syslinux
|
|
|
|
|
install -m 755 unix/syslinux %{buildroot}%{_prefix}/lib/syslinux
|
2004-09-09 12:52:57 +00:00
|
|
|
|
|
2004-09-09 12:54:31 +00:00
|
|
|
|
mkdir -p %{buildroot}/%{_docdir}/%{name}-%{version}/sample
|
|
|
|
|
install -m 644 sample/sample.* %{buildroot}/%{_docdir}/%{name}-%{version}/sample/
|
|
|
|
|
|
2004-09-09 12:54:48 +00:00
|
|
|
|
# don't ship libsyslinux, at least, not for now
|
|
|
|
|
rm -f %{buildroot}%{_prefix}/lib/libsyslinux*
|
|
|
|
|
rm -f %{buildroot}%{_includedir}/syslinux.h
|
|
|
|
|
|
2004-09-09 12:52:57 +00:00
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
2005-01-14 22:01:41 +00:00
|
|
|
|
%doc NEWS README* TODO COPYING
|
2005-01-05 15:47:25 +00:00
|
|
|
|
%doc *.doc memdisk/*.doc
|
2006-06-12 21:24:21 +00:00
|
|
|
|
%doc sample
|
2004-09-09 12:53:46 +00:00
|
|
|
|
%{_bindir}/syslinux
|
2005-01-05 15:47:25 +00:00
|
|
|
|
%{_sbindir}/extlinux
|
|
|
|
|
%{_bindir}/ppmtolss16
|
|
|
|
|
%{_bindir}/lss16toppm
|
2004-09-09 12:54:31 +00:00
|
|
|
|
%{_bindir}/gethostip
|
2005-01-05 15:47:25 +00:00
|
|
|
|
%{_prefix}/lib/syslinux/*.com
|
|
|
|
|
%{_prefix}/lib/syslinux/*.exe
|
|
|
|
|
%{_prefix}/lib/syslinux/*.c32
|
|
|
|
|
%{_prefix}/lib/syslinux/*.bin
|
|
|
|
|
%{_prefix}/lib/syslinux/*.0
|
|
|
|
|
%{_prefix}/lib/syslinux/memdisk
|
|
|
|
|
%{_prefix}/lib/syslinux/*.pl
|
|
|
|
|
%{_prefix}/lib/syslinux/mkdiskimage
|
|
|
|
|
%{_prefix}/lib/syslinux/syslinux
|
|
|
|
|
%{_prefix}/lib/syslinux/syslinux-nomtools
|
|
|
|
|
%{_prefix}/lib/syslinux/com32
|
2004-09-09 12:52:57 +00:00
|
|
|
|
|
|
|
|
|
%changelog
|
2006-06-12 21:24:21 +00:00
|
|
|
|
* Mon Jun 12 2006 Peter Jones <pjones@redhat.com> - 3.10-6
|
|
|
|
|
- Fold -devel subpackage into "syslinux"
|
|
|
|
|
|
2006-06-05 15:56:30 +00:00
|
|
|
|
* Mon Jun 05 2006 Jesse Keating <jkeating@redhat.com> - 3.10-5
|
|
|
|
|
- Use the actual file as a BuildRequire
|
|
|
|
|
|
|
|
|
|
* Mon Jun 05 2006 Jesse Keating <jkeating@redhat.com> - 3.10-4
|
2006-06-05 15:46:53 +00:00
|
|
|
|
- Changed glibc-devel to glibc32 to get the 32bit package in
|
|
|
|
|
|
2006-06-05 15:27:44 +00:00
|
|
|
|
* Mon Jun 05 2006 Jesse Keating <jkeating@redhat.com> - 3.10-3
|
|
|
|
|
- Added missing glibc-devel BuildRequires
|
|
|
|
|
|
2006-02-07 13:55:46 +00:00
|
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3.10-2.2
|
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
|
2005-12-09 22:43:23 +00:00
|
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
|
- rebuilt
|
|
|
|
|
|
2005-08-24 20:59:55 +00:00
|
|
|
|
* Mon Aug 22 2005 Peter Jones <pjones@redhat.com> - 3.10-2
|
|
|
|
|
- Update to 3.10
|
|
|
|
|
- Don't do "make clean", so we actually ship the bins hpa gives us
|
2005-08-22 19:29:10 +00:00
|
|
|
|
|
2005-07-09 16:13:29 +00:00
|
|
|
|
* Sat Jul 9 2005 Peter Jones <pjones@redhat.com> - 3.09-2
|
|
|
|
|
- Update to 3.09
|
|
|
|
|
|
2005-06-16 20:55:28 +00:00
|
|
|
|
* Thu Jun 16 2005 Peter Jones <pjones@redhat.com> - 3.08.92-1
|
|
|
|
|
- Update to 3.09-pre2, to fix the i915 .bss overflow bug
|
|
|
|
|
|
2005-05-19 22:20:48 +00:00
|
|
|
|
* Thu May 19 2005 Peter Jones <pjones@redhat.com> - 3.08-3
|
|
|
|
|
- Fix filespec for samples in -devel
|
|
|
|
|
|
2005-05-19 21:40:10 +00:00
|
|
|
|
* Thu May 19 2005 Peter Jones <pjones@redhat.com> - 3.08-2
|
|
|
|
|
- update to 3.08
|
|
|
|
|
|
2005-03-16 21:45:28 +00:00
|
|
|
|
* Wed Mar 16 2005 Peter Jones <pjones@redhat.com> - 3.07-2
|
|
|
|
|
- gcc4 update
|
|
|
|
|
|
2005-01-14 22:01:41 +00:00
|
|
|
|
* Thu Jan 13 2005 Peter Jones <pjones@redhat.com> - 3.07-1
|
|
|
|
|
- update to 3.07
|
|
|
|
|
|
|
|
|
|
* Tue Jan 11 2005 Peter Jones <pjones@redhat.com> - 3.06-1
|
|
|
|
|
- update to 3.06 , which should fix the directory parsing bug that wedges it
|
|
|
|
|
with diskboot.img
|
|
|
|
|
- change README to README* in doc, to include README.menu and README.usbkey
|
|
|
|
|
|
2005-01-05 15:51:53 +00:00
|
|
|
|
* Tue Jan 4 2005 Peter Jones <pjones@redhat.com> - 3.02-2
|
|
|
|
|
- Beehive doesn't let you build in scratch and then build someplace else,
|
|
|
|
|
arrrrgh.
|
|
|
|
|
|
2005-01-05 15:47:25 +00:00
|
|
|
|
* Tue Jan 4 2005 Peter Jones <pjones@redhat.com> - 3.02-1
|
|
|
|
|
- 3.02
|
|
|
|
|
- Make the spec a little closer to hpa's.
|
|
|
|
|
|
2005-01-03 23:10:33 +00:00
|
|
|
|
* Mon Jan 3 2005 Peter Jones <pjones@redhat.com> - 3.00-2
|
|
|
|
|
- make tag says the tag is there, make build says it's not.
|
|
|
|
|
Bump release, try again.
|
|
|
|
|
|
2005-01-03 22:50:57 +00:00
|
|
|
|
* Mon Jan 3 2005 Peter Jones <pjones@redhat.com> - 3.00-1
|
|
|
|
|
- 3.00
|
|
|
|
|
|
2004-09-09 12:57:07 +00:00
|
|
|
|
* Mon Aug 16 2004 Jeremy Katz <katzj@redhat.com> - 2.11-1
|
|
|
|
|
- 2.11
|
|
|
|
|
|
2004-09-09 12:56:38 +00:00
|
|
|
|
* Fri Jul 30 2004 Jeremy Katz <katzj@redhat.com> - 2.10-1
|
|
|
|
|
- update to 2.10
|
|
|
|
|
|
2004-09-09 12:56:26 +00:00
|
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
|
- rebuilt
|
|
|
|
|
|
2004-09-09 12:56:17 +00:00
|
|
|
|
* Sat Apr 17 2004 Jeremy Katz <katzj@redhat.com> 2.0.8-3
|
|
|
|
|
- add syslinux-nomtools binary to be used for creating some installer images
|
|
|
|
|
|
|
|
|
|
* Tue Feb 17 2004 Jeremy Katz <katzj@redhat.com>
|
|
|
|
|
- add netpbm-progs BuildRequires (#110255)
|
|
|
|
|
|
2004-09-09 12:56:00 +00:00
|
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
|
- rebuilt
|
|
|
|
|
|
2004-09-09 12:55:28 +00:00
|
|
|
|
* Sun Dec 14 2003 Jeremy Katz <katzj@redhat.com> 2.08-1
|
|
|
|
|
- 2.08
|
|
|
|
|
|
2004-09-09 12:54:48 +00:00
|
|
|
|
* Fri Aug 22 2003 Jeremy Katz <katzj@redhat.com> 2.06-1
|
|
|
|
|
- 2.06
|
|
|
|
|
|
|
|
|
|
* Thu Aug 14 2003 Jeremy Katz <katzj@redhat.com> 2.05-1
|
|
|
|
|
- update to 2.05
|
|
|
|
|
|
|
|
|
|
* Mon Apr 21 2003 Jeremy Katz <katzj@redhat.com> 2.04-2
|
|
|
|
|
- add patch for samples to build on x86_64
|
|
|
|
|
- integrate some changes from upstream specfile (#88593)
|
|
|
|
|
|
|
|
|
|
* Fri Apr 18 2003 Jeremy Katz <katzj@redhat.com> 2.04-1
|
|
|
|
|
- update to 2.04
|
|
|
|
|
|
|
|
|
|
* Mon Feb 3 2003 Jeremy Katz <katzj@redhat.com> 2.01-1
|
|
|
|
|
- update to 2.01
|
|
|
|
|
|
2004-09-09 12:54:31 +00:00
|
|
|
|
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
|
|
* Tue Jan 14 2003 Jeremy Katz <katzj@redhat.com> 2.00-3
|
|
|
|
|
- fix deps for x86_64
|
|
|
|
|
|
|
|
|
|
* Wed Nov 27 2002 Tim Powers <timp@redhat.com> 2.00-2
|
|
|
|
|
- build on both x86_64 and i386
|
|
|
|
|
|
|
|
|
|
* Fri Nov 1 2002 Jeremy Katz <katzj@redhat.com>
|
|
|
|
|
- update to 2.00
|
|
|
|
|
- add additional files as requested by hpa (#68073)
|
|
|
|
|
|
2004-09-09 12:54:11 +00:00
|
|
|
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
|
|
|
- automated rebuild
|
|
|
|
|
|
2004-09-09 12:53:46 +00:00
|
|
|
|
* Tue Jun 18 2002 Jeremy Katz <katzj@redhat.com>
|
|
|
|
|
- lss16toppm and ppmtolss16 are both perl scripts... turn off find-requires
|
|
|
|
|
so we don't suck in perl as a dependency for syslinux
|
|
|
|
|
|
|
|
|
|
* Mon Jun 17 2002 Jeremy Katz <katzj@redhat.com>
|
|
|
|
|
- update to 1.75
|
|
|
|
|
- include tools to create graphical image format needed by syslinux
|
|
|
|
|
- include isolinux
|
|
|
|
|
- include pxelinux (#64942)
|
|
|
|
|
|
|
|
|
|
* Fri Jun 14 2002 Preston Brown <pbrown@redhat.com>
|
|
|
|
|
- upgrade to latest version w/graphical screen support
|
|
|
|
|
|
|
|
|
|
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
|
|
|
|
- automated rebuild
|
|
|
|
|
|
2004-09-09 12:53:08 +00:00
|
|
|
|
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
|
|
|
|
|
- Bump release + rebuild.
|
|
|
|
|
|
2004-09-09 12:53:02 +00:00
|
|
|
|
* Sat Feb 10 2001 Matt Wilson <msw@redhat.com>
|
|
|
|
|
- 1.52
|
|
|
|
|
|
|
|
|
|
* Wed Jan 24 2001 Matt Wilson <msw@redhat.com>
|
|
|
|
|
- 1.51pre7
|
|
|
|
|
|
|
|
|
|
* Mon Jan 22 2001 Matt Wilson <msw@redhat.com>
|
|
|
|
|
- 1.51pre5
|
|
|
|
|
|
|
|
|
|
* Fri Jan 19 2001 Matt Wilson <msw@redhat.com>
|
|
|
|
|
- 1.51pre3, with e820 detection
|
|
|
|
|
|
|
|
|
|
* Tue Dec 12 2000 Than Ngo <than@redhat.com>
|
|
|
|
|
- rebuilt with fixed fileutils
|
|
|
|
|
|
|
|
|
|
* Thu Nov 9 2000 Than Ngo <than@redhat.com>
|
|
|
|
|
- update to 1.49
|
|
|
|
|
- update ftp site
|
|
|
|
|
- clean up specfile
|
|
|
|
|
- add some useful documents
|
|
|
|
|
|
2004-09-09 12:52:57 +00:00
|
|
|
|
* Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
|
- add %%defattr (release 4)
|
|
|
|
|
|
|
|
|
|
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
|
|
|
|
- automatic rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 06 2000 Trond Eivind Glomsr<EFBFBD>d <teg@redhat.com>
|
|
|
|
|
- use %%{_tmppath}
|
|
|
|
|
- change application group (Applications/Internet doesn't seem
|
|
|
|
|
right to me)
|
|
|
|
|
- added BuildRequires
|
|
|
|
|
|
|
|
|
|
* Tue Apr 04 2000 Erik Troan <ewt@redhat.com>
|
|
|
|
|
- initial packaging
|