mtools-vl.spec 5.1 KB

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