- 3.02
- Make the spec a little closer to hpa's.
This commit is contained in:
parent
b3bb5e1248
commit
5886e1bfe7
@ -1 +1 @@
|
|||||||
syslinux-3.00.tar.bz2
|
syslinux-3.02.tar.bz2
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
160b490992bbdac6701734b9ffa581c0 syslinux-3.00.tar.bz2
|
dd96fb6cd73cfc650bfc7fd9c3d8cdf2 syslinux-3.02.tar.bz2
|
||||||
|
@ -1,29 +1,40 @@
|
|||||||
Summary: Simple kernel loader which boots from a FAT filesystem
|
Summary: Simple kernel loader which boots from a FAT filesystem
|
||||||
Name: syslinux
|
Name: syslinux
|
||||||
Version: 3.00
|
Version: 3.02
|
||||||
Release: 2
|
Release: 1
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
Source0: ftp://ftp.kernel.org/pub/linux/utils/boot/syslinux/%{name}-%{version}.tar.bz2
|
Source0: ftp://ftp.kernel.org/pub/linux/utils/boot/syslinux/%{name}-%{version}.tar.bz2
|
||||||
Patch0: syslinux-2.08-x86_64.patch
|
Patch0: syslinux-2.08-x86_64.patch
|
||||||
ExclusiveArch: i386 x86_64
|
ExclusiveArch: i386 x86_64
|
||||||
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
||||||
BuildPrereq: nasm, perl, netpbm-progs
|
BuildPrereq: nasm >= 0.98.38-1, perl, netpbm-progs
|
||||||
%ifarch i386
|
|
||||||
Autoreq: 0
|
Autoreq: 0
|
||||||
Requires: libc.so.6
|
%ifarch i386
|
||||||
Requires: mtools
|
Requires: mtools, libc.so.6
|
||||||
%endif
|
%endif
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
Autoreq: 0
|
Requires: mtools, libc.so.6()(64bit)
|
||||||
Requires: libc.so.6()(64bit)
|
|
||||||
Requires: mtools
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development environment for SYSLINUX add-on modules
|
||||||
|
Group: Development/Libraries
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Syslinux is a simple kernel loader. It normally loads the kernel (and an
|
SYSLINUX is a suite of bootloaders, currently supporting DOS FAT
|
||||||
optional initrd image) from a FAT filesystem. It can also be used as a
|
filesystems, Linux ext2/ext3 filesystems (EXTLINUX), PXE network boots
|
||||||
PXE bootloader during network boots.
|
(PXELINUX), or ISO 9660 CD-ROMs (ISOLINUX). It also includes a tool,
|
||||||
|
MEMDISK, which loads legacy operating systems from these media.
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
The SYSLINUX boot loader contains an API, called COM32, for writing
|
||||||
|
sophisticated add-on modules. This package contains the libraries
|
||||||
|
necessary to compile such modules.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n syslinux-%{version}
|
%setup -q -n syslinux-%{version}
|
||||||
@ -32,15 +43,17 @@ PXE bootloader during network boots.
|
|||||||
%build
|
%build
|
||||||
make clean
|
make clean
|
||||||
make installer
|
make installer
|
||||||
|
make -C sample tidy
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_bindir}
|
mkdir -p %{buildroot}%{_bindir}
|
||||||
mkdir -p %{buildroot}%{_libdir}/syslinux
|
mkdir -p %{buildroot}%{_sbindir}
|
||||||
|
mkdir -p %{buildroot}%{_prefix}/lib/syslinux
|
||||||
mkdir -p %{buildroot}%{_includedir}
|
mkdir -p %{buildroot}%{_includedir}
|
||||||
make INSTALLROOT=%{buildroot} install install-lib \
|
make install-all \
|
||||||
INSTALLROOT=%{buildroot} BINDIR=%{_bindir} \
|
INSTALLROOT=%{buildroot} BINDIR=%{_bindir} SBINDIR=%{_sbindir} \
|
||||||
LIBDIR=%{_prefix}/lib INCDIR=%{_includedir}
|
LIBDIR=%{_prefix}/lib INCDIR=%{_includedir}
|
||||||
cp mkdiskimage sys2ansi.pl keytab-lilo.pl %{buildroot}%{_prefix}/lib/syslinux
|
cp mkdiskimage sys2ansi.pl keytab-lilo.pl %{buildroot}%{_prefix}/lib/syslinux
|
||||||
install -m 755 unix/syslinux-nomtools %{buildroot}%{_prefix}/lib/syslinux
|
install -m 755 unix/syslinux-nomtools %{buildroot}%{_prefix}/lib/syslinux
|
||||||
@ -59,15 +72,33 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc NEWS README TODO COPYING
|
%doc NEWS README TODO COPYING
|
||||||
%doc distrib.doc isolinux.doc pxelinux.doc syslinux.doc memdisk/memdisk.doc
|
%doc *.doc memdisk/*.doc
|
||||||
%{_bindir}/lss16toppm
|
|
||||||
%{_bindir}/ppmtolss16
|
|
||||||
%{_bindir}/syslinux
|
%{_bindir}/syslinux
|
||||||
%{_prefix}/lib/syslinux
|
%{_sbindir}/extlinux
|
||||||
|
%{_bindir}/ppmtolss16
|
||||||
|
%{_bindir}/lss16toppm
|
||||||
%{_bindir}/gethostip
|
%{_bindir}/gethostip
|
||||||
/sbin/extlinux
|
%{_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
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc sample
|
||||||
|
%{_prefix}/lib/syslinux/com32
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 4 2005 Peter Jones <pjones@redhat.com> - 3.02-1
|
||||||
|
- 3.02
|
||||||
|
- Make the spec a little closer to hpa's.
|
||||||
|
|
||||||
* Mon Jan 3 2005 Peter Jones <pjones@redhat.com> - 3.00-2
|
* 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.
|
- make tag says the tag is there, make build says it's not.
|
||||||
Bump release, try again.
|
Bump release, try again.
|
||||||
|
Loading…
Reference in New Issue
Block a user