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