Summary: A program for plotting mathematical expressions and data. Name: gnuplot Version: 4.0.0 Release: 8 License: Redistributable, with restrictions Group: Applications/Engineering Source: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz Source2: gnuplot-init.el BuildPrereq: libpng-devel, tetex-latex, zlib-devel, xorg-x11-devel, emacs BuildRequires: texinfo, readline-devel Requires: libpng BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root URL: http://www.gnuplot.info/ %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. %package emacs Group: Applications/Engineering Summary: Emacs bindings for the gnuplot main application Requires: %{name} = %{version}-%{release}, emacs %description emacs The gnuplot-emacs package contains the emacs related .el files so that gnuplot nicely interacts and integrates into emacs. %prep %setup -q %build %configure --with-readline=gnu --with-png --without-linux-vga \ --without-gd --enable-history-file make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" cd docs make html PATH=$RPM_BUILD_DIR/gnuplot-%{version}:$PATH make %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT install -d ${RPM_BUILD_ROOT}%{_datadir}/emacs/site-lisp/site-start.d/ install -m 644 %SOURCE2 ${RPM_BUILD_ROOT}%{_datadir}/emacs/site-lisp/site-start.d/gnuplot-init.el rm -f $RPM_BUILD_ROOT%{_infodir}/dir %post if [ "$1" = "1" ] ; then # first install if [ -x /sbin/install-info ]; then /sbin/install-info %{_infodir}/gnuplot.info.gz %{_infodir}/dir fi fi %preun if [ "$1" = "0" ] ; then # last uninstall if [ -x /sbin/install-info ]; then /sbin/install-info --delete %{_infodir}/gnuplot.info.gz %{_infodir}/dir fi fi %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc BUGS ChangeLog Copyright FAQ NEWS README TODO docs/gnuplot.html docs/psdoc tutorial/tutorial.dvi demo %{_libexecdir}/gnuplot/4.0/gnuplot_x11 %{_bindir}/gnuplot %{_mandir}/man1/gnuplot.1.gz %{_datadir}/gnuplot/4.0/gnuplot.gih %{_infodir}/gnuplot.info.gz %files emacs %defattr(-,root,root) %{_datadir}/emacs/site-lisp/gnuplot-gui.el %{_datadir}/emacs/site-lisp/gnuplot-gui.elc %{_datadir}/emacs/site-lisp/gnuplot.el %{_datadir}/emacs/site-lisp/gnuplot.elc %{_datadir}/emacs/site-lisp/info-look.20.2.el %{_datadir}/emacs/site-lisp/info-look.20.3.el %{_datadir}/emacs/site-lisp/site-start.d/gnuplot-init.el %changelog * 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 18 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