152e33ea56
Sun Dec 14 2003 Jeremy Katz <katzj@redhat.com> 2.08-1 - 2.08
160 lines
4.1 KiB
RPMSpec
160 lines
4.1 KiB
RPMSpec
Summary: Simple kernel loader which boots from a FAT filesystem
|
||
Name: syslinux
|
||
Version: 2.08
|
||
Release: 1
|
||
License: GPL
|
||
Group: Applications/System
|
||
Source0: ftp://ftp.kernel.org/pub/linux/utils/boot/syslinux/%{name}-%{version}.tar.bz2
|
||
Patch0: syslinux-2.08-x86_64.patch
|
||
ExclusiveArch: i386 x86_64
|
||
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
||
BuildPrereq: nasm, perl
|
||
%ifarch i386
|
||
Autoreq: 0
|
||
Requires: libc.so.6
|
||
Requires: mtools
|
||
%endif
|
||
%ifarch x86_64
|
||
Autoreq: 0
|
||
Requires: libc.so.6()(64bit)
|
||
Requires: mtools
|
||
%endif
|
||
|
||
%description
|
||
Syslinux is a simple kernel loader. It normally loads the kernel (and an
|
||
optional initrd image) from a FAT filesystem. It can also be used as a
|
||
PXE bootloader during network boots.
|
||
|
||
%prep
|
||
%setup -q -n syslinux-%{version}
|
||
%patch0 -p1 -b .x86_64
|
||
|
||
%build
|
||
make clean
|
||
make installer
|
||
|
||
%install
|
||
rm -rf %{buildroot}
|
||
|
||
mkdir -p %{buildroot}%{_bindir}
|
||
mkdir -p %{buildroot}%{_libdir}/syslinux
|
||
mkdir -p %{buildroot}%{_includedir}
|
||
make INSTALLROOT=%{buildroot} install install-lib \
|
||
INSTALLROOT=%{buildroot} BINDIR=%{_bindir} \
|
||
LIBDIR=%{_prefix}/lib INCDIR=%{_includedir}
|
||
cp mkdiskimage sys2ansi.pl keytab-lilo.pl %{buildroot}%{_prefix}/lib/syslinux
|
||
|
||
mkdir -p %{buildroot}/%{_docdir}/%{name}-%{version}/sample
|
||
install -m 644 sample/sample.* %{buildroot}/%{_docdir}/%{name}-%{version}/sample/
|
||
|
||
# don't ship libsyslinux, at least, not for now
|
||
rm -f %{buildroot}%{_prefix}/lib/libsyslinux*
|
||
rm -f %{buildroot}%{_includedir}/syslinux.h
|
||
|
||
%clean
|
||
rm -rf $RPM_BUILD_ROOT
|
||
|
||
%files
|
||
%defattr(-,root,root)
|
||
%doc NEWS README TODO COPYING
|
||
%doc distrib.doc isolinux.doc pxelinux.doc syslinux.doc memdisk/memdisk.doc
|
||
%{_bindir}/lss16toppm
|
||
%{_bindir}/ppmtolss16
|
||
%{_bindir}/syslinux
|
||
%{_prefix}/lib/syslinux
|
||
%{_bindir}/gethostip
|
||
|
||
%changelog
|
||
* Sun Dec 14 2003 Jeremy Katz <katzj@redhat.com> 2.08-1
|
||
- 2.08
|
||
|
||
* 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
|
||
|
||
* 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)
|
||
|
||
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
||
- automated rebuild
|
||
|
||
* 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
|
||
|
||
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
|
||
- Bump release + rebuild.
|
||
|
||
* 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
|
||
|
||
* 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<73>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
|