mtools-vl.spec 5.8 KB

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