163 lines
5.3 KiB
RPMSpec
163 lines
5.3 KiB
RPMSpec
Name: syslinux
|
|
Version: 6.03
|
|
Epoch: 1
|
|
Release: 1mamba
|
|
Summary: A boot loader for the Linux operating system for MSDOS/FAT filesystems
|
|
Group: System/Kernel and Hardware
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://syslinux.zytor.com/
|
|
Source: http://www.kernel.org/pub/linux/utils/boot/syslinux/%{name}-%{version}.tar.xz
|
|
License: GPL
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: perl-devel
|
|
BuildRequires: perl-Digest-SHA1
|
|
BuildRequires: perl-Crypt-PasswdMD5
|
|
## AUTOBUILDREQ-END
|
|
%if "%{stage1}" != "1"
|
|
%ifnarch x86_64
|
|
BuildRequires: cross-mingw32-toolchain
|
|
%endif
|
|
%endif
|
|
BuildRequires: nasm >= 0.98.39
|
|
BuildRequires: upx
|
|
Provides: bootloader
|
|
|
|
%description
|
|
SYSLINUX is a boot loader for the Linux operating system which operates off an MS-DOS/Windows FAT filesystem. It is intended to simplify first-time installation of Linux, and for creation of rescue- and other special-purpose boot disks.
|
|
SYSLINUX can be used, when properly set up, to completely eliminate the need for distribution of raw diskette images for boot floppies. A SYSLINUX floppy can be manipulated using standard MS-DOS (or any other OS that can access an MS-DOS filesystem) tools once it has been created.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
# ld.gold has problems with boot loaders
|
|
ld -v | grep "gold" && {
|
|
echo "Error: ld GOLD detected, which is incompatible with syslinux. Aborting."
|
|
exit 1
|
|
}
|
|
|
|
# Disable win64 installer (requires mingw64)
|
|
sed -i "s|win64/syslinux64.exe||" Makefile
|
|
%if "%{stage1}" == "1"
|
|
sed -i "s|win32/syslinux.exe||" Makefile
|
|
%endif
|
|
|
|
%build
|
|
# NOTE: disabling icecream or it fails
|
|
%ifnarch x86_64
|
|
make -j1 CC=%{_bindir}/gcc all_firmware="bios efi32"
|
|
%else
|
|
make -j1 CC=%{_bindir}/gcc
|
|
%endif
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
%makeinstall INSTALLROOT=%{buildroot} MANDIR=%{_mandir}
|
|
# % makeinstall INSTALLROOT=%{buildroot} MANDIR=%{_mandir} -C menu
|
|
#install -m0755 mkdiskimage %{buildroot}%{_bindir}/mkdiskimage
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
/sbin/extlinux
|
|
%{_bindir}/gethostip
|
|
%{_bindir}/isohybrid
|
|
%{_bindir}/isohybrid.pl
|
|
%{_bindir}/keytab-lilo
|
|
%{_bindir}/lss16toppm
|
|
%{_bindir}/md5pass
|
|
%{_bindir}/memdiskfind
|
|
%{_bindir}/mkdiskimage
|
|
%{_bindir}/ppmtolss16
|
|
%{_bindir}/pxelinux-options
|
|
%{_bindir}/sha1pass
|
|
%{_bindir}/syslinux
|
|
%{_bindir}/syslinux2ansi
|
|
%dir %{_datadir}/syslinux
|
|
%{_datadir}/syslinux/*
|
|
#%doc BUGS COPYING NEWS README TODO
|
|
%{_mandir}/man1/extlinux.1*
|
|
%{_mandir}/man1/gethostip.1*
|
|
%{_mandir}/man1/isohybrid.1*
|
|
%{_mandir}/man1/lss16toppm.1*
|
|
%{_mandir}/man1/memdiskfind.1*
|
|
%{_mandir}/man1/ppmtolss16.1*
|
|
%{_mandir}/man1/syslinux.1*
|
|
%{_mandir}/man1/syslinux2ansi.1*
|
|
|
|
%changelog
|
|
* Thu Oct 30 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 6.03-1mamba
|
|
- update to 6.03
|
|
|
|
* Sun Aug 11 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 5.10-2mamba
|
|
- rebuilt with ld (bfd), added check
|
|
|
|
* Sun Jun 09 2013 Automatic Build System <autodist@mambasoft.it> 5.10-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Feb 02 2013 Automatic Build System <autodist@mambasoft.it> 5.01-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Jan 07 2013 Automatic Build System <autodist@mambasoft.it> 5.00-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Oct 24 2012 Automatic Build System <autodist@mambasoft.it> 4.06-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Apr 25 2012 Automatic Build System <autodist@mambasoft.it> 4.05-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue May 03 2011 Automatic Build System <autodist@mambasoft.it> 4.04-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Wed Feb 23 2011 Automatic Build System <autodist@mambasoft.it> 4.03-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Mon Aug 09 2010 Automatic Build System <autodist@mambasoft.it> 4.02-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Wed Apr 14 2010 Automatic Build System <autodist@mambasoft.it> 3.86-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Tue Dec 22 2009 Automatic Build System <autodist@mambasoft.it> 3.84-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Tue Oct 13 2009 Automatic Build System <autodist@mambasoft.it> 3.83-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Thu Jun 11 2009 Automatic Build System <autodist@mambasoft.it> 3.82-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Thu Feb 26 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.73-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Mon Dec 08 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 3.72-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Mon Apr 07 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 3.62-1mamba
|
|
- update to 3.62
|
|
|
|
* Sun Jun 24 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 3.51-1mamba
|
|
- update to 3.51
|
|
|
|
* Fri Mar 09 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 3.36-1qilnx
|
|
- update to version 3.36 by autospec
|
|
- added bootloader provides
|
|
|
|
* Mon Jan 29 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 3.35-1qilnx
|
|
- update to version 3.35 by autospec
|
|
|
|
* Mon Oct 16 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 3.31-1qilnx
|
|
- update to version 3.31 by autospec
|
|
|
|
* Fri Aug 05 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 3.09-1qilnx
|
|
- added mkdiskimage script
|
|
|
|
* Fri Aug 05 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 3.09-1qilnx
|
|
- package created by autospec
|