📄 syslinux.spec
字号:
# -*- rpm -*-%define RPMVERSION 3.19.3%define VERSION 3.20-pre3Summary: Kernel loader which uses a FAT or iso9660 filesystem or a PXE networkName: syslinuxVersion: %{RPMVERSION}Release: 1License: GPLGroup: Applications/SystemSource0: ftp://ftp.kernel.org/pub/linux/utils/boot/syslinux/%{name}-%{VERSION}.tar.gzExclusiveArch: i386 x86_64Packager: H. Peter Anvin <hpa@zytor.com>Buildroot: %{_tmppath}/%{name}-%{VERSION}-rootBuildPrereq: nasm >= 0.98.38, perlAutoreq: 0%ifarch i386Requires: mtools, libc.so.6%endif%ifarch x86_64Requires: mtools, libc.so.6()(64bit)%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 develSummary: Development environment for SYSLINUX add-on modulesGroup: Development/Libraries%descriptionSYSLINUX is a suite of bootloaders, currently supporting DOS FATfilesystems, 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.%description develThe SYSLINUX boot loader contains an API, called COM32, for writingsophisticated add-on modules. This package contains the librariesnecessary to compile such modules.%prep%setup -q -n syslinux-%{VERSION}%buildmake cleanmake installermake -C sample tidy%installrm -rf %{buildroot}mkdir -p %{buildroot}%{_bindir}mkdir -p %{buildroot}%{_sbindir}mkdir -p %{buildroot}%{_libdir}/syslinuxmkdir -p %{buildroot}%{_includedir}mkdir -p %{buildroot}/bootmake install-all \ INSTALLROOT=%{buildroot} BINDIR=%{_bindir} SBINDIR=%{_sbindir} \ LIBDIR=%{_libdir} INCDIR=%{_includedir}make -C sample tidycp mkdiskimage sys2ansi.pl keytab-lilo.pl %{buildroot}%{_libdir}/syslinuxcp %{buildroot}%{_libdir}/syslinux/*.c32 %{buildroot}/boot%cleanrm -rf %{buildroot}%files%defattr(-,root,root)%doc NEWS README* *.doc memdisk/*.doc COPYING%doc sample%{_bindir}/syslinux%{_sbindir}/extlinux%{_bindir}/ppmtolss16%{_bindir}/lss16toppm%{_bindir}/gethostip%{_libdir}/syslinux/*.com%{_libdir}/syslinux/*.exe%{_libdir}/syslinux/*.c32%{_libdir}/syslinux/*.bin%{_libdir}/syslinux/*.0%{_libdir}/syslinux/memdisk%{_libdir}/syslinux/*.pl%{_libdir}/syslinux/mkdiskimage/boot/*.c32%files devel%{_libdir}/syslinux/com32%post# If we have a /boot/extlinux.conf file, assume extlinux is our bootloader# and update it.if [ -f /boot/extlinux.conf ]; then extlinux --update /boot; fi%postun%changelog* Wed Sep 21 2005 H. Peter Anvin <hpa@zytor.com>- If /boot/extlinux.conf exist, run extlinux --update.* Fri Sep 9 2005 H. Peter Anvin <hpa@zytor.com>- Copy, don't link, *.c32 into /boot; rpm doesn't like breaking links.* Tue Aug 23 2005 H. Peter Anvin <hpa@zytor.com>- Put *.c32 into /boot.* Thu Dec 30 2004 H. Peter Anvin <hpa@zytor.com>- libsyslinux dropped in syslinux 3.00.- Additional documentation.- Add extlinux.* Tue Dec 14 2004 H. Peter Anvin <hpa@zytor.com>- Add a devel package for the com32 library added in 2.12.* Wed Apr 16 2003 H. Peter Anvin <hpa@zytor.com> 2.04-1- 2.04 release- Add support for libsyslinux.so*- Templatize for inclusion in CVS tree* Thu Apr 10 2003 H. Peter Anvin <hpa@zytor.com>- 2.03 release- Add support for libsyslinux.a- Add keytab-lilo.pl to the /usr/lib/syslinux directory- Modernize syntax- Support building on x86-64* Thu Feb 13 2003 H. Peter Anvin <hpa@zytor.com>- 2.02 release; no longer setuid* Thu Jan 30 2003 H. Peter Anvin <hpa@zytor.com>- Prepare for 2.01 release; make /usr/bin/syslinux setuid root* Fri Oct 25 2002 H. Peter Anvin <hpa@zytor.com>- Upgrade to 2.00.* Tue Aug 27 2002 H. Peter Anvin <hpa@zytor.com>- Upgrade to 1.76.* Fri Jun 14 2002 H. Peter Anvin <hpa@zytor.com>- Upgrade to 1.75.* Sat Jun 1 2002 H. Peter Anvin <hpa@zytor.com>- Upgrade to 1.74.* Sun May 26 2002 H. Peter Anvin <hpa@zytor.com>- Upgrade to 1.73.* Tue Apr 23 2002 H. Peter Anvin <hpa@zytor.com>- Upgrade to 1.72.* Wed Apr 17 2002 H. Peter Anvin <hpa@zytor.com>- Upgrade to 1.71.- Update the title.* Wed Apr 17 2002 H. Peter Anvin <hpa@zytor.com>- Upgrade to 1.70.* Sat Feb 3 2002 H. Peter Anvin <hpa@zytor.com>- Upgrade to 1.67.* Tue Jan 1 2002 H. Peter Anvin <hpa@zytor.com>- Upgrade to 1.66.* Sat Dec 15 2001 H. Peter Anvin <hpa@zytor.com>- Upgrade to 1.65; make appropriate changes.* Sat Aug 24 2001 H. Peter Anvin <hpa@zytor.com>- Upgrade to 1.64.* Mon Aug 6 2001 H. Peter Anvin <hpa@zytor.com>- Upgrade to 1.63.- Use make install since the stock SYSLINUX distribution now supports INSTALLROOT.* Sat Apr 24 2001 H. Peter Anvin <hpa@zytor.com>- Upgrade to 1.62.* Sat Apr 14 2001 H. Peter Anvin <hpa@zytor.com>- Fix missing %files; correct modes.* Fri Apr 13 2001 H. Peter Anvin <hpa@zytor.com>- Upgrade to 1.61- Install auxilliary programs in /usr/lib/syslinux* 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鴇 <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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -