From 5b3442c6602cbf80a947647d7ad1bf828ca92c1b Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 7 May 2019 09:25:34 -0400 Subject: [PATCH] import gnuplot-5.2.4-1.el8 --- .gitignore | 1 + .gnuplot.metadata | 1 + SOURCES/gnuplot-4.2.0-fonts.patch | 12 + SOURCES/gnuplot-4.2.0-refers_to.patch | 17 + SOURCES/gnuplot-4.6.1-plot-sigsegv.patch | 21 + SOURCES/gnuplot-4.6.4-singlethread.patch | 15 + SOURCES/gnuplot-5.0.0-lua_checkint.patch | 13 + SOURCES/gnuplot-5.2.2-doc.patch | 27 + SOURCES/gnuplot-5.2.4-cmd-opts.patch | 20 + SOURCES/gnuplot-5.2.4-no-lena.patch | 92 +++ SOURCES/gnuplot-init.el | 5 + SPECS/gnuplot.spec | 915 +++++++++++++++++++++++ 12 files changed, 1139 insertions(+) create mode 100644 .gitignore create mode 100644 .gnuplot.metadata create mode 100644 SOURCES/gnuplot-4.2.0-fonts.patch create mode 100644 SOURCES/gnuplot-4.2.0-refers_to.patch create mode 100644 SOURCES/gnuplot-4.6.1-plot-sigsegv.patch create mode 100644 SOURCES/gnuplot-4.6.4-singlethread.patch create mode 100644 SOURCES/gnuplot-5.0.0-lua_checkint.patch create mode 100644 SOURCES/gnuplot-5.2.2-doc.patch create mode 100644 SOURCES/gnuplot-5.2.4-cmd-opts.patch create mode 100644 SOURCES/gnuplot-5.2.4-no-lena.patch create mode 100644 SOURCES/gnuplot-init.el create mode 100644 SPECS/gnuplot.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6a1a702 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/gnuplot-5.2.4-clean.tar.gz diff --git a/.gnuplot.metadata b/.gnuplot.metadata new file mode 100644 index 0000000..59f7951 --- /dev/null +++ b/.gnuplot.metadata @@ -0,0 +1 @@ +3117a8815a74a68cda7e81296a538b3bf1d5fa62 SOURCES/gnuplot-5.2.4-clean.tar.gz diff --git a/SOURCES/gnuplot-4.2.0-fonts.patch b/SOURCES/gnuplot-4.2.0-fonts.patch new file mode 100644 index 0000000..2b197a0 --- /dev/null +++ b/SOURCES/gnuplot-4.2.0-fonts.patch @@ -0,0 +1,12 @@ +diff -up gnuplot-4.4.0/term/gd.trm.pom gnuplot-4.4.0/term/gd.trm +--- gnuplot-4.4.0/term/gd.trm.pom 2010-02-25 03:29:20.000000000 +0100 ++++ gnuplot-4.4.0/term/gd.trm 2010-08-17 09:51:22.000000000 +0200 +@@ -978,7 +978,7 @@ PNG_options() + if (external_default) + png_state.ttffont = gp_strdup(external_default); + else /* Might as well try some plausible font; it's no worse than failing immediately */ +- png_state.ttffont = gp_strdup("arial"); ++ png_state.ttffont = gp_strdup("/usr/share/fonts/dejavu/DejaVuSans.ttf"); + + free(png_state.default_ttffont); + png_state.default_ttffont = gp_strdup(png_state.ttffont); diff --git a/SOURCES/gnuplot-4.2.0-refers_to.patch b/SOURCES/gnuplot-4.2.0-refers_to.patch new file mode 100644 index 0000000..8e4e1c2 --- /dev/null +++ b/SOURCES/gnuplot-4.2.0-refers_to.patch @@ -0,0 +1,17 @@ +diff -up gnuplot-4.2.2/src/variable.c.refto gnuplot-4.2.2/src/variable.c +--- gnuplot-4.2.2/src/variable.c.refto 2006-06-27 04:36:30.000000000 +0200 ++++ gnuplot-4.2.2/src/variable.c 2007-10-25 14:04:20.000000000 +0200 +@@ -263,8 +263,11 @@ static const struct path_table fontpath_ + { "$`kpsexpand '$TEXMFDIST'`/fonts/type1!" }, + #endif + /* Linux paths */ +- { "/usr/X11R6/lib/X11/fonts/Type1" }, +- { "/usr/X11R6/lib/X11/fonts/truetype" }, ++ { "/usr/share/fonts/default/ghostscript/" }, ++ { "/usr/share/fonts/default/Type1/" }, ++ { "/usr/share/fonts/bitstream-vera/" }, ++ { "/usr/share/fonts/dejavu-lgc" }, ++ { "/usr/share/fonts/liberation" }, + /* HP-UX */ + { "/usr/lib/X11/fonts!"}, + /* Ghostscript */ diff --git a/SOURCES/gnuplot-4.6.1-plot-sigsegv.patch b/SOURCES/gnuplot-4.6.1-plot-sigsegv.patch new file mode 100644 index 0000000..6ce2451 --- /dev/null +++ b/SOURCES/gnuplot-4.6.1-plot-sigsegv.patch @@ -0,0 +1,21 @@ +diff -upr gnuplot-4.6.0.orig/src/gplt_x11.c gnuplot-4.6.0/src/gplt_x11.c +--- gnuplot-4.6.0.orig/src/gplt_x11.c 2012-07-18 18:55:31.000000000 +0200 ++++ gnuplot-4.6.0/src/gplt_x11.c 2012-07-19 12:08:21.177967583 +0200 +@@ -4338,7 +4338,7 @@ process_event(XEvent *event) + #endif /* DISABLE_SPACE_RAISES_CONSOLE */ + + case 'm': /* Toggle mouse display, but only if we control the window here */ +- if (((plot != current_plot) && (!modifier_mask)) ++ if ((plot && (plot != current_plot) && (!modifier_mask)) + #ifdef PIPE_IPC + || pipe_died + #endif +@@ -4374,7 +4374,7 @@ process_event(XEvent *event) + gp_exec_event(GE_keypress, \ + (int)RevX(event->xkey.x), (int)RevY(event->xkey.y), \ + gp_keysym, 0, plot->plot_number); \ +- } else { \ ++ } else if (plot) { \ + gp_exec_event(GE_keypress_old, \ + (int)RevX(event->xkey.x), (int)RevY(event->xkey.y), \ + gp_keysym, 0, plot->plot_number); \ diff --git a/SOURCES/gnuplot-4.6.4-singlethread.patch b/SOURCES/gnuplot-4.6.4-singlethread.patch new file mode 100644 index 0000000..f492d50 --- /dev/null +++ b/SOURCES/gnuplot-4.6.4-singlethread.patch @@ -0,0 +1,15 @@ +diff -up wrk/src/wxterminal/wxt_gui.h.wrk wrk/src/wxterminal/wxt_gui.h +--- wrk/src/wxterminal/wxt_gui.h.wrk 2014-04-15 17:45:55.184153975 +0200 ++++ wrk/src/wxterminal/wxt_gui.h 2014-04-15 17:48:08.151643628 +0200 +@@ -155,8 +155,9 @@ extern "C" { + * already has its event loop, we may or may not be multithreaded */ + #ifndef WXT_MONOTHREADED + #if defined(__WXGTK__) +-# define WXT_MULTITHREADED +-#elif defined(__WXMSW__) || defined(__WXMAC__) ++//avoid a crash when unlocking a not-locked mutex, do not use threads ++//# define WXT_MULTITHREADED ++//#elif defined(__WXMSW__) || defined(__WXMAC__) + # define WXT_MONOTHREADED + #else + # error "wxt does not know if this platform has to be single- or multi-threaded" diff --git a/SOURCES/gnuplot-5.0.0-lua_checkint.patch b/SOURCES/gnuplot-5.0.0-lua_checkint.patch new file mode 100644 index 0000000..d5d69a9 --- /dev/null +++ b/SOURCES/gnuplot-5.0.0-lua_checkint.patch @@ -0,0 +1,13 @@ +diff -up wrk/term/lua.trm.wrk wrk/term/lua.trm +--- wrk/term/lua.trm.wrk 2015-01-26 18:36:53.242174908 +0100 ++++ wrk/term/lua.trm 2015-01-26 18:38:44.674258427 +0100 +@@ -114,6 +114,9 @@ TERM_PUBLIC void LUA_boxed_text __PROTO( + #include + #include + ++//luaL_checkint macro disappeared ++#define luaL_checkint(L,n) ((int)luaL_checkinteger(L, (n))) ++ + static lua_State *L = NULL; + + static char *LUA_script = NULL; diff --git a/SOURCES/gnuplot-5.2.2-doc.patch b/SOURCES/gnuplot-5.2.2-doc.patch new file mode 100644 index 0000000..33fd91e --- /dev/null +++ b/SOURCES/gnuplot-5.2.2-doc.patch @@ -0,0 +1,27 @@ +diff -up gnuplot-5.2.4/docs/gnuplot.doc gnuplot-5.2.4/docs/gnuplot +diff -up gnuplot-5.2.4/docs/gnuplot-ja.doc gnuplot-5.2.4/docs/gnuplot-ja +diff -up gnuplot-5.2.4/docs/Makefile.am.doc gnuplot-5.2.4/docs/Makefile.am +--- gnuplot-5.2.4/docs/Makefile.am.doc 2017-12-22 18:32:48.000000000 +0100 ++++ gnuplot-5.2.4/docs/Makefile.am 2018-08-08 14:00:40.014932164 +0200 +@@ -322,7 +322,7 @@ ${ELCS}: gnuplot-eldoc.el + # that only appears to work with a non-generated texi file for input. + + gnuplot.info: gnuplot.texi +- $(AM_V_GEN) $(MAKEINFO) -I$(srcdir) $< --no-split --output=$@ ++ $(AM_V_GEN) $(MAKEINFO) -I$(srcdir) $< --no-split --force --output=$@ + + install-info: gnuplot.info + $(AM_V_at) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(infodir) +diff -up gnuplot-5.2.4/docs/Makefile.in.doc gnuplot-5.2.4/docs/Makefile.in +--- gnuplot-5.2.4/docs/Makefile.in.doc 2018-06-01 03:51:14.000000000 +0200 ++++ gnuplot-5.2.4/docs/Makefile.in 2018-08-08 14:03:26.797479806 +0200 +@@ -1090,7 +1090,7 @@ ${ELCS}: gnuplot-eldoc.el + # that only appears to work with a non-generated texi file for input. + + gnuplot.info: gnuplot.texi +- $(AM_V_GEN) $(MAKEINFO) -I$(srcdir) $< --no-split --output=$@ ++ $(AM_V_GEN) $(MAKEINFO) -I$(srcdir) $< --no-split --force --output=$@ + + install-info: gnuplot.info + $(AM_V_at) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(infodir) +diff -up gnuplot-5.2.4/docs/psdoc/ps_file.doc gnuplot-5.2.4/docs/psdoc/ps_file diff --git a/SOURCES/gnuplot-5.2.4-cmd-opts.patch b/SOURCES/gnuplot-5.2.4-cmd-opts.patch new file mode 100644 index 0000000..3f61fe3 --- /dev/null +++ b/SOURCES/gnuplot-5.2.4-cmd-opts.patch @@ -0,0 +1,20 @@ +diff --git a/man/gnuplot.1 b/man/gnuplot.1 +index 93e605b18..b6c3d8c1b 100644 +--- a/man/gnuplot.1 ++++ b/man/gnuplot.1 +@@ -48,13 +48,13 @@ Support for a huge variety of output devices and file formats. + .PP + \fB\-c scriptname ARG1 ARG2 ..., load script using gnuplot's "call" mechanism and pass it the remainder of the command line as arguments + .PP +-\fB\-d, \-\-default\fP settings. Do not read from gnuplotrc or ~/.gnuplot on entry. ++\fB\-d, \-\-default\-settings\fP settings. Do not read from gnuplotrc or ~/.gnuplot on entry. + .PP + \fB\-e "command list"\fP executes the requested commands before loading the next input file. + .PP + \fB\-h, \-\-help\fP print summary of usage + .PP +-\fB\-V\fP show current version ++\fB\-V, \-\-version\fP show current version + .SH X11 OPTIONS + For terminal type x11, \fIgnuplot\fP + accepts the standard X Toolkit options and resources such as geometry, font, diff --git a/SOURCES/gnuplot-5.2.4-no-lena.patch b/SOURCES/gnuplot-5.2.4-no-lena.patch new file mode 100644 index 0000000..26b8bb6 --- /dev/null +++ b/SOURCES/gnuplot-5.2.4-no-lena.patch @@ -0,0 +1,92 @@ +diff -up gnuplot-5.2.4/demo/circles.dem.nolena gnuplot-5.2.4/demo/circles.dem +--- gnuplot-5.2.4/demo/circles.dem.nolena 2017-12-22 18:32:30.000000000 +0100 ++++ gnuplot-5.2.4/demo/circles.dem 2018-08-08 10:14:21.308379527 +0200 +@@ -98,21 +98,6 @@ pause -1 "Hit return to continue" + + reset + set size ratio -1 +-set title "Lena's key points" +-unset xtics +-unset ytics +-unset key +-unset border +-set yrange [] reverse +- +-plot 'lena.rgb' binary array=(128,128) dx=4 dy=4 format='%uchar' with rgbimage, \ +- 'lena-keypoints.bin' binary format='%double' with circles lc rgb "yellow" +- +-pause -1 "Hit return to continue" +- +- +-reset +-set size ratio -1 + set title "Delaunay triangulation of Hemisphere points, some empty circles in red" + unset key + +diff -up gnuplot-5.2.4/demo/Makefile.am.nolena gnuplot-5.2.4/demo/Makefile.am +--- gnuplot-5.2.4/demo/Makefile.am.nolena 2017-12-23 07:29:12.000000000 +0100 ++++ gnuplot-5.2.4/demo/Makefile.am 2018-08-08 10:18:08.787797877 +0200 +@@ -68,7 +68,7 @@ epslatex: + dvips epslatex + + ##m4-files-begin +-EXTRA_DIST = Makefile.am.in lena-keypoints.bin scatter2.bin sine.bin \ ++EXTRA_DIST = Makefile.am.in scatter2.bin sine.bin \ + using.bin gnuplot.cfg world.cor 1.dat 2.dat 3.dat arrowstyle.dat \ + asciimat.dat battery.dat big_peak.dat candlesticks.dat cities.dat \ + clip14in.dat ctg-y2.dat delaunay-edges.dat ellipses.dat empty-circles.dat \ +@@ -107,7 +107,7 @@ textrotate.dem tics.dem timedat.dem tran + ttics.dem using.dem utf8.dem varcolor.dem vector.dem violinplot.dem \ + volatile.dem world2.dem world.dem zerror.dem demo.edf density.fnc \ + hexa.fnc line.fnc reflect.fnc gen-random.inc stat.inc GM1_sugar.pdb \ +-bldg.png GM1_bonds.r3d blutux.rgb lena.rgb sound.par sound2.par start.par \ ++bldg.png GM1_bonds.r3d blutux.rgb sound.par sound2.par start.par \ + gnuplot.rot gnu-valley random-points gpdemos.tcl html + ##m4-files-end + +diff -up gnuplot-5.2.4/demo/Makefile.in.nolena gnuplot-5.2.4/demo/Makefile.in +--- gnuplot-5.2.4/demo/Makefile.in.nolena 2018-06-01 03:51:13.000000000 +0200 ++++ gnuplot-5.2.4/demo/Makefile.in 2018-08-08 10:18:14.455683660 +0200 +@@ -330,7 +330,7 @@ SUBDIRS = $(PLUGIN_DIR) + DIST_SUBDIRS = plugin + DEMO = all.dem + GNUPLOT = gnuplot +-EXTRA_DIST = Makefile.am.in lena-keypoints.bin scatter2.bin sine.bin \ ++EXTRA_DIST = Makefile.am.in scatter2.bin sine.bin \ + using.bin gnuplot.cfg world.cor 1.dat 2.dat 3.dat arrowstyle.dat \ + asciimat.dat battery.dat big_peak.dat candlesticks.dat cities.dat \ + clip14in.dat ctg-y2.dat delaunay-edges.dat ellipses.dat empty-circles.dat \ +@@ -369,7 +369,7 @@ textrotate.dem tics.dem timedat.dem tran + ttics.dem using.dem utf8.dem varcolor.dem vector.dem violinplot.dem \ + volatile.dem world2.dem world.dem zerror.dem demo.edf density.fnc \ + hexa.fnc line.fnc reflect.fnc gen-random.inc stat.inc GM1_sugar.pdb \ +-bldg.png GM1_bonds.r3d blutux.rgb lena.rgb sound.par sound2.par start.par \ ++bldg.png GM1_bonds.r3d blutux.rgb sound.par sound2.par start.par \ + gnuplot.rot gnu-valley random-points gpdemos.tcl html + + @BUILD_PLUGIN_TRUE@PLUGIN_DIR = plugin +diff -up gnuplot-5.2.4/demo/rgbalpha.dem.nolena gnuplot-5.2.4/demo/rgbalpha.dem +--- gnuplot-5.2.4/demo/rgbalpha.dem.nolena 2017-12-22 18:32:30.000000000 +0100 ++++ gnuplot-5.2.4/demo/rgbalpha.dem 2018-08-08 10:14:21.309379507 +0200 +@@ -18,8 +18,8 @@ set yrange [ 0. : 128. ] + # Alpha = linear gradient on x + + plot 100.*(.4+sin(x/5.)/(x/5.)) lw 5 title 'solid line', \ +- 'lena.rgb' binary array=(128,128) format="%uchar" flipy using 1:2:3:(2.*column(0)) \ +- with rgbalpha title "Lena with linear\nalpha gradient" ++ 'blutux.rgb' binary array=(128,128) format="%uchar" flipy using 1:2:3:(2.*column(0)) \ ++ with rgbalpha title "Tux with linear\nalpha gradient" + + pause -1 "Hit return to continue" + +@@ -28,8 +28,8 @@ pause -1 "Hit return to continue" + focus(x,y) = ((column(0)-x)**2 + (column(-1)-(127-y))**2) > 400 ? 0 : 255 + + plot 100.*(.4+sin(x/5.)/(x/5.)) lw 5 title 'solid line', \ +- 'lena.rgb' binary array=(128,128) format="%uchar" flipy using 1:2:3:(focus(70,50)) \ +- with rgbalpha title "Lena with circular mask" ++ 'blutux.rgb' binary array=(128,128) format="%uchar" flipy using 1:2:3:(focus(70,50)) \ ++ with rgbalpha title "Tux with circular mask" + + pause -1 "Hit return to continue" + reset diff --git a/SOURCES/gnuplot-init.el b/SOURCES/gnuplot-init.el new file mode 100644 index 0000000..aebcebb --- /dev/null +++ b/SOURCES/gnuplot-init.el @@ -0,0 +1,5 @@ +(autoload 'gnuplot-mode "gnuplot" "gnuplot major mode" t) +(autoload 'gnuplot-make-buffer "gnuplot" + "open a buffer in gnuplot-mode" t) +(setq auto-mode-alist (append '(("\\.gp$" . gnuplot-mode)) + auto-mode-alist)) diff --git a/SPECS/gnuplot.spec b/SPECS/gnuplot.spec new file mode 100644 index 0000000..4da9119 --- /dev/null +++ b/SPECS/gnuplot.spec @@ -0,0 +1,915 @@ +%global major 5 +%global minor 2 +%global patchlevel 4 + +%global x11_app_defaults_dir %{_datadir}/X11/app-defaults + +%if 0%{?fedora} +%bcond_without wx +%else +%bcond_with wx +%endif + +Summary: A program for plotting mathematical expressions and data +Name: gnuplot +Version: %{major}.%{minor}.%{patchlevel} +Release: 1%{?dist} +# MIT .. term/PostScript/aglfn.txt +License: gnuplot and MIT +Group: Applications/Engineering +URL: http://www.gnuplot.info/ +# Need to remove non-free lena files +# rm -rf demo/lena* +# Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz +Source0: %{name}-%{version}-clean.tar.gz +Source1: gnuplot-init.el + +Patch0: gnuplot-4.2.0-refers_to.patch +Patch1: gnuplot-4.2.0-fonts.patch +# resolves: #812225 +# submitted upstream: http://sourceforge.net/tracker/?func=detail&aid=3558973&group_id=2055&atid=302055 +Patch3: gnuplot-4.6.1-plot-sigsegv.patch +Patch4: gnuplot-4.6.4-singlethread.patch +Patch5: gnuplot-5.0.0-lua_checkint.patch +Patch6: gnuplot-5.2.4-no-lena.patch +Patch7: gnuplot-5.2.2-doc.patch +patch8: gnuplot-5.2.4-cmd-opts.patch + +Requires: %{name}-common = %{version}-%{release} +Requires: dejavu-sans-fonts +Requires(post): %{_sbindir}/alternatives +Requires(preun): %{_sbindir}/alternatives + +#libedit-devel can not handle utf8, readline-devel is not legal with gnuplot, stick to builtin +BuildRequires: cairo-devel, emacs, gd-devel, giflib-devel, libotf, libpng-devel +BuildRequires: librsvg2, libX11-devel, libXt-devel, lua-devel, m17n-lib +BuildRequires: pango-devel, tex(latex), tex(subfigure.sty) +BuildRequires: tex(cm-super-t1.enc), tex(pdftex.map), tex-tex4ht, texinfo +BuildRequires: /usr/bin/texi2dvi +BuildRequires: zlib-devel, libjpeg-turbo-devel, tex(ecrm1000.tfm), latex2html +#qt-terminal requires libqt >= 4.5 +BuildRequires: qt5-qtbase-devel +BuildRequires: qt5-qtsvg-devel +BuildRequires: qt5-linguist +%if %{with wx} +BuildRequires: wxGTK-devel +%endif + +Obsoletes: gnuplot-qt < 5.0.0-4 + +%description +Gnuplot is a command-line driven, interactive function plotting +program especially suited for scientific data representation. Gnuplot +can be used to plot functions and data points in both two and three +dimensions and in many different formats. + +Install gnuplot if you need a graphics package for scientific data +representation. + +This package provides a Qt based terminal version of gnuplot. + +%package common +Group: Applications/Engineering +Summary: The common gnuplot parts +Requires(post): /sbin/install-info +Requires(preun): /sbin/install-info +#lets obsolete emacs-gnuplot until new upstream is found and package reintroduced +Obsoletes: emacs-gnuplot <= 5.0.0-3 +Obsoletes: emacs-gnuplot-el <= 5.0.0-3 + +%description common +Gnuplot is a command-line driven, interactive function plotting +program especially suited for scientific data representation. Gnuplot +can be used to plot functions and data points in both two and three +dimensions and in many different formats. + +This subpackage contains common parts needed for all versions of gnuplot. + +%package minimal +Group: Applications/Engineering +Summary: Minimal version of program for plotting mathematical expressions and data +Requires: %{name}-common = %{version}-%{release} +Requires(post): %{_sbindir}/alternatives +Requires(preun): %{_sbindir}/alternatives + +%description minimal +Gnuplot is a command-line driven, interactive function plotting +program especially suited for scientific data representation. Gnuplot +can be used to plot functions and data points in both two and three +dimensions and in many different formats. + +Install gnuplot-minimal if you need a minimal version of graphics package +for scientific data representation. + +%if %{with wx} +%package wx +Group: Applications/Engineering +Summary: wxGTK interface for gnuplot +Requires: %{name}-common = %{version}-%{release} +Requires(post): %{_sbindir}/alternatives +Requires(preun): %{_sbindir}/alternatives +Provides: gnuplot +Obsoletes: gnuplot < 5.0.0-4 + +%description wx +Gnuplot is a command-line driven, interactive function plotting +program especially suited for scientific data representation. Gnuplot +can be used to plot functions and data points in both two and three +dimensions and in many different formats. + +This package provides a wxGTK based terminal version of gnuplot. +%endif + +#%package -n emacs-%{name} +#Group: Applications/Engineering +#Summary: Emacs bindings for the gnuplot main application +#Requires: %{name} = %{version}-%{release} +#Requires: emacs >= %{_emacs_version} +#BuildRequires: emacs-el pkgconfig +#BuildArch: noarch +#Provides: gnuplot-emacs = %{version}-%{release} + +#%description -n emacs-%{name} +#The gnuplot-emacs package contains the emacs related .elc files so that gnuplot +#nicely interacts and integrates into emacs. + +#%package -n emacs-%{name}-el +#Group: Applications/Engineering +#Summary: Emacs bindings for the gnuplot main application +#Requires: emacs-%{name} = %{version}-%{release} +#BuildArch: noarch + +#%description -n emacs-%{name}-el +#The gnuplot-emacs package contains the emacs related .el files so that gnuplot +#nicely interacts and integrates into emacs. + +%package doc +Group: Applications/Engineering +Summary: Documentation fo bindings for the gnuplot main application +BuildArch: noarch + +%description doc +The gnuplot-doc package contains the documentation related to gnuplot +plotting tool + +%package latex +Group: Applications/Engineering +Summary: Configuration for LaTeX typesetting using gnuplot +Requires: %{name} = %{version}-%{release} +Requires: tex(latex), tex(cm-super-t1.enc), tex(ecrm1000.tfm), tex(utf8x.def), tex-preview +BuildArch: noarch + +%description latex +The gnuplot-latex package contains LaTeX configuration file related to gnuplot +plotting tool. + +%prep +%setup -q +%patch0 -p1 -b .refto +%patch1 -p1 -b .font +%patch3 -p1 -b .plot-sigsegv +%patch4 -p1 -b .isinglethread +%patch5 -p1 -b .checkint +%patch6 -p1 -b .nolena +%patch7 -p1 -b .doc +%patch8 -p1 -b .cmd-opts +sed -i -e 's:"/usr/lib/X11/app-defaults":"%{x11_app_defaults_dir}":' src/gplt_x11.c +iconv -f windows-1252 -t utf-8 ChangeLog > ChangeLog.aux +mv ChangeLog.aux ChangeLog +chmod 644 src/getcolor.h +chmod 644 demo/html/webify.pl +chmod 644 demo/html/webify_svg.pl +chmod 644 demo/html/webify_canvas.pl + +%build +#remove binaries from source tarball +rm -rf demo/plugin/*.so demo/plugin/*.o + +%global configure_opts --with-readline=builtin --without-linux-vga \\\ + --enable-history-file --with-texdir=/usr/share/texlive/texmf-dist/tex/latex/gnuplot + +# at first create minimal version of gnuplot for server SIG purposes +mkdir minimal +cd minimal +ln -s ../configure . +%configure %{configure_opts} --disable-wxwidgets --without-qt +make %{?_smp_mflags} +cd - + +# create full version of gnuplot +%if %{with wx} +# With wxGTK support (Fedora only) +mkdir wx +cd wx +ln -s ../configure . +%configure %{configure_opts} --without-qt +make %{?_smp_mflags} +cd - +%endif + +# With Qt support +mkdir qt +cd qt +ln -s ../configure . +%configure %{configure_opts} --disable-wxwidgets --enable-qt +make %{?_smp_mflags} +cd - + + +# Docs don't build properly out of tree +%configure %{configure_opts} --with-tutorial +ln -s ../minimal/src/gnuplot src/ +make -C docs html info +export GNUPLOT_PS_DIR=../../term/PostScript +make -C docs/psdoc ps_symbols.ps ps_fontfile_doc.pdf +rm -rf docs/htmldocs/images.idx +make -C tutorial + +%install +%if %{with wx} +# install wx +make -C wx install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' +# rename binary +mv $RPM_BUILD_ROOT%{_bindir}/gnuplot $RPM_BUILD_ROOT%{_bindir}/gnuplot-wx +%endif + +# install qt +make -C qt install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' +# rename binary +mv $RPM_BUILD_ROOT%{_bindir}/gnuplot $RPM_BUILD_ROOT%{_bindir}/gnuplot-qt + +# install minimal binary +install -p -m 755 minimal/src/gnuplot $RPM_BUILD_ROOT%{_bindir}/gnuplot-minimal + +# install info +make -C docs install-info DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' + +# install emacs files +#install -d ${RPM_BUILD_ROOT}/%{_emacs_sitestartdir}/ +#install -p -m 644 %SOURCE1 ${RPM_BUILD_ROOT}/%{_emacs_sitestartdir}/gnuplot-init.el +#rm -f $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/info-look*.el* +#install -d ${RPM_BUILD_ROOT}/%{_emacs_sitelispdir}/%{name} +#mv $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/gnuplot.el{,c} $RPM_BUILD_ROOT/%{_emacs_sitelispdir}/%{name} +#mv $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/gnuplot-gui.el{,c} $RPM_BUILD_ROOT/%{_emacs_sitelispdir}/%{name} + +#packaged by info package, updated by post-installation script, do not package here +rm -f $RPM_BUILD_ROOT%{_infodir}/dir + +mkdir -p $RPM_BUILD_ROOT%{x11_app_defaults_dir} +mv $RPM_BUILD_ROOT%{_datadir}/gnuplot/%{major}.%{minor}/app-defaults/Gnuplot $RPM_BUILD_ROOT%{x11_app_defaults_dir}/Gnuplot +rm -rf $RPM_BUILD_ROOT%{_libdir}/ + +mkdir -p $RPM_BUILD_ROOT/%{_mandir}/ja/man1 +mv $RPM_BUILD_ROOT%{_mandir}/man1/gnuplot-ja.1 $RPM_BUILD_ROOT/%{_mandir}/ja/man1/ +ln -s gnuplot.1 $RPM_BUILD_ROOT/%{_mandir}/man1/gnuplot-qt.1 +%if %{with wx} +ln -s gnuplot.1 $RPM_BUILD_ROOT/%{_mandir}/man1/gnuplot-wx.1 +%endif + +#ghost provide /usr/bin/gnuplot +touch $RPM_BUILD_ROOT%{_bindir}/gnuplot + +%posttrans +%{_sbindir}/alternatives --install %{_bindir}/gnuplot gnuplot %{_bindir}/gnuplot-qt 61 + +%post common +if [ -f %{_infodir}/gnuplot.info* ]; then + /sbin/install-info %{_infodir}/gnuplot.info %{_infodir}/dir || : +fi + +%posttrans minimal +%{_sbindir}/alternatives --install %{_bindir}/gnuplot gnuplot %{_bindir}/gnuplot-minimal 40 + +%if %{with wx} +%posttrans wx +%{_sbindir}/alternatives --install %{_bindir}/gnuplot gnuplot %{_bindir}/gnuplot-wx 50 +%endif + +%preun +if [ $1 = 0 ]; then + %{_sbindir}/alternatives --remove gnuplot %{_bindir}/gnuplot-qt || : +fi + +%preun common +if [ $1 = 0 ] ; then # last uninstall + if [ -f %{_infodir}/gnuplot.info* ]; then + /sbin/install-info --delete %{_infodir}/gnuplot.info %{_infodir}/dir || : + fi +fi + +%preun minimal +if [ $1 = 0 ]; then + %{_sbindir}/alternatives --remove gnuplot %{_bindir}/gnuplot-minimal || : +fi + +%if %{with wx} +%preun wx +if [ $1 = 0 ]; then + %{_sbindir}/alternatives --remove gnuplot %{_bindir}/gnuplot-wx || : +fi +%endif + +%post latex +[ -e %{_bindir}/texhash ] && %{_bindir}/texhash 2> /dev/null; + +%files +%ghost %attr(0755,-,-) %{_bindir}/gnuplot +%doc ChangeLog Copyright +%{_bindir}/gnuplot-qt +%{_libexecdir}/gnuplot/%{major}.%{minor}/gnuplot_qt +%{_datadir}/gnuplot/%{major}.%{minor}/qt/ + +%files doc +%doc ChangeLog Copyright +%doc docs/psdoc/ps_guide.ps docs/psdoc/ps_symbols.ps tutorial/tutorial.dvi docs/psdoc/ps_file.doc demo +%doc docs/psdoc/ps_fontfile_doc.pdf docs/htmldocs tutorial/eg7.eps + +%files common +%doc BUGS ChangeLog Copyright NEWS README +%{_mandir}/man1/gnuplot.1.gz +%{_mandir}/man1/gnuplot-qt.1.gz +%dir %{_datadir}/gnuplot +%dir %{_datadir}/gnuplot/%{major}.%{minor} +%dir %{_datadir}/gnuplot/%{major}.%{minor}/PostScript +%{_datadir}/gnuplot/%{major}.%{minor}/PostScript/*.ps +%{_datadir}/gnuplot/%{major}.%{minor}/PostScript/aglfn.txt +%dir %{_datadir}/gnuplot/%{major}.%{minor}/js +%{_datadir}/gnuplot/%{major}.%{minor}/js/* +%dir %{_datadir}/gnuplot/%{major}.%{minor}/lua/ +%{_datadir}/gnuplot/%{major}.%{minor}/lua/gnuplot-tikz.lua +%{_datadir}/gnuplot/%{major}.%{minor}/colors_* +%{_datadir}/gnuplot/%{major}.%{minor}/gnuplot.gih +%{_datadir}/gnuplot/%{major}.%{minor}/gnuplotrc +%dir %{_libexecdir}/gnuplot +%dir %{_libexecdir}/gnuplot/%{major}.%{minor} +%{_libexecdir}/gnuplot/%{major}.%{minor}/gnuplot_x11 +%{x11_app_defaults_dir}/Gnuplot +%{_infodir}/gnuplot.info.gz +%{_mandir}/ja/man1/gnuplot-ja.1.gz + +%files minimal +%ghost %attr(0755,-,-) %{_bindir}/gnuplot +%doc ChangeLog Copyright +%{_bindir}/gnuplot-minimal + +%if %{with wx} +%files wx +%ghost %attr(0755,-,-) %{_bindir}/gnuplot +%{_mandir}/man1/gnuplot-wx.1.gz +%doc ChangeLog Copyright +%{_bindir}/gnuplot-wx +%endif + +#%files -n emacs-%{name} +#%doc ChangeLog Copyright +#%dir %{_emacs_sitelispdir}/%{name} +#%{_emacs_sitelispdir}/*.elc +#%{_emacs_sitelispdir}/%{name}/*.elc +#%{_emacs_sitestartdir}/*.el + +#%files -n emacs-%{name}-el +#%doc ChangeLog Copyright +#%{_emacs_sitelispdir}/%{name}/*.el +#%{_emacs_sitelispdir}/*.el + +%files latex +%doc ChangeLog Copyright +%{_datadir}/texlive/texmf-dist/tex/latex/gnuplot/ + +%changelog +* Wed Aug 8 2018 Pavel Cahyna - 5.2.4-1 +- Rebase to upstream release 5.2.4 +- Add workaround for broken info generation (upstream bug + https://sourceforge.net/p/gnuplot/bugs/1963/) from Debian +- Use explicit path for texdir +- Correct the description of command line options in manpage, bz#1612690 +- Install gnuplot-qt and gnuplot-wx manpage links, bz#1612690 + +* Wed Feb 07 2018 Fedora Release Engineering - 5.0.6-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jan 24 2018 Tomas Hoger - 5.0.6-7 +- Fix conditionals for building with(out) wxGTK support + +* Tue Sep 19 2017 Troy Dawson - 5.0.6-6 +- Cleanup spec file conditionals + +* Wed Aug 02 2017 Fedora Release Engineering - 5.0.6-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 5.0.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Mon Jun 26 2017 Tom Callaway - 5.0.6-3 +- remove non-free lena images (and adjust demos) (bz1295324) + +* Mon May 15 2017 Fedora Release Engineering - 5.0.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild + +* Wed Mar 22 2017 Frantisek Kluknavsky - 5.0.6-1 +- rebase + +* Fri Feb 10 2017 Fedora Release Engineering - 5.0.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Feb 01 2017 Sandro Mani - 5.0.5-2 +- Rebuild (libwebp) + +* Mon Oct 10 2016 Frantisek Kluknavsky - 5.0.5-1 +- rebase + +* Fri Jul 22 2016 Tom Callaway - 5.0.3-3 +- rebuild to drop libvpx dep + +* Tue May 24 2016 Frantisek Kluknavsky - 5.0.3-2 +- use qt5 instead of qt4 + +* Thu Feb 25 2016 Frantisek Kluknavsky - 5.0.3-1 +- Rebase to 5.0.3 + +* Tue Feb 23 2016 Frantisek Kluknavsky - 5.0.2-1 +- Rebase to 5.0.2 +- Compile gnuplot-minimal with cairo support. It is needed to build docs. + It is pulled in anyway by gnuplot-common (gnuplot_x11 binary is taken from a fat build) +- configure --with-png is unknown - flag removed + +* Wed Feb 03 2016 Fedora Release Engineering - 5.0.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Dec 1 2015 Tom Callaway - 5.0.1-3 +- rebuild for libvpx 1.5.0 + +* Wed Jun 17 2015 Fedora Release Engineering - 5.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Thu Jun 11 2015 Frantisek Kluknavsky - 5.0.1-1 +- rebase to 5.0.1 + +* Mon Apr 13 2015 Frantisek Kluknavsky - 5.0.0-8 +- ghost /usr/bin/gnuplot, bz#1210437 + +* Mon Apr 6 2015 Tom Callaway - 5.0.0-7 +- rebuild for libvpx 1.4.0 + +* Wed Feb 11 2015 Frantisek Kluknavsky - 5.0.0-6 +- gnuplot-wx now Provides:gnuplot +- gnuplot now obsoletes old gnuplot-qt and gnuplot-wx obsoletes old gnuplot + +* Mon Feb 02 2015 Frantisek Kluknavsky - 5.0.0-5 +- work around broken alternatives until better solution is found + +* Fri Jan 23 2015 Frantisek Kluknavsky - 5.0.0-4 +- make qt terminal default instead of outdated wx +- luaL_checkint macro disappeared from lua headers + +* Tue Jan 13 2015 Frantisek Kluknavsky - 5.0.0-3 +- qt should not be enabled automatically +- remove BuildRequires: ImageMagick +- gnuplot-init.el not needed now without emacs subpackage + +* Tue Jan 13 2015 Frantisek Kluknavsky - 5.0.0-2 +- do not package /usr/share/info/dir, bug#1181271 + +* Thu Jan 08 2015 Frantisek Kluknavsky - 5.0.0-1 +- rebase +- rhbz#759964 submitted upstream: http://sourceforge.net/tracker/?func=detail&aid=3558970&group_id=2055&atid=302055 + patch gnuplot-4.6.1-xcopygc-sigsegv.patch dropped, hopefully resolved by now +- added buildrequires: latex2html +- emacs bindings are separate project now - https://github.com/rudi/gnuplot-el + +* Wed Nov 19 2014 Frantisek Kluknavsky - 4.6.5-4 +- libedit-devel can not handle utf8, readline-devel is not legal with gnuplot, stick to builtin + https://bugzilla.redhat.com/show_bug.cgi?id=1039102 + +* Sat Aug 16 2014 Fedora Release Engineering - 4.6.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 4.6.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Tue Apr 15 2014 Frantisek Kluknavsky - 4.6.5-1 +- rebase + +* Tue Feb 04 2014 Frantisek Kluknavsky - 4.6.4-3 +- changed wxt terminal to monothreaded - avoid crash when unlocking a free mutex + +* Wed Nov 13 2013 Frantisek Kluknavsky - 4.6.4-2 +- dropped ancient "Obsoletes:" + +* Wed Oct 9 2013 Orion Poplawski - 4.6.4-1 +- Update to 4.6.4 +- Drop texi patch applied upstream + +* Wed Oct 9 2013 Orion Poplawski - 4.6.3-5 +- Split qt interface into separate alternative sub-package + +* Tue Aug 20 2013 Frantisek Kluknavsky - 4.6.3-4 +- enabled qt-terminal +- removed autoconf build dependency + +* Sat Aug 03 2013 Fedora Release Engineering - 4.6.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Fri Jun 28 2013 Orion Poplawski - 4.6.3-1 +- Update to 4.6.3 + +* Tue Jun 11 2013 Remi Collet - 4.6.2-3 +- rebuild for new GD 2.1.0 + +* Wed May 15 2013 Tom Callaway - 4.6.2-2 +- rebuild for lua 5.2 + +* Thu Apr 04 2013 Frantisek Kluknavsky - 4.6.2-1 +- Rebase to 4.6.2 +- Added explicit build dependency on ImageMagick. It somehow disappeared from emacs dependencies. +- Patched gnuplot.texi, new latex refused to compile it. + +* Thu Feb 14 2013 Fedora Release Engineering - 4.6.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Jan 18 2013 Adam Tkac - 4.6.1-5 +- rebuild due to "jpeg8-ABI" feature drop + +* Fri Jan 4 2013 Tom Callaway - 4.6.1-4 +- link to libedit, not readline, due to license incompatibility. + +* Fri Dec 07 2012 Frantisek Kluknavsky - 4.6.1-3 +- added build dependency - latex font + +* Mon Nov 26 2012 Frantisek Kluknavsky - 4.6.1-2 +- dependency m17n-lib-flt renamed to m17n-lib +- fixed bogus dates n changelog (used my best guess) + +* Tue Nov 6 2012 Peter Schiffer 4.6.1-1 +- resolves: #861849 + updated to 4.6.1 +- cleaned .spec file +- resolves: #759964 + fixed sigsegv +- resolves: #812225 + fixed sigsegv +- fixed requires/buildrequires +- added tex(pdftex.map) and libjpeg-turbo-devel buildrequires + +* Thu Jul 19 2012 Fedora Release Engineering - 4.6.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Thu Jul 12 2012 Peter Schiffer 4.6.0-1 +- resolves: #783421 + update to 4.6.0 + +* Wed Jan 18 2012 Peter Schiffer 4.4.4-3 +- resolves: #761260 + disabled wxWidgets support for RHEL + +* Fri Jan 06 2012 Peter Schiffer 4.4.4-2 +- resolves: #769369 + added dependency on texlive-texmf-xetex package for latex subpackage + run texhash after installing latex subpackage +- resolves: #769357 + added upstream tikz-444.patch solving issue with tikz terminal +- resolves: #769355 + added build dependency on texlive-texmf-latex because of subfigure.sty file +- rebuilt for gcc 4.7 + +* Wed Nov 16 2011 Peter Schiffer 4.4.4-1 +- resolves: #753745 + update to 4.4.4 + +* Fri Nov 04 2011 Peter Schiffer 4.4.3-3 +- resolves: #728813 + added missing lua terminal + +* Fri Mar 11 2011 Ivana Hutarova Varekova 4.4.3-2 +- update to 4.4.3 + +* Tue Feb 08 2011 Fedora Release Engineering - 4.4.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Oct 1 2010 Ivana Hutarova Varekova 4.4.2-1 +- update to 4.4.2 + +* Wed Sep 29 2010 jkeating - 4.4.1-2 +- Rebuilt for gcc bug 634757 + +* Tue Aug 17 2010 Ivana Hutarova Varekova 4.4.1-1 +- Resolves: #633283 + update to 4.4.1 + fix man-page bug + +* Tue Aug 17 2010 Ivana Hutarova Varekova 4.4.0-5 +- Resolves: #537960 + Could not find/open font when opening font "arial" + +* Wed Jul 14 2010 Dan Horák - 4.4.0-4 +- rebuilt against wxGTK-2.8.11-2 + +* Fri Mar 19 2010 Ivana Hutarova Varekova 4.4.0-3 +- Resolves #573873 + fix the emacs variables (thanks Jonathan G. Underwood) + +* Fri Mar 19 2010 Ivana Hutarova Varekova 4.4.0-2 +- Resolves #573873 + mark emacs* and doc subpackages as noarch + +* Thu Mar 18 2010 Ivana Hutarova Varekova 4.4.0-1 +- update to 4.4.0 + spec file changes + +* Tue Mar 2 2010 Ivana Hutarova Varekova 4.2.6-2 +- fix license tag + +* Tue Sep 15 2009 Ivana Varekova 4.2.6-1 +- update to 4.2.6 + +* Mon Aug 10 2009 Ivana Varekova 4.2.5-6 +- fix installation with --excludedocs option (#515963) + +* Fri Jul 24 2009 Fedora Release Engineering - 4.2.5-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Mon Jun 15 2009 Ivana Varekova - 4.2.5-4 +- add gnuplot-latex subpackage + patch by jnovy + +* Fri May 29 2009 Ivana Varekova - 4.2.5-2 +- fix preun scripts + +* Thu May 28 2009 Ivana Varekova - 4.2.5-1 +- update to 4.2.5 + +* Fri Mar 27 2009 Ivana Varekova - 4.2.4-6 +- split documentation + +* Tue Mar 10 2009 Ivana Varekova - 4.2.4-5 +- fix #489069 (update of the package from nonsplit version + causes the absence of gnuplot binary - + fixed using posttrans instead of post) + +* Tue Feb 24 2009 Fedora Release Engineering - 4.2.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Jan 14 2009 Ivana Varekova - 4.2.4-3 +- fix sbin path + +* Tue Jan 13 2009 Ivana Varekova - 4.2.4-2 +- add minimal package for server SIG purposes + +* Fri Nov 7 2008 Ivana Varekova - 4.2.4-1 +- update to 4.2.4 + +* Fri May 9 2008 Ivana Varekova - 4.2.3-1 +- update to 4.2.3 + +* Wed Feb 20 2008 Fedora Release Engineering - 4.2.2-10 +- Autorebuild for GCC 4.3 + +* Tue Jan 29 2008 Ivana Varekova - 4.2.2-9 +- spec file cleanup + +* Mon Jan 28 2008 Ivana Varekova - 4.2.2-8 +- fix 430335 - add wxGTK requires + +* Mon Dec 10 2007 Ivana Varekova - 4.2.2-7 +- add wxGTK-devel dependency (#405411) + +* Thu Nov 15 2007 Ivana Varekova - 4.2.2-6 +- add obsoletes tag + +* Mon Nov 12 2007 Ivana Varekova - 4.2.2-5 +- fix 373941 - add provides tag + +* Tue Nov 6 2007 Ivana Varekova - 4.2.2-4 +- fix webify.pl permissions +- add eg7.eps to documentation + +* Thu Nov 1 2007 Ivana Varekova - 4.2.2-3 +- add emacs buildrequires +- add emacs-* macros +- remove useless iconv + +* Thu Oct 25 2007 Ivana Varekova - 4.2.2-2 +- rename emacs subpackage, split intwo two parts +- add font directories +- clean spec file + +* Thu Oct 25 2007 Ivana Varekova - 4.2.2-1 +- update to 4.2.2 + +* Wed Oct 17 2007 Ivana Varekova - 4.2.0-7 +- add URL tag + +* Mon Sep 24 2007 Ivana Varekova - 4.2.0-6 +- spec file cleanup + +* Fri Sep 7 2007 Ivana Varekova - 4.2.0-5 +- move emacs files to */site-lisp/gnuplot subdirectory + +* Thu Sep 6 2007 Ivana Varekova - 4.2.0-4 +- change font paths, change documenatation + +* Tue Aug 28 2007 Ivana Varekova - 4.2.0-3 +- Rebuild for selinux ppc32 issue. +- Remove obsolete file + +* Tue Jul 3 2007 Ivana Varekova - 4.2.0-2 +- Resolves: #246316 + remove info-look.20.{2,3}.el + +* Mon May 21 2007 Ivana Varekova - 4.2.0-1 +- Resolves: #231205 + update to 4.2.0 + spec changes from Tim Orling + +* Mon Mar 26 2007 Ivana Varekova - 4.0.0-18 +- add missing directories (#233838) + +* Thu Mar 15 2007 Ivana Varekova - 4.0.0-17 +- incorporate the package review feedback + +* Mon Jan 22 2007 Ivana Varekova - 4.0.0-16 +- Resolves: 223693 + fix non-failsafe install-info problem + +* Fri Dec 22 2006 Ivana Varekova - 4.0.0-15 +- Resolves: 173752 + gnuplot refers to /usr/X11R6/lib/fonts/Type1 + +* Thu Dec 21 2006 Ivana Varekova - 4.0.0-14 +- remove --without-gd options (#173922, #172565) +- spec file cleanup + +* Fri Dec 1 2006 Ivana Varekova - 4.0.0-13 +- rebuild against libncurses + +* Wed Jul 26 2006 Jesse Keating - 4.0.0-12 +- rebuild + +* Wed Mar 01 2006 Karsten Hopp 4.0.0-11 +- BuildRequires: libXt-devel + +* Fri Feb 10 2006 Jesse Keating - 4.0.0-10.2.1 +- bump again for double-long bug on ppc(64) + +* Tue Feb 07 2006 Jesse Keating - 4.0.0-10.2 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Fri Dec 09 2005 Jesse Keating +- rebuilt + +* Wed Nov 02 2005 Phil Knirsch 4.0.0-10 +- Switched BuildPreReqs and Requires to modular xorg-x11 style + +* Fri Oct 21 2005 Phil Knirsch 4.0.0-9 +- Fixed 64bit problem with x11 display (#167508) +- Added missing file ownage of /usr/share/gnuplot (#169333) + +* Fri Sep 02 2005 Phil Knirsch 4.0.0-8 +- Fixed missing Requires: emacs for the gnuplot-emacs package +- Added a gnuplot-init.el file for startup (#151122) + +* Wed Mar 02 2005 Phil Knirsch 4.0.0-7 +- bump release and rebuild with gcc 4 + +* Wed Jan 12 2005 Tim Waugh 4.0.0-6 +- Rebuilt for new readline. + +* Thu Dec 23 2004 Phil Knirsch 4.0.0-5 +- Added BUGS ChangeLog Copyright FAQ NEWS README TODO to docs (#139070) + +* Mon Oct 11 2004 Tim Waugh 4.0.0-4 +- Build requires texinfo and readline-devel (bug #134922) + +* Tue Sep 07 2004 Karsten Hopp 4.0.0-3 +- fix typo in preun script + +* Thu Sep 2 2004 Bill Nottingham 4.0.0-2 +- %%defattr fixes (#131640) + +* Thu Aug 12 2004 Phil Knirsch 4.0.0-1 +- Update to gnuplot-4.0.0 +- Split off emacs files into new subpackage + +* Tue Jun 15 2004 Elliot Lee +- rebuilt + +* Fri Feb 13 2004 Elliot Lee +- rebuilt + +* Wed Jul 02 2003 Bill Nottingham 3.7.3-4 +- fix license (#98449) + +* Wed Jun 04 2003 Elliot Lee +- rebuilt + +* Wed Jan 22 2003 Tim Powers +- rebuilt + +* Tue Jan 21 2003 Bill Nottingham 3.7.3-1 +- update to 3.7.3 +- don't bother patching it to do jpegs with gd instead of gifs, + as we haven't been building it with gd support anyway + +* Fri Nov 29 2002 Tim Powers 3.7.2-2 +- remove unpackaged files from the buildroot + +* Thu Jul 18 2002 Bill Nottingham 3.7.2-1 +- update to 3.7.2 + +* Fri Jun 21 2002 Tim Powers +- automated rebuild + +* Thu May 23 2002 Tim Powers +- automated rebuild + +* Thu Feb 21 2002 Bill Nottingham +- rebuild + +* Wed Jan 23 2002 Bill Nottingham 3.7.1-16 +- fix bug #43620 () + +* Tue Jan 22 2002 Bill Nottingham 3.7.1-15 +- fix bug #21341 () + +* Wed Jan 09 2002 Tim Powers +- automated rebuild + +* Fri May 11 2001 Bernhard Rosenkraenzer 3.7.1-13 +- rebuild with new readline +- Fix up License: and URL: tags in specfile + +* Tue Aug 22 2000 Bill Nottingham +- remove zlib-devel requirement (#16718) + +* Wed Aug 02 2000 Trond Eivind Glomsrød +- rebuild with libpng 1.0.8 + +* Thu Jul 13 2000 Prospector +- automatic rebuild + +* Mon Jun 19 2000 Bill Nottingham +- fix manpage paths + +* Fri Jun 9 2000 Bill Nottingham +- rebuild in new environment + +* Fri May 19 2000 Nalin Dahyabhai +- rebuild with new gd, changing gif terminal to jpeg terminal (release 7) + +* Mon May 08 2000 Preston Brown +- build for 7.0 + +* Thu Apr 6 2000 Bill Nottingham +- use gnu readline, not built-in version + +* Mon Apr 3 2000 Bill Nottingham +- add latex tutorial, demo files, other docs (#10508) + +* Wed Mar 1 2000 Bill Nottingham +- update to 3.7.1. Oops. + +* Thu Feb 3 2000 Bill Nottingham +- handle compressed man pages + +* Thu Nov 4 1999 Bill Nottingham +- update to 3.7.1 + +* Mon Oct 11 1999 Bill Nottingham +- ship some docs. + +* Wed Aug 18 1999 Bill Nottingham +- add a patch to fix postscript output from Bernd Kischnick + (kisch@die-herrmanns.de) + +* Fri Jul 30 1999 Bill Nottingham +- fix license + +* Thu Jul 15 1999 Bill Nottingham +- rebuild without svgalib + +* Tue Jun 15 1999 Bill Nottingham +- update to 3.7.0.1 + +* Sun Mar 21 1999 Cristian Gafton +- auto rebuild in the new build environment (release 2) + +* Tue Feb 2 1999 Jeff Johnson +- update to 3.7. + +* Thu Dec 17 1998 Michael Maher +- built package for 6.0 + +* Fri Sep 11 1998 Jeff Johnson +- update to 2.6beta347 + +* Sat Aug 15 1998 Jeff Johnson +- build root + +* Thu May 07 1998 Prospector System +- translations modified for de, fr, tr + +* Mon Oct 20 1997 Donnie Barnes +- spec file cleanups + +* Thu Jul 10 1997 Erik Troan +- built against glibc