xgraph-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. Summary: xgraph - 2D data plotting program
  2. Summary(ja): 2次元データプロッタ−
  3. Name: xgraph
  4. Version: 12.1
  5. Release: 3%{?_dist_release}
  6. #Source: ftp:://shambhala.Berkeley.EDU/pub/xgraph-11.3.2.tar.gz
  7. URL: http://www.isi.edu/nsnam/xgraph/index.html
  8. Source: %{name}-%{version}.tar.bz2
  9. Patch0: %{name}-%{version}-color1.patch
  10. Patch1: %{name}-man.patch
  11. Patch2: %{name}-%{version}-h9a.diff
  12. License: distributable
  13. Group: Applications/Engineering
  14. Buildroot: %{_tmppath}/%{name}-root
  15. Prefix: %{_prefix}
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. %description
  19. Xgraph is a two-dimensional plotting program that accepts data in a
  20. form similar to the Unix program "graph" and displays line graphs,
  21. scatter plots, or bar charts on an X11 display. These graphs are
  22. fully annotated with a title, axis numbering and labels, and a legend.
  23. Zooming in on regions of a graph is supported. The program can
  24. generate hardcopy output to Postscript printers and HPGL plotters.
  25. This package contains PSCOLOR patches.
  26. Install xgraph if you need a simple 2D scientific data
  27. viewer package.
  28. %description -l ja
  29. xgraph は科学技術分野に於いて伝統的に使われて来た2次元データ
  30. プロッターです。このパッケージでは機能拡張 (color PostScript)
  31. がなされています。
  32. 2次元のデータを手軽に視覚化したい場合は xgraph をインストールして下さい。
  33. %prep
  34. %setup
  35. %patch0 -p1 -b .colorPS
  36. mv %{name}.man %{name}.1
  37. %patch1 -p0 -b .man
  38. %patch2 -p1 -b .h9a
  39. aclocal
  40. automake -a
  41. autoconf
  42. %build
  43. %configure
  44. make DEFS="$DEFS -DPS_COLOR"
  45. %install
  46. rm -rf $RPM_BUILD_ROOT
  47. mkdir -p $RPM_BUILD_ROOT/%{_bindir} $RPM_BUILD_ROOT/%{_mandir}/man1
  48. make DESTDIR=$RPM_BUILD_ROOT install
  49. %clean
  50. rm -rf $RPM_BUILD_ROOT
  51. %files
  52. %defattr(-,root,root)
  53. %doc README*
  54. %doc examples/*.xg
  55. %{_bindir}/xgraph
  56. %{_mandir}/man1/xgraph.1*
  57. %changelog
  58. * Tue Oct 07 2008 KOBAYASHI Taizo <tkoba@vinelinux.org> 12.1-3
  59. - applied new versioning policy
  60. * Fri Jul 21 2006 KOBAYASHI Taizo <tkoba@vinelinux.org> 12.1-2vl5
  61. - fix h9 patch
  62. * Thu Oct 28 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 12.1-2vl4
  63. - modified hack9 patch for 12.1
  64. * Wed Mar 10 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 12.1-2vl3
  65. - rebuild
  66. * Wed Aug 13 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 12.1-2vl2
  67. - fixed ColorPS patch
  68. * Mon Jun 24 2002 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 12.1-2vl1
  69. - update original sources
  70. - modified ColorPS patch and fixed color series
  71. * Wed Feb 13 2002 KOBAYASHI R. Taizo <tkoba@vinelinux.org>
  72. - fixed colorPS patch
  73. - fixed Group: section (by sagami@mwc.biglobe.ne.jp [VineSeed:05647])
  74. - rebuild on XF86-4
  75. * Mon Jan 15 2002 KOBAYASHI R. Taizo <tkoba@vinelinux.org>
  76. - fixed mark5 ps output.
  77. * Sat Dec 08 2001 KOBAYASHI R. Taizo <tkoba@vinelinux.org>
  78. - applied
  79. hack9 : http://www.goice.co.jp/member/mo/hack-progs/xgraph.html
  80. color PS : http://zeus.c.oka-pu.ac.jp/~watanabe/Solaris/xgraph.html
  81. geometry fix : http://www.imc.im.hiroshima-cu.ac.jp/~sakapon/prog/
  82. svga, colorPS option
  83. - first release