mtools-vl.spec 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  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.23
  5. Release: 1%{?_dist_release}
  6. Group: Applications/System
  7. License: GPL
  8. URL: http://mtools.linux.lu/
  9. Source: https://ftp.gnu.org/gnu/mtools/mtools-%{version}.tar.gz
  10. Patch0: mtools-3.9.6-config.patch
  11. Patch3: mtools-3.9.7-bigdisk.patch
  12. Patch4: mtools-3.9.9-noargs.patch
  13. BuildRoot: %{_tmppath}/mtools-%{version}-root
  14. Requires(pre): 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 %{_smp_mflags}
  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. %license COPYING
  56. %doc Changelog README Release.notes
  57. %{_bindir}/*
  58. %{_mandir}/*/*
  59. %{_infodir}/*
  60. %changelog
  61. * Fri Mar 20 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.23-1
  62. - new upstream release.
  63. * Sun Dec 01 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.0.18-1
  64. - new upstream release
  65. * Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 4.0.10-2
  66. - rebuilt with rpm-4.8.1-3
  67. * Mon Apr 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0.10-1
  68. - new upstream release
  69. - spec in utf-8
  70. * Tue May 13 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 3.9.11-1
  71. - new upstream release
  72. - apply new versioning policy
  73. * Sat Sep 23 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 3.9.10-0vl1
  74. - new upstream release
  75. * Sat Jan 4 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.9.9-6vl1
  76. - based on Fedora 3.9.9-6
  77. * Tue Dec 9 2003 Tim Waugh <twaugh@redhat.com> 3.9.9-5
  78. - Fix mistaken variable assignment in comparison (bug #110823).
  79. * Thu Nov 27 2003 Tim Waugh <twaugh@redhat.com>
  80. - Build requires texinfo (bug #111000).
  81. * Wed May 16 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.9.7-6
  82. - Fix support for disks > 1.44 MB (#40857)
  83. - s/Copyright/License/
  84. - rebuild with new toolchains
  85. * Wed Feb 20 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 3.9.7-5vl2
  86. - rebuild to remove bad requires (rpmlib)
  87. * Sun May 27 2001 <sagami@vinelinux.org>
  88. - 3.9.7-5vl1: added Japanese summary and description
  89. * Tue May 8 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.9.7-5
  90. - Update to 20010507
  91. * Wed Jan 10 2001 Bernhard Rosenkraenzer <bero@redhat.com>
  92. - Apply the author's current patches, fixes among other things
  93. ZIP drive support and doesn't crash when trying to access a BSD disk
  94. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  95. - automatic rebuild
  96. * Sat Jun 17 2000 Trond Eivind Glomsrod <teg@redhat.com>
  97. - specify ownership
  98. * Wed Jun 07 2000 Trond Eivind Glomsrナ <teg@redhat.com>
  99. - Version 3.9.7
  100. - use %%{_mandir}, %%{_makeinstall}, %%configure, %%makeinstall
  101. and %%{_tmppath}
  102. * Wed Feb 09 2000 Cristian Gafton <gafton@redhat.com>
  103. - get rid of mtools.texi as a doc file (we have the info file)
  104. - fix config file so mtools work (#9264)
  105. - fix references to the config file to be /etc/mtools.conf
  106. * Fri Feb 4 2000 Bill Nottingham <notting@redhat.com>
  107. - expunge floppyd
  108. * Thu Feb 03 2000 Cristian Gafton <gafton@redhat.com>
  109. - man pages are compressed
  110. - fix description
  111. - version 3.9.6
  112. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  113. - auto rebuild in the new build environment (release 5)
  114. * Thu Mar 18 1999 Cristian Gafton <gafton@redhat.com>
  115. - patch to make the texi sources compile
  116. - fix the spec file group and description
  117. - fixed floppy drive sizes
  118. * Tue Dec 29 1998 Cristian Gafton <gafton@redhat.com>
  119. - build for 6.0
  120. - fixed invalid SAMPLE_FILE configuration file
  121. * Wed Sep 02 1998 Michael Maher <mike@redhat.com>
  122. - Built package for 5.2.
  123. - Updated Source to 3.9.1.
  124. - Cleaned up spec file.
  125. * Fri Apr 24 1998 Prospector System <bugs@redhat.com>
  126. - translations modified for de, fr, tr
  127. * Fri Apr 10 1998 Cristian Gafton <gafton@redhat.com>
  128. - updated to 3.8
  129. * Tue Oct 21 1997 Otto Hammersmith
  130. - changed buildroot to /var/tmp, rather than /tmp
  131. - use install-info
  132. * Mon Jul 21 1997 Erik Troan <ewt@redhat.com>
  133. - built against glibc
  134. * Thu Apr 17 1997 Erik Troan <ewt@redhat.com>
  135. - Changed sysconfdir to be /etc
  136. * Mon Apr 14 1997 Michael Fulbright <msf@redhat.com>
  137. - Updated to 3.6