gnuplot-vl.spec 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. %define gpmainver 4.6
  2. %define gpver %{gpmainver}.6
  3. Summary: A program for plotting mathematical expressions and data.
  4. Summary(ja): 数学系の関数やデータのプロット・プログラム
  5. Name: gnuplot
  6. Version: %{gpver}
  7. Release: 1%{?_dist_release}
  8. License: gnuplot and GPLv2
  9. Group: Applications/Engineering
  10. URL: http://gnuplot.sourceforge.net/
  11. Source: http://prdownloads.sourceforge.net/gnuplot/gnuplot-%{version}.tar.gz
  12. Patch0: gnuplot-4.6.4-font.patch
  13. # submitted upstream: http://sourceforge.net/tracker/?func=detail&aid=3558970&group_id=2055&atid=302055
  14. Patch1: gnuplot-4.6.1-xcopygc-sigsegv.patch
  15. # submitted upstream: http://sourceforge.net/tracker/?func=detail&aid=3558973&group_id=2055&atid=302055
  16. Patch2: gnuplot-4.6.1-plot-sigsegv.patch
  17. BuildRoot: %{_tmppath}/%{name}-root
  18. BuildRequires: gd-devel >= 2.0.27, libpng-devel, zlib-devel
  19. BuildRequires: libX11-devel, libXt-devel, wxGTK-devel
  20. BuildRequires: readline-devel
  21. BuildRequires: lua-devel cairo-devel pango-devel
  22. BuildRequires: libXpm-devel libjpeg-turbo-devel
  23. BuildRequires: texlive
  24. BuildRequires: texlive-common
  25. BuildRequires: texlive-collection-latexextra
  26. BuildRequires: texlive-collection-htmlxml
  27. BuildRequires: texinfo
  28. Vendor: Project Vine
  29. Distribution: Vine Linux
  30. Packager: daisuke, inagaki, shaolin
  31. %description
  32. Gnuplot is a command-line driven, interactive function plotting
  33. program especially suited for scientific data representation. Gnuplot
  34. can be used to plot functions and data points in both two and three
  35. dimensions and in many different formats.
  36. Install gnuplot if you need a graphics package for scientific data
  37. representation.
  38. %description -l ja
  39. Gnuplotはとりわけ科学データ・プレゼンテーションに適した、コマンド
  40. 操作によるインタラクティブな関数プロット・プログラムです。
  41. Gnuplotは関数や座標データを同時にプロットしたり、3次元化やさまざ
  42. まな形式で表現するのに利用することができます。
  43. 科学データプレゼンテーション用のグラフィック・パッケージが必要な
  44. 場合、gnuplotをインストールしてください。
  45. %prep
  46. %setup -q
  47. %patch0 -p1 -b .font
  48. %patch1 -p1 -b .xcopygc
  49. %patch2 -p1 -b .plot-sigsegv
  50. %build
  51. #autoreconf -f -i
  52. %ifarch alpha
  53. %define optflags -O0
  54. %endif
  55. %configure --with-readline=gnu --with-png --without-linux-vga --enable-history-file --with-tutorial
  56. make %{?_smp_mflags}
  57. make -C docs html info
  58. export GNUPLOT_PS_DIR=../../term/PostScript
  59. make -C docs/psdoc ps_symbols.ps ps_fontfile_doc.pdf
  60. rm -rf docs/htmldocs/images.idx
  61. make -C tutorial
  62. %install
  63. rm -rf %{buildroot}
  64. make install DESTDIR=%{buildroot}
  65. make -C docs install-info DESTDIR=%{buildroot} INSTALL='install -p'
  66. rm -f demo/Makefile* tutorial/Makefile*
  67. %clean
  68. rm -rf %{buildroot}
  69. %files
  70. %defattr(-,root,root)
  71. %doc demo tutorial
  72. %doc README README.1ST INSTALL Copyright
  73. %doc PATCHLEVEL VERSION BUGS ChangeLog
  74. %{_bindir}/gnuplot
  75. %{_libexecdir}/gnuplot/%{gpmainver}/*
  76. %{_datadir}/gnuplot/%{gpmainver}/*
  77. %{_datadir}/texmf/tex/latex/gnuplot
  78. %{_mandir}/man1/gnuplot.*
  79. %changelog
  80. * Sun Jan 25 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.6.6-1
  81. - update to 4.6.6
  82. * Thu Jan 16 2014 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.6.4-1
  83. - new upstream release
  84. - add Patch0, Patch1 and Patch2 (font paths, upstream fixes)
  85. - modify spec to build/install docs correctly
  86. * Wed Jul 11 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 4.4.3-2
  87. - changed BuildRequires: wx-gtk2-devel >= 2.8.12 to wxGTK-devel >= 2.8.12
  88. - added BuildRequires: libXpm-devel libjpeg-turbo-devel texlive-common
  89. * Sat Apr 16 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.3-1
  90. - update to gnuplot-4.4.3
  91. - use BR: texlive instead of tetex
  92. * Sun May 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 4.2.5-1
  93. - update to gnuplot-4.2.5
  94. - drop plus patch (merged in upstream)
  95. - update URL: to new upstream homepage
  96. - fix License:
  97. - build with wxGTK
  98. - add BR: libX11-devel, libXt-devel, wx-gtk2-devel
  99. * Sat Aug 16 2008 Shu KONNO <owa@bg.wakwak.com> 4.0.0-1vl5
  100. - applied new versioning policy, spec in utf-8
  101. * Tue Aug 22 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.0.0-0vl6
  102. - add BuildRequires: texinfo, emacsen
  103. * Sun Mar 19 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.0.0-0vl5
  104. - rebuild with readline-5.1
  105. * Wed Jun 15 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0.0-0vl4
  106. - update Patch0 to fix 'Invalid char in eps file'
  107. (thanks to HANAWA Toshihiro)
  108. - add BuildRequires: autoconf, automake
  109. * Sat Nov 20 2004 Satoshi MACHINO <machino@vinelinux.org> 4.0.0-0vl2
  110. - enabled history-file
  111. * Wed Jul 14 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 4.0.0-0vl1
  112. - source update
  113. * Wed Jul 14 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 3.8k.3-0vl1
  114. - source update
  115. - patch update and modified
  116. - add info
  117. * Wed Mar 10 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 3.7.3-2vl3
  118. - rebuild
  119. - fix license
  120. - remove -DUSE_SYSTEM_TIME ([VinePlus:01805])
  121. * Wed Apr 02 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 3.7.3-2vl2
  122. - rebuild with readline-4.3
  123. * Thu Feb 20 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 3.7.3-2vl1
  124. - syncd with RH 3.7.3-2
  125. - modified Yamaga-san's gnuplot3.7.2+1.2.0rc2.patch for 3.7.3
  126. * Fri Jan 25 2002 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 16vl1
  127. - added pathes (patch1,2) from RH
  128. * Sat Aug 25 2001 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 12vl1
  129. - syncd rawhide
  130. - updated to 3.7.1-1.2.0
  131. * Mon Jun 5 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  132. - updated to 3.7.1
  133. - updated gnuplot+ patch to 1.1.9 for gnuplot 3.7.1.
  134. - remake SPEC from rawhide.
  135. * Fri May 19 2000 Nalin Dahyabhai <nalin@redhat.com>
  136. - rebuild with new gd, changing gif terminal to jpeg terminal (release 7)
  137. * Mon May 08 2000 Preston Brown <pbrown@redhat.com>
  138. - build for 7.0
  139. * Thu Apr 6 2000 Bill Nottingham <notting@redhat.com>
  140. - use gnu readline, not built-in version
  141. * Mon Apr 3 2000 Bill Nottingham <notting@redhat.com>
  142. - add latex tutorial, demo files, other docs (#10508)
  143. * Wed Mar 1 2000 Bill Nottingham <notting@redhat.com>
  144. - update to 3.7.1. Oops.
  145. * Thu Feb 3 2000 Bill Nottingham <notting@redhat.com>
  146. - handle compressed man pages
  147. * Thu Nov 4 1999 Bill Nottingham <notting@redhat.com>
  148. - update to 3.7.1
  149. * Mon Oct 11 1999 Bill Nottingham <notting@redhat.com>
  150. - ship some docs.
  151. * Wed Aug 18 1999 Bill Nottingham <notting@redhat.com>
  152. - add a patch to fix postscript output from Bernd Kischnick
  153. (kisch@die-herrmanns.de)
  154. * Fri Jul 30 1999 Bill Nottingham <notting@redhat.com>
  155. - fix license
  156. * Thu Jul 15 1999 Bill Nottingham <notting@redhat.com>
  157. - rebuild without svgalib
  158. * Tue Jun 15 1999 Bill Nottingham <notting@redhat.com>
  159. - update to 3.7.0.1
  160. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  161. - auto rebuild in the new build environment (release 2)
  162. * Tue Feb 2 1999 Jeff Johnson <jbj@redhat.com>
  163. - update to 3.7.
  164. * Thu Dec 17 1998 Michael Maher <mike@redhat.com>
  165. - built package for 6.0
  166. * Fri Sep 11 1998 Jeff Johnson <jbj@redhat.com>
  167. - update to 2.6beta347
  168. * Sat Aug 15 1998 Jeff Johnson <jbj@redhat.com>
  169. - build root
  170. * Thu May 07 1998 Prospector System <bugs@redhat.com>
  171. - translations modified for de, fr, tr
  172. * Mon Oct 20 1997 Donnie Barnes <djb@redhat.com>
  173. - spec file cleanups
  174. * Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
  175. - built against glibc