Summary: A program for plotting mathematical expressions and data. Name: gnuplot Version: 4.2.2 Release: 1 License: Redistributable, with restrictions Group: Applications/Engineering Source: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 BuildPrereq: libpng-devel, zlib-devel BuildRequires: texinfo Requires: libpng, zlib BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root URL: http://www.gnuplot.info/ Requires: libjpeg, libpng, zlib, xpm, freetype, fontconfig Requires: gd >= 2.0.35 BuildRequires: freetype-devel, fontconfig-devel, xpm-devel BuildRequires: libjpeg-devel, libpng-devel, zlib-devel BuildRequires: gd-devel >= 2.0.35 %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. %prep %setup -q %build ./configure --prefix=%{_prefix} \ --with-readline --with-gd --enable-history-file make cd docs make info %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install rm -f $RPM_BUILD_ROOT%{_infodir}/dir gzip -9 $RPM_BUILD_ROOT%{_infodir}/gnuplot.info %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 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc BUGS ChangeLog Copyright FAQ NEWS README TODO demo %{_bindir}/gnuplot %{_libexecdir}/gnuplot/4.2/gnuplot_x11 %{_mandir}/man1/gnuplot.1 %{_libdir}/X11/app-defaults/* %{_datadir}/gnuplot/4.2/gnuplot.gih %{_datadir}/gnuplot/4.2/PostScript/ %{_infodir}/gnuplot.info.gz %changelog * Fri Sep 28 2007 Michael Perzl - 4.2.2-1 - first version for AIX V5.1 and higher