Split out perl utilities into syslinux-perl to avoid perl deps.

The livecd guys are trying to get a distro without perl, which is
commendable in general.  That means syslinux without perl, so split that
out.
This commit is contained in:
Peter Jones 2010-08-23 10:12:51 -04:00
parent 1282382cfa
commit d1bd94394e

View File

@ -2,7 +2,7 @@ Summary: Simple kernel loader which boots from a FAT filesystem
Name: syslinux Name: syslinux
Version: 4.02 Version: 4.02
%define tarball_version 4.02 %define tarball_version 4.02
Release: 2%{?dist} Release: 3%{?dist}
License: GPLv2+ License: GPLv2+
Group: Applications/System Group: Applications/System
URL: http://syslinux.zytor.com/wiki/index.php/The_Syslinux_Project URL: http://syslinux.zytor.com/wiki/index.php/The_Syslinux_Project
@ -30,6 +30,13 @@ filesystems, Linux ext2/ext3 filesystems (EXTLINUX), PXE network boots
(PXELINUX), or ISO 9660 CD-ROMs (ISOLINUX). It also includes a tool, (PXELINUX), or ISO 9660 CD-ROMs (ISOLINUX). It also includes a tool,
MEMDISK, which loads legacy operating systems from these media. MEMDISK, which loads legacy operating systems from these media.
%package perl
Summary: Syslinux tools written in perl
Group: Applications/System
%description perl
Syslinux tools written in perl
%package devel %package devel
Summary: Headers and libraries for syslinux development. Summary: Headers and libraries for syslinux development.
Group: Development/Libraries Group: Development/Libraries
@ -96,8 +103,13 @@ rm -rf %{buildroot}
%doc NEWS README* COPYING %doc NEWS README* COPYING
%doc doc/* %doc doc/*
%doc sample %doc sample
%{_mandir}/man*/* %{_mandir}/man1/gethostip*
%{_bindir}/* %{_mandir}/man1/syslinux*
%{_mandir}/man1/extlinux*
%{_bindir}/gethostip
%{_bindir}/isohybrid
%{_bindir}/memdiskfind
%{_bindir}/syslinux
%dir %{_datadir}/syslinux %dir %{_datadir}/syslinux
%{_datadir}/syslinux/*.com %{_datadir}/syslinux/*.com
%{_datadir}/syslinux/*.exe %{_datadir}/syslinux/*.exe
@ -108,6 +120,21 @@ rm -rf %{buildroot}
%dir %{_datadir}/syslinux/dosutil %dir %{_datadir}/syslinux/dosutil
%{_datadir}/syslinux/dosutil/* %{_datadir}/syslinux/dosutil/*
%files perl
%defattr(-,root,root)
%{_mandir}/man1/lss16toppm*
%{_mandir}/man1/ppmtolss16*
%{_mandir}/man1/syslinux2ansi*
%{_bindir}/keytab-lilo
%{_bindir}/lss16toppm
%{_bindir}/md5pass
%{_bindir}/mkdiskimage
%{_bindir}/ppmtolss16
%{_bindir}/pxelinux-options
%{_bindir}/sha1pass
%{_bindir}/syslinux2ansi
%{_bindir}/isohybrid.pl
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_datadir}/syslinux/com32 %dir %{_datadir}/syslinux/com32
@ -133,8 +160,12 @@ elif [ -f /boot/extlinux.conf ]; then \
fi fi
%changelog %changelog
* Fri Aug 20 2010 Matt Domsch <mdomsch@fedoraproject.org> - 4.02-2
- add perl subpackage, move perl apps there
* Fri Aug 06 2010 Peter Jones <pjones@redhat.com> - 4.02-2 * Fri Aug 06 2010 Peter Jones <pjones@redhat.com> - 4.02-2
- Split out extlinux and tftpboot. - Split out extlinux and tftpboot.
- remove duplicate syslinux/com32/ left in base package after 3.83-2
* Thu Aug 05 2010 Peter Jones <pjones@redhat.com> - 4.02-1 * Thu Aug 05 2010 Peter Jones <pjones@redhat.com> - 4.02-1
- Update to 4.02 - Update to 4.02