143 lines
4.6 KiB
RPMSpec
143 lines
4.6 KiB
RPMSpec
|
Name: syslinux
|
||
|
Epoch: 1
|
||
|
Version: 4.06
|
||
|
Release: 2mamba
|
||
|
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.bz2
|
||
|
Patch0: syslinux-4.06-build-without-mingw32.patch
|
||
|
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"
|
||
|
BuildRequires: cross-mingw32-toolchain
|
||
|
%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
|
||
|
# Disable win64 installer (requires mingw64)
|
||
|
sed -i "s|win64/syslinux64.exe||" Makefile
|
||
|
%if "%{stage1}" == "1"
|
||
|
sed -i "s|win32/syslinux.exe||" Makefile
|
||
|
%endif
|
||
|
|
||
|
%build
|
||
|
%ifarch x86_64
|
||
|
make -j1
|
||
|
%else
|
||
|
%make
|
||
|
%endif
|
||
|
|
||
|
#cd menu
|
||
|
#% make
|
||
|
|
||
|
%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/lss16toppm.1*
|
||
|
%{_mandir}/man1/ppmtolss16.1*
|
||
|
%{_mandir}/man1/syslinux.1*
|
||
|
%{_mandir}/man1/syslinux2ansi.1*
|
||
|
|
||
|
%changelog
|
||
|
* Mon Aug 12 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 4.06-2mamba
|
||
|
- revert to version 4, 5.x doesn't work for me
|
||
|
|
||
|
* 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
|