This commit is contained in:
committed by
Git OBS Bridge
parent
1a6bf73616
commit
7bc51db89f
127
gnuplot.spec
127
gnuplot.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package gnuplot (Version 4.0.0)
|
||||
# spec file for package gnuplot (Version 4.2.0)
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
@@ -11,22 +11,36 @@
|
||||
# norootforbuild
|
||||
|
||||
Name: gnuplot
|
||||
BuildRequires: freetype2-devel gd-devel libjpeg-devel libpng-devel plotutils readline-devel te_ams te_latex xorg-x11-devel
|
||||
BuildRequires: cairo-devel freetype2-devel gd-devel latex2html libjpeg-devel libpng-devel pango-devel plotutils readline-devel te_ams te_latex xorg-x11-devel
|
||||
URL: http://www.gnuplot.info/
|
||||
License: BSD, Other License(s), see package
|
||||
License: BSD License and BSD-like
|
||||
Group: Productivity/Graphics/Visualization/Graph
|
||||
Autoreqprov: on
|
||||
PreReq: %install_info_prereq
|
||||
Version: 4.0.0
|
||||
Release: 20
|
||||
Version: 4.2.0
|
||||
Release: 1
|
||||
Summary: Function Plotting Utility
|
||||
Source0: gnuplot-4.0.0.tar.bz2
|
||||
Source0: gnuplot-4.2.0.tar.bz2
|
||||
Source2: gnuplot-fr.doc.bz2
|
||||
Source3: README.whynot
|
||||
Patch0: gnuplot-4.0.0.dif
|
||||
Patch1: gnuplot-4.0.0-x11ovf.dif
|
||||
Patch0: gnuplot-4.2.0.dif
|
||||
Patch1: gnuplot-4.2.0-x11ovf.dif
|
||||
Patch2: gnuplot-4.0.0-fonts.dif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{expand: %%global _exec_prefix %(type -p pkg-config &>/dev/null && pkg-config --variable prefix x11 || echo /usr/X11R6)}
|
||||
%if "%_exec_prefix" == "/usr/X11R6"
|
||||
%define _x11lib %{_exec_prefix}/%{_lib}
|
||||
%define _x11data %{_exec_prefix}/lib/X11
|
||||
%define _libx11 %{_x11data}
|
||||
%define _x11inc %{_x11_prefix}/include
|
||||
%define _appdef %{_x11data}/app-defaults
|
||||
%else
|
||||
%define _x11lib %{_libdir}
|
||||
%define _x11data %{_datadir}/X11
|
||||
%define _libx11 %{_exec_prefix}/lib/X11
|
||||
%define _x11inc %{_includedir}
|
||||
%define _appdef %{_x11data}/app-defaults
|
||||
%endif
|
||||
|
||||
%description
|
||||
GNUplot is a command line driven interactive function plotting utility.
|
||||
@@ -73,8 +87,8 @@ test $? -eq 0 || exit 1
|
||||
--datadir=/usr/share/gnuplot \
|
||||
--with-gcc \
|
||||
--with-x \
|
||||
--x-includes=/usr/X11R6/include \
|
||||
--x-libraries=/usr/X11R6/%_lib \
|
||||
--x-includes=%{_x11inc} \
|
||||
--x-libraries=%{_x11lib} \
|
||||
--with-readline=gnu \
|
||||
--enable-history-file \
|
||||
--with-linux-vga \
|
||||
@@ -83,6 +97,8 @@ test $? -eq 0 || exit 1
|
||||
--with-zlib \
|
||||
--with-gd \
|
||||
--enable-thin-splines \
|
||||
--without-row-help \
|
||||
--with-kpsexpand \
|
||||
--with-plot=/usr/%lib
|
||||
make -f Makefile
|
||||
pushd docs/
|
||||
@@ -97,14 +113,18 @@ test $? -eq 0 || exit 1
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
make DESTDIR=$RPM_BUILD_ROOT xresourcedir=%{_appdef} install
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_infodir}
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/gnuplot/doc
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/gnuplot/doc/html
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/gnuplot/demo
|
||||
rm -vf docs/htmldocs/*.pl
|
||||
rm -vf docs/htmldocs/WARNINGS
|
||||
rm -rvf demo/html
|
||||
install -m 0444 docs/*.info* $RPM_BUILD_ROOT/%{_infodir}/
|
||||
install -m 0444 docs/*.pdf $RPM_BUILD_ROOT/%{_docdir}/gnuplot/doc/
|
||||
install -m 0444 docs/gpcard.ps $RPM_BUILD_ROOT/%{_docdir}/gnuplot/doc/
|
||||
install -m 0444 docs/*.html $RPM_BUILD_ROOT/%{_docdir}/gnuplot/doc/
|
||||
install -m 0444 docs/htmldocs/* $RPM_BUILD_ROOT/%{_docdir}/gnuplot/doc/html
|
||||
install -m 0444 docs/psdoc/*.pdf $RPM_BUILD_ROOT/%{_docdir}/gnuplot/doc/
|
||||
install -m 0444 docs/psdoc/*.ps $RPM_BUILD_ROOT/%{_docdir}/gnuplot/doc/
|
||||
install -m 0444 docs/psdoc/*.gpi $RPM_BUILD_ROOT/%{_docdir}/gnuplot/doc/
|
||||
@@ -136,8 +156,79 @@ test $? -eq 0 || exit 1
|
||||
%doc %{_infodir}/%{name}.info.gz
|
||||
%doc %{_mandir}/man1/gnuplot.1.gz
|
||||
/usr/share/gnuplot
|
||||
/usr/share/texmf/tex/latex/gnuplot/
|
||||
%{_appdef}/Gnuplot.app-defaults
|
||||
|
||||
%changelog -n gnuplot
|
||||
%changelog
|
||||
* Thu Apr 05 2007 - werner@suse.de
|
||||
- Update to gnuplot 4.2.0
|
||||
* NEW autogenerated read-only variables prefixed GPVAL_ and "show variables all"
|
||||
* NEW Japanese language documentation - FAQ and User Manual
|
||||
* NEW multi-platform and interactive wxWidgets terminal
|
||||
* NEW windows terminal supports enhanced text mode
|
||||
* NEW support for placement of individual rectangles within plot or canvas
|
||||
* NEW command "set style increment user" allows customization of default lines
|
||||
* NEW commands raise and lower
|
||||
* NEW y and y2 axis label rotation can be explicitly controlled (2D plots only)
|
||||
* NEW {no}enhanced flag can be applied to individual labels
|
||||
* NEW suboption 'set pm3d interpolate' for bilinear interpolation of surfaces
|
||||
* NEW 3D plots can read RGB color triples as part of input data
|
||||
* NEW write command history file also for gnuplot's readline
|
||||
* NEW more versatile key placement and arrangement
|
||||
* NEW 'splot x*y with pm3d' no longer requires prior 'set pm3d'
|
||||
* NEW store a sequence of plots to an animated gif (requires libgd > 2.0.28)
|
||||
* NEW multi-byte font support in x11, controlled by the locale setting LC_CTYPE
|
||||
* NEW control decimal sign conventions using locale setting LC_NUMERIC
|
||||
* NEW pstex, pslatex and epslatex terminals share functionality with postscript
|
||||
* NEW suboptions "set pm3d corners2color min|max"
|
||||
* NEW suboption "set pm3d depthorder" does hidden-surface removal (sort of)
|
||||
* NEW linetype colors via "lt {palette {frac <val> | cb <val>}}"
|
||||
* NEW linetype colors via "lt {rgbcolor {"name" | "#RRGGBB"}}"
|
||||
* NEW palette and rgb linetype colors apply to all 2D and 3D plot elements
|
||||
* NEW user defined variables can contain strings
|
||||
* NEW expression evaluation can manipulate and return strings
|
||||
* NEW built-in string functions sprintf, gprintf, substr, strstrt, word, words
|
||||
* NEW built-in string function system("shell command")
|
||||
* NEW command line macro expansion @<stringvariablename>
|
||||
* NEW automatic variable $# expanded to number of arguments after "call"
|
||||
* NEW reading of (almost) arbitrary image binary files
|
||||
* NEW plot styles "with image" and "with rgbimage"
|
||||
* NEW plot style "with labels" reads text data along with X/Y/Z coordinates
|
||||
* NEW plot style "with histograms" creates clustered or stacked histograms
|
||||
* NEW auto-layout of multiplot using "set multiplot layout <rows>, <cols>"
|
||||
* NEW variant of plot "with filledcurves" that fills the area between two curves
|
||||
* NEW variant of "with filledcurves" that fills only above or below the curve
|
||||
* NEW using options {x|y|z}ticlabels(<col>)
|
||||
* NEW option to read plot title from data file: set key autotitle columnheader
|
||||
* NEW command 'set termoption <foo>' changes single property of current terminal
|
||||
* NEW png driver supports antialiasing and TrueColor images
|
||||
* NEW encoding koi8-u
|
||||
* NEW plot style "with vectors" applies to both 2D and 3D plots
|
||||
* NEW plot style "with points" can read variable point size from input file
|
||||
* NEW "set tics" can change most settings for {x|y|z|cb}tics at once
|
||||
* NEW tic scale can be set per axis using "set {x|y|z|cb}tics scale"
|
||||
* CHANGE history file is written by default
|
||||
* CHANGE PostScript prolog and character encoding files now maintained separately
|
||||
* CHANGE Placement of z-axis label in 3D plots is now equivalent to x and y axes
|
||||
* CHANGE "set ticsscale" is deprecated, use "set tics scale" instead
|
||||
* CHANGE gnuplot on x11 has mousing always enabled on startup
|
||||
* CHANGE 'set datafile fortran' is now required in order to read D or Q constants
|
||||
* CHANGE let the string in '{s}plot ... notitle "string"' be silently ignored
|
||||
* CHANGE libgd versions 2.0.28+ support GIF images as well as PNG/JPEG
|
||||
* CHANGE remove old (non-libgd) GIF and PNG drivers
|
||||
* CHANGE X-resource gnuplot*ctrlq:on requires <ctrl>q to kill plot window
|
||||
* CHANGE X-resource gnuplot*exportselection:off disables plot->clipboard export
|
||||
* CHANGE prefer use of offset keyword in 'set [xyz]label "foo" offset -1,-1'
|
||||
* CHANGE 'set table "outfile"; ...; unset table' replaces 'set term table'
|
||||
* CHANGE 'defined(foo)' is deprecated; new syntax is 'exists("foo")'
|
||||
* FIXED empty datafiles are not a fatal error
|
||||
* FIXED setenv GNUTERM now works for png, jpeg, and gif drivers
|
||||
* FIXED PostScript output can be restricted to Level 1 compatible features
|
||||
* FIXED emf output is compatible with MSWin XP SP 2
|
||||
* FIXED limit size of X11 requests to half the maximum allowed by the X display
|
||||
* FIXED arrowheads drawn in solid lines even if the shaft is dotted (PostScript)
|
||||
* FIXED estimate true effective length of strings in enhanced text mode
|
||||
* FIXED clipping of filled curves
|
||||
* Wed Aug 16 2006 - sndirsch@suse.de
|
||||
- gnuplot-4.0.0-fonts.dif: fixed font paths for X.Org 7
|
||||
* Tue Jan 31 2006 - werner@suse.de
|
||||
@@ -226,7 +317,7 @@ test $? -eq 0 || exit 1
|
||||
* Mon May 03 1999 - werner@suse.de
|
||||
- Do not use system time because gnuplot interface isn't able
|
||||
to handle summer time
|
||||
- Use /tmp/ for temporaray files of demos
|
||||
- Use /tmp/ for temporaray files of demos
|
||||
* Wed Mar 10 1999 - werner@suse.de
|
||||
- Fix from one of the authors (HBB) to avoid buffer overflow
|
||||
* Tue Mar 09 1999 - werner@suse.de
|
||||
@@ -247,12 +338,12 @@ test $? -eq 0 || exit 1
|
||||
- New version: 3.5beta6.336
|
||||
* Mon Feb 03 1997 - werner@suse.de
|
||||
- Update auf Version 3.5-beta-3.6pl319
|
||||
- Diese Version hat splines und bezier zum Fit für
|
||||
- Diese Version hat splines und bezier zum Fit für
|
||||
von Messdaten.
|
||||
- verschoben von ap1 -> xap1
|
||||
- verschoben von ap1 -> xap1
|
||||
* Thu Jan 02 1997 - werner@suse.de
|
||||
- Neu Erstellen des Paketes:
|
||||
Mit vollständiger Dokumentation und Beispielen
|
||||
unter /usr/doc/packages/gnuplot/
|
||||
- fig und bfig (xfig-Format 2.1)
|
||||
- fig und bfig (xfig-Format 2.1)
|
||||
wird von xfig in xfig-Format 3.2 konvertiert.
|
||||
|
||||
Reference in New Issue
Block a user