mt-st-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. Summary: Install mt-st if you need a tool to control tape drives.
  2. Summary(ja): テープドライブを使うためのツール
  3. Name: mt-st
  4. Version: 1.1
  5. Release: 1%{?_dist_release}
  6. License: BSD
  7. Group: Applications/System
  8. Source: ftp://metalab.unc.edu/pub/Linux/system/backup/mt-st-%{version}.tar.gz
  9. Patch0: mt-st-0.6-redhat.patch
  10. Patch1: mt-st-0.7-SDLT220.patch
  11. BuildRoot: %{_tmppath}/%{name}-root
  12. %description
  13. The mt-st package contains the mt and st tape drive management
  14. programs. Mt (for magnetic tape drives) and st (for SCSI tape devices)
  15. can control rewinding, ejecting, skipping files and blocks and more.
  16. Install mt-st if you need a tool to manage tape drives.
  17. %description -l ja
  18. mt-st パッケージは、テープドライブを使うためのプログラム mt と st が
  19. はいってます. 磁気テープデバイスには Mt, SCSI テープデバイスには st
  20. を使います。テープの巻き戻し、ファイルやブロックのスキップ、テープの
  21. 取り出しなどができます。
  22. テープドライブを操作するツールが必要でしたら、mt-st をインストールし
  23. てください.
  24. %prep
  25. %setup -q
  26. #%patch0 -p1 -b .redhat
  27. #%patch1 -p1 -b .sdlt220
  28. %build
  29. make CFLAGS="$RPM_OPT_FLAGS -Wall"
  30. %install
  31. rm -rf ${RPM_BUILD_ROOT}
  32. install -d $RPM_BUILD_ROOT/bin
  33. install -d $RPM_BUILD_ROOT/sbin
  34. install -d $RPM_BUILD_ROOT/%{_mandir}
  35. make install \
  36. BINDIR=$RPM_BUILD_ROOT/bin \
  37. SBINDIR=$RPM_BUILD_ROOT/sbin \
  38. MANDIR=$RPM_BUILD_ROOT/%{_mandir}
  39. %clean
  40. rm -rf ${RPM_BUILD_ROOT}
  41. %files
  42. %defattr(-,root,root)
  43. %doc COPYING README README.stinit stinit.def.examples
  44. /bin/mt
  45. /sbin/stinit
  46. #%{_mandir}/man1/*
  47. #%{_mandir}/man8/*
  48. %changelog
  49. * Sat Oct 04 2008 Shu KONNO <owa@bg.wakwak.com> 1.1-1vl5
  50. - updated mt-st to 1.1
  51. - applied new versioning policy, spec in utf-8
  52. * Wed Mar 27 2002 Jun Nishii <jun@vinelinux.org> 0.7-3vl1
  53. - added Japanese summary and description
  54. * Tue Feb 26 2002 Than Ngo <than@redhat.com> 0.7-3
  55. - rebuild
  56. * Wed Feb 20 2002 Bernhard Rosenkraenzer <bero@redhat.com> 0.7-2
  57. - Add density code 0x48 for Quantum SDLT220 tape drive (#59442)
  58. * Tue Feb 19 2002 Bernhard Rosenkraenzer <bero@redhat.com> 0.7-1
  59. - Update to 0.7
  60. * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
  61. - automated rebuild
  62. * Tue Apr 24 2001 Than Ngo <than@redhat.com>
  63. - update to 0.6, supports all ioctls up to kernel 2.4.0
  64. * Thu Aug 17 2000 Jeff Johnson <jbj@redhat.com>
  65. - summaries from specspo.
  66. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  67. - automatic rebuild
  68. * Wed Jun 14 2000 Jeff Johnson <jbj@redhat.com>
  69. - FHS packaging.
  70. * Sat Apr 15 2000 Jeff Johnson <jbj@redhat.com>
  71. - permit leading whitespace in config file.
  72. - cortrect spelling error.
  73. * Mon Feb 7 2000 Bill Nottingham <notting@redhat.com>
  74. - handle compressed manpages
  75. * Fri Jan 14 2000 Jeff Johnson <jbj@redhat.com>
  76. - rebuild for Red Hat 6.2.
  77. * Sun Sep 5 1999 Jeff Johnson <jbj@redhat.com>
  78. - enable "datcompression" command (#3654).
  79. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  80. - auto rebuild in the new build environment (release 3)
  81. * Wed Feb 10 1999 Preston Brown <pbrown@redhat.com>
  82. - upgrade to .5b, which fixes some cmd. line arg issues (bugzilla #18)
  83. * Thu Jul 23 1998 Jeff Johnson <jbj@redhat.com>
  84. - package for 5.2.
  85. * Sun Jul 19 1998 Andrea Borgia <borgia@cs.unibo.it>
  86. - updated to version 0.5
  87. - removed the touch to force the build: no binaries are included!
  88. - added to the docs: README.stinit, stinit.def.examples
  89. - made buildroot capable
  90. * Mon Apr 27 1998 Prospector System <bugs@redhat.com>
  91. - translations modified for de, fr, tr
  92. * Mon Oct 20 1997 Donnie Barnes <djb@redhat.com>
  93. - spec file cleanups
  94. * Thu Jun 19 1997 Erik Troan <ewt@redhat.com>
  95. - built against glibc