mtools-vl.spec 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. Summary: Programs for accessing MS-DOS disks without mounting the disks.
  2. Summary(ja): mount せずに MS-DOS disk にアクセスするためのプログラム
  3. Name: mtools
  4. Version: 4.0.10
  5. Release: 1%{?_dist_release}
  6. License: GPL
  7. Group: Applications/System
  8. Source: http://mtools.linux.lu/mtools-%{version}.tar.bz2
  9. URL: http://mtools.linux.lu/
  10. Buildroot: %{_tmppath}/mtools-%{version}-root
  11. Patch0: mtools-3.9.6-config.patch
  12. Patch3: mtools-3.9.7-bigdisk.patch
  13. Patch4: mtools-3.9.9-noargs.patch
  14. PreReq: install-info
  15. BuildRequires: texinfo
  16. %description
  17. Mtools is a collection of utilities for accessing MS-DOS files.
  18. Mtools allow you to read, write and move around MS-DOS filesystem
  19. files (normally on MS-DOS floppy disks). Mtools supports Windows95
  20. style long file names, OS/2 XDF disks, and 2m disks.
  21. Mtools should be installed if you need to use MS-DOS disks.
  22. %description -l ja
  23. mtool は MS-DOS ファイルにアクセスするためのユーティリティの集合体
  24. です。mtools は MS-DOS ファイルシステム(通常は MS-DOS ディスク)にお
  25. いて、読み出し、書きこみ、移動をすることができます。Windows95 の長
  26. いファイル名、OS/2 の XDF ディスク、2m ディスクをサポートします。
  27. MS-DOS ディスクを使う必要があるならインストールしてください。
  28. %prep
  29. %setup -q
  30. %patch0 -p1 -b .config
  31. %patch3 -p1 -b .big
  32. %patch4 -p1 -b .nooargs
  33. %build
  34. %configure
  35. make
  36. %install
  37. rm -rf $RPM_BUILD_ROOT
  38. mkdir -p $RPM_BUILD_ROOT/etc $RPM_BUILD_ROOT/%{_infodir}
  39. %makeinstall
  40. install -m644 mtools.conf $RPM_BUILD_ROOT/etc
  41. gzip -9f $RPM_BUILD_ROOT/%{_infodir}/*
  42. # We aren't shipping this.
  43. find $RPM_BUILD_ROOT -name "floppyd*" -exec rm {} \;
  44. %clean
  45. rm -rf $RPM_BUILD_ROOT
  46. %post
  47. /sbin/install-info %{_infodir}/mtools.info.gz %{_infodir}/dir
  48. %preun
  49. if [ "$1" = 0 ]; then
  50. /sbin/install-info --delete %{_infodir}/mtools.info.gz %{_infodir}/dir
  51. fi
  52. %files
  53. %defattr(-,root,root)
  54. %config /etc/mtools.conf
  55. %doc COPYING Changelog README Release.notes
  56. %{_bindir}/*
  57. %{_mandir}/*/*
  58. %{_infodir}/*
  59. %changelog
  60. * Mon Apr 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0.10-1
  61. - new upstream release
  62. - spec in utf-8
  63. * Tue May 13 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 3.9.11-1
  64. - new upstream release
  65. - apply new versioning policy
  66. * Sat Sep 23 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 3.9.10-0vl1
  67. - new upstream release
  68. * Sun Jan 4 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.9.9-6vl1
  69. - based on Fedora 3.9.9-6
  70. * Tue Dec 9 2003 Tim Waugh <twaugh@redhat.com> 3.9.9-5
  71. - Fix mistaken variable assignment in comparison (bug #110823).
  72. * Thu Nov 27 2003 Tim Waugh <twaugh@redhat.com>
  73. - Build requires texinfo (bug #111000).
  74. * Wed May 16 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.9.7-6
  75. - Fix support for disks > 1.44 MB (#40857)
  76. - s/Copyright/License/
  77. - rebuild with new toolchains
  78. * Wed Feb 20 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 3.9.7-5vl2
  79. - rebuild to remove bad requires (rpmlib)
  80. * Sun May 27 2001 <sagami@vinelinux.org>
  81. - 3.9.7-5vl1: added Japanese summary and description
  82. * Tue May 8 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.9.7-5
  83. - Update to 20010507
  84. * Wed Jan 10 2001 Bernhard Rosenkraenzer <bero@redhat.com>
  85. - Apply the author's current patches, fixes among other things
  86. ZIP drive support and doesn't crash when trying to access a BSD disk
  87. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  88. - automatic rebuild
  89. * Sat Jun 17 2000 Trond Eivind Glomsrod <teg@redhat.com>
  90. - specify ownership
  91. * Wed Jun 07 2000 Trond Eivind Glomsrナ <teg@redhat.com>
  92. - Version 3.9.7
  93. - use %%{_mandir}, %%{_makeinstall}, %%configure, %%makeinstall
  94. and %%{_tmppath}
  95. * Wed Feb 09 2000 Cristian Gafton <gafton@redhat.com>
  96. - get rid of mtools.texi as a doc file (we have the info file)
  97. - fix config file so mtools work (#9264)
  98. - fix references to the config file to be /etc/mtools.conf
  99. * Fri Feb 4 2000 Bill Nottingham <notting@redhat.com>
  100. - expunge floppyd
  101. * Thu Feb 03 2000 Cristian Gafton <gafton@redhat.com>
  102. - man pages are compressed
  103. - fix description
  104. - version 3.9.6
  105. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  106. - auto rebuild in the new build environment (release 5)
  107. * Thu Mar 18 1999 Cristian Gafton <gafton@redhat.com>
  108. - patch to make the texi sources compile
  109. - fix the spec file group and description
  110. - fixed floppy drive sizes
  111. * Tue Dec 29 1998 Cristian Gafton <gafton@redhat.com>
  112. - build for 6.0
  113. - fixed invalid SAMPLE_FILE configuration file
  114. * Wed Sep 02 1998 Michael Maher <mike@redhat.com>
  115. - Built package for 5.2.
  116. - Updated Source to 3.9.1.
  117. - Cleaned up spec file.
  118. * Fri Apr 24 1998 Prospector System <bugs@redhat.com>
  119. - translations modified for de, fr, tr
  120. * Fri Apr 10 1998 Cristian Gafton <gafton@redhat.com>
  121. - updated to 3.8
  122. * Tue Oct 21 1997 Otto Hammersmith
  123. - changed buildroot to /var/tmp, rather than /tmp
  124. - use install-info
  125. * Mon Jul 21 1997 Erik Troan <ewt@redhat.com>
  126. - built against glibc
  127. * Thu Apr 17 1997 Erik Troan <ewt@redhat.com>
  128. - Changed sysconfdir to be /etc
  129. * Mon Apr 14 1997 Michael Fulbright <msf@redhat.com>
  130. - Updated to 3.6