dosfstools-vl.spec 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. Name: dosfstools
  2. Summary: Utilities for making and checking MS-DOS FAT filesystems on Linux.
  3. Summary(ja): LinuxでMS-DOS FAT filesystemsを作成/チェックするユーティリティ
  4. Version: 2.11
  5. Release: 6%{?_dist_release}
  6. License: GPL
  7. Group: Applications/System
  8. Source: ftp://ibiblio.org/pub/Linux/system/filesystems/dosfs/dosfstools-%{version}.src.tar.gz
  9. Patch1: dosfstools-2.7-argfix.patch
  10. Patch2: dosfstools-2.11-assumeKernel26.patch
  11. Patch4: dosfstools-2.11-fortify.patch
  12. BuildRoot: %{_tmppath}/%{name}-root
  13. Obsoletes: mkdosfs-ygg
  14. %description
  15. The dosfstools package includes the mkdosfs and dosfsck utilities,
  16. which respectively make and check MS-DOS FAT filesystems on hard
  17. drives or on floppies.
  18. %description -l ja
  19. dosfstools パッケージには mkdosfs と dosfsck のユーティリティが含まれ、
  20. それぞれハードドライブやフロッピーにおける MS-DOS FAT ファイルシステムの
  21. 作成とチェックを行います。
  22. %prep
  23. %setup -q
  24. %patch1 -p1 -b .argfix
  25. %patch2 -p1 -b .assumeKernel26
  26. %patch4 -p1 -b .fortify
  27. %build
  28. make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
  29. %install
  30. rm -rf %{buildroot}
  31. mkdir -p %{buildroot}%{_syssbindir}
  32. mkdir -p %{buildroot}/%{_mandir}/man8
  33. install -m755 -s mkdosfs/mkdosfs %{buildroot}%{_syssbindir}/mkdosfs
  34. ln %{buildroot}%{_syssbindir}/mkdosfs %{buildroot}%{_syssbindir}/mkfs.msdos
  35. ln %{buildroot}%{_syssbindir}/mkdosfs %{buildroot}%{_syssbindir}/mkfs.vfat
  36. install -m755 -s dosfsck/dosfsck %{buildroot}%{_syssbindir}/dosfsck
  37. ln %{buildroot}%{_syssbindir}/dosfsck %{buildroot}%{_syssbindir}/fsck.msdos
  38. ln %{buildroot}%{_syssbindir}/dosfsck %{buildroot}%{_syssbindir}/fsck.vfat
  39. install -m 644 mkdosfs/mkdosfs.8 %{buildroot}%{_mandir}/man8
  40. ln -sf mkdosfs.8.gz %{buildroot}%{_mandir}/man8/mkfs.msdos.8.gz
  41. ln -sf mkdosfs.8.gz %{buildroot}%{_mandir}/man8/mkfs.vfat.8.gz
  42. install -m 644 dosfsck/dosfsck.8 %{buildroot}%{_mandir}/man8
  43. ln -sf dosfsck.8.gz %{buildroot}%{_mandir}/man8/fsck.msdos.8.gz
  44. ln -sf dosfsck.8.gz %{buildroot}%{_mandir}/man8/fsck.vfat.8.gz
  45. # Prepare for packed documents
  46. cp -p dosfsck/CHANGES CHANGES.dosfsck
  47. cp -p dosfsck/COPYING COPYING.dosfsck
  48. cp -p dosfsck/README README.dosfsck
  49. cp -p mkdosfs/ANNOUNCE ANNOUNCE.mkdosfs
  50. cp -p mkdosfs/COPYING COPYING.mkdosfs
  51. cp -p mkdosfs/ChangeLog ChangeLog.mkdosfs
  52. cp -p mkdosfs/README README.mkdosfs
  53. %clean
  54. rm -rf %{buildroot}
  55. %files
  56. %defattr(-,root,root)
  57. %doc *.dosfsck *.mkdosfs
  58. %{_syssbindir}/*
  59. %{_mandir}/man8/*
  60. %changelog
  61. * Sat Jul 26 2008 Shu KONNO <owa@bg.wakwak.com> 2.11-6vl5
  62. - applied new versioning policy and spec in utf-8
  63. * Wed Jun 7 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.11-5vl1
  64. - updated to 2.11 based on Fedora development
  65. * Thu May 11 2006 Peter Vrabec <pvrabec@redhat.com> 2.11-5
  66. - fix work with disk image files > 4GB (#191198)
  67. * Wed Oct 12 2005 Peter Vrabec <pvrabec@redhat.com> 2.11-1
  68. - upgrade
  69. - fixed %doc section
  70. * Sun Feb 9 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8-4vl1
  71. - merged with Vine Linux package based on rawhide package.
  72. - rebuild on new environment.
  73. * Sun Mar 31 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.8-0vl3
  74. - fixed typo (s/dosfcsk/dosfsck/)
  75. * Tue Feb 05 2002 Toru Sagami <sagami@vinelinux.org> 2.8-0vl2
  76. - added fsck.msdos.8 symlink
  77. * Thu Aug 02 2001 Toru Sagami <sagami@vinelinux.org>
  78. - 2.8-0vl1
  79. * Sat Feb 17 2001 Toru Sagami <czs14350@mb.infoweb.ne.jp>
  80. - 2.7-0vl1
  81. * Sun Jan 21 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  82. - 2.6-0vl2
  83. - use better macros (%%{_syssbidir})
  84. - fixed incorrect symlink to dosfsck :-)
  85. * Sun Jan 14 2001 Toru Sagami <czs14350@mb.infoweb.ne.jp>
  86. - 2.6-0vl1
  87. - based on 2.2-4 in RedHat 6.2
  88. - added Japanese summary and description
  89. - use macros and add some docs
  90. * Thu Dec 12 2002 Elliot Lee <sopwith@redhat.com> 2.8-4
  91. - Patch2 for errno
  92. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  93. - automated rebuild
  94. * Thu May 23 2002 Tim Powers <timp@redhat.com>
  95. - automated rebuild
  96. * Thu Mar 07 2002 Florian La Roche <Florian.LaRoche@redhat.de>
  97. - update to version 2.8
  98. * Fri Jul 6 2001 Preston Brown <pbrown@redhat.com>
  99. - major upgrade to v2.7.
  100. - forward port old ia64 patch (now incorporated) s390 additions
  101. * Tue Mar 20 2001 Oliver Paukstadt <oliver.paukstadt@millenux.com>
  102. - ported to zSeries (64 bit)
  103. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  104. - automatic rebuild
  105. * Fri Jun 17 2000 Bill Nottingham <notting@redhat.com>
  106. - hard link mkdosfs
  107. * Thu Jun 15 2000 Matt Wilson <msw@redhat.com>
  108. - FHS
  109. - patch to build against 2.4 kernel headers (patch3)
  110. * Fri Apr 28 2000 Bill Nottingham <notting@redhat.com>
  111. - fix for ia64
  112. * Thu Feb 3 2000 Matt Wilson <msw@redhat.com>
  113. - remove mkdosfs.8 symlink, symlink mkdosfs.8.gz to mkfs.msdos.8.gz
  114. * Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
  115. - fix descriptions and summary
  116. - man pages are compressed
  117. * Thu Dec 16 1999 Cristian Gafton <gafton@redhat.com>
  118. - fix the 2.88MB drives (patch from hjl)
  119. * Mon Aug 16 1999 Matt Wilson <msw@redhat.com>
  120. - updated to 2.2
  121. * Sun Jun 27 1999 Matt Wilson <msw@redhat.com>
  122. - changed to new maintainer, renamed to dosfstools
  123. * Sat Apr 17 1999 Jeff Johnson <jbj@redhat.com>
  124. - fix mkdosfs on sparc (#1746)
  125. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  126. - auto rebuild in the new build environment (release 10)
  127. * Thu Jan 21 1999 Bill Nottingham <notting@redhat.com>
  128. - build for RH 6.0
  129. * Tue Oct 13 1998 Cristian Gafton <gafton@redhat.com>
  130. - avoid using unsinged long on alphas
  131. * Sun Aug 16 1998 Jeff Johnson <jbj@redhat.com>
  132. - build root
  133. * Mon Apr 27 1998 Prospector System <bugs@redhat.com>
  134. - translations modified for de, fr, tr
  135. * Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
  136. - built against glibc