dosfstools-vl.spec 4.8 KB

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