mtools-vl.spec 5.1 KB

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