Plotmtv-vl.spec 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. Summary: fast multi-purpose plotting program for X11-windows
  2. Summary(ja): X11 上で動作するグラフ作成ツール
  3. Name: Plotmtv
  4. Version: 1.4.4t
  5. Release: 0vl3
  6. Source: plotmtv_1.4.4t.orig.tar.gz
  7. Patch0: Plotmtv.larger.patch
  8. Patch1: plotmtv_1.4.4t-6.diff.gz
  9. Patch2: Plotmtv_1.4.4t.larger.patch
  10. License: distributable
  11. Group: Applications/Engineering
  12. Buildroot: %{_tmppath}/%{name}-%{version}-root
  13. %description
  14. plotmtv is a fast and convenient X11 program for visual-
  15. ization of scientific data. The program reads in data in
  16. the MTVDAT format and plots each dataset in the data-file
  17. in turn. Each plot comes with a simple but functional
  18. Graphical User Interface (GUI), which allows users to zoom
  19. in or pan to areas of interest on the plot, or to toggle
  20. between 2D and 3D plots. The plots may then be sent
  21. directly to a grayscale or color PostScript printer for
  22. hard-copy output.
  23. %description -l ja
  24. plotmtv は科学データを可視可する高速で使いやすいプログラムです.
  25. MTVDATフォーマットのデータを読み込み,データファイル中の各デー
  26. タセットをプロットします.各プロットは簡単なしかし機能的なGUI
  27. で操作でき,表示エリアの選択やズーム,2D, 3D プロットの切り替え
  28. などを簡単にできます.作成したグラフはグレイスケールやカラーの
  29. プリンターに直接出力できます.
  30. %prep
  31. %setup -n %{name}%{version}
  32. %patch1 -p1
  33. %patch2 -p1
  34. %build
  35. xmkmf
  36. make World
  37. %install
  38. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  39. make DESTDIR=${RPM_BUILD_ROOT} install
  40. cd Docs/
  41. install -d ${RPM_BUILD_ROOT}/usr/X11R6/man/man1/
  42. install -m 644 plotmtv.man ${RPM_BUILD_ROOT}/usr/X11R6/man/man1/plotmtv.1x
  43. %clean
  44. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  45. %files
  46. %defattr(-,root,root)
  47. %doc README.INSTALL README.VERSION Tests/ Docs/
  48. /usr/X11R6/bin/plotmtv
  49. /usr/X11R6/bin/ctr2mtv
  50. /usr/X11R6/bin/drawplot2mtv
  51. /usr/X11R6/bin/pdraw2mtv
  52. /usr/X11R6/bin/mtv2mtv
  53. /usr/X11R6/man/man1/plotmtv.1x*
  54. %changelog
  55. * Sun Jul 11 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.4t-0vl3
  56. - s/Copyright/License/
  57. - changed Group to Applications/Engineering
  58. - fixed Buildroot to use macros
  59. * Sun May 09 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.4.4t-0vl2
  60. - modified patch0 to patch2
  61. * Sat May 08 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.4.4t-0vl1
  62. - source update from debian package
  63. * Sun Oct 15 2000 MACHINO, Satoshi <machino@vinelinux.org> 1.4.1-0vl2
  64. - fixed in %files for brp-redhat scripts
  65. * Thu Mar 9 2000 Jun Nishii <jun@vinelinux.org> 1.4.1-0vl1
  66. - build for Vine Linux 2.0
  67. * Thu Nov 5 1997 Jun NISHII <Jun NISHII>
  68. - make array size larger
  69. * Thu Oct 9 1997 Jun NISHII <Jun NISHII>
  70. - make array size large