syslinux-vl.spec 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. Summary: Simple kernel loader which uses a FAT ot iso9660 filesystem ot a PXE network
  2. Summary(ja): FAT/iso9660 ファイルシステムまたは PXE ネットワークを利用するシンプルなカーネルローダー
  3. Name: syslinux
  4. Version: 3.83
  5. Release: 1%{?_dist_release}
  6. License: GPL
  7. Group: Applications/System
  8. Source0: ftp://ftp.kernel.org/pub/linux/utils/boot/syslinux/%{name}-%{version}.tar.bz2
  9. URL: http://syslinux.zytor.com/
  10. ExclusiveArch: %{ix86} x86_64
  11. Buildroot: %{_tmppath}/%{name}-%{version}-root
  12. BuildPrereq: nasm, perl, netpbm-progs
  13. Requires: mtools
  14. Obsoletes: %{name}-devel
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. Packager: Daisuke SUZUKI <daisuke@linux.or.jp>
  18. %description
  19. SYSLINUX is a suite of bootloaders, currently supporting DOS FAT filesystems,
  20. Linux ext2/ext3 filesystems (EXTLINUX), PXE network boots
  21. (PXELINUX), or ISO 9660 CD-ROMs (ISOLINUX). It also includes a tool,
  22. MEMDISK, which loads legacy operating systems from these media.
  23. %description -l ja
  24. SYSLINUX はカーネルローダー集です。現在は FAT ファイルシステム、Linux の
  25. ext2/ext3 ファイルシステム(EXTLINUX)、PXE ネットワークブート (PXELINUX) および
  26. ISO 9660 CDROM (ISOLINUX) に対応しています。
  27. %prep
  28. %setup -q -n syslinux-%{version}
  29. %build
  30. make clean
  31. make installer
  32. make -C sample tidy
  33. %install
  34. rm -rf %{buildroot}
  35. mkdir -p %{buildroot}%{_bindir}
  36. mkdir -p %{buildroot}%{_sbindir}
  37. mkdir -p %{buildroot}%{_syssbindir}
  38. mkdir -p %{buildroot}%{_libdir}/syslinux
  39. mkdir -p %{buildroot}%{_includedir}
  40. make install-all \
  41. INSTALLROOT=%{buildroot} BINDIR=%{_bindir} SBINDIR=%{_syssbindir} \
  42. LIBDIR=%{_libdir} INCDIR=%{_includedir} MANDIR=%{_mandir}
  43. ln -sf %{_syssbindir}/extlinux %{buildroot}%{_sbindir}/extlinux
  44. install -m 755 linux/syslinux-nomtools %{buildroot}%{_datadir}/syslinux
  45. install -m 755 linux/syslinux %{buildroot}%{_datadir}/syslinux
  46. mkdir -p %{buildroot}/%{_docdir}/%{name}-%{version}/sample
  47. install -m 644 sample/sample.* %{buildroot}/%{_docdir}/%{name}-%{version}/sample/
  48. # don't ship libsyslinux, at least, not for now
  49. rm -f %{buildroot}%{_prefix}/lib/libsyslinux*
  50. rm -f %{buildroot}%{_includedir}/syslinux.h
  51. # don't want this for now...
  52. rm -rf %{buildroot}/boot
  53. rm -rf %{buildroot}/tftpboot
  54. %clean
  55. rm -rf $RPM_BUILD_ROOT
  56. %files
  57. %defattr(-,root,root)
  58. %doc NEWS README* TODO COPYING
  59. %doc doc/*
  60. %doc sample
  61. %{_bindir}/*
  62. %{_sbindir}/extlinux
  63. %{_syssbindir}/extlinux
  64. %{_mandir}/*/*
  65. %dir %{_datadir}/syslinux
  66. %{_datadir}/syslinux/*.com
  67. %{_datadir}/syslinux/*.exe
  68. %{_datadir}/syslinux/*.c32
  69. %{_datadir}/syslinux/*.bin
  70. %{_datadir}/syslinux/*.0
  71. %{_datadir}/syslinux/memdisk
  72. %{_datadir}/syslinux/com32
  73. %{_datadir}/syslinux/syslinux
  74. %{_datadir}/syslinux/syslinux-nomtools
  75. %changelog
  76. * Sat Nov 28 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 3.83-1
  77. - new upstream release
  78. * Fri Jun 12 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 3.82-1
  79. - new upstream release w/ bugfixes
  80. * Thu May 14 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 3.80-1
  81. - new upstream release 3.80 w/ dozens of bugfixes and new features :)
  82. * Thu Dec 11 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.63-3
  83. - add missing files to the filelist
  84. * Fri May 23 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.63-2
  85. - spec in UTF-8
  86. * Mon May 19 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.63-1
  87. - updated to new upstream release
  88. * Wed Nov 21 2007 Shu KONNO <owa@bg.wakwak.com> 3.53-0vl1
  89. - new upstream source
  90. * Wed May 18 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 3.07-0vl1
  91. - new upstream source
  92. - add extlinux
  93. - remove and obsolete syslinux-devel
  94. * Fri Dec 17 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13-0vl1
  95. - new upstream release
  96. * Fri Jun 25 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10-0vl1
  97. - new upstream release
  98. * Wed Mar 26 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.52-2vl1
  99. - rebuild for Vine Linux
  100. * Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
  101. - Bump release + rebuild.
  102. * Sat Feb 10 2001 Matt Wilson <msw@redhat.com>
  103. - 1.52
  104. * Wed Jan 24 2001 Matt Wilson <msw@redhat.com>
  105. - 1.51pre7
  106. * Mon Jan 22 2001 Matt Wilson <msw@redhat.com>
  107. - 1.51pre5
  108. * Fri Jan 19 2001 Matt Wilson <msw@redhat.com>
  109. - 1.51pre3, with e820 detection
  110. * Tue Dec 12 2000 Than Ngo <than@redhat.com>
  111. - rebuilt with fixed fileutils
  112. * Thu Nov 9 2000 Than Ngo <than@redhat.com>
  113. - update to 1.49
  114. - update ftp site
  115. - clean up specfile
  116. - add some useful documents
  117. * Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com>
  118. - add %%defattr (release 4)
  119. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  120. - automatic rebuild
  121. * Thu Jul 06 2000 Trond Eivind Glomsr藷?<teg@redhat.com>
  122. - use %%{_tmppath}
  123. - change application group (Applications/Internet doesn't seem
  124. right to me)
  125. - added BuildRequires
  126. * Tue Apr 04 2000 Erik Troan <ewt@redhat.com>
  127. - initial packaging