]> git.pld-linux.org Git - packages/gnuplot.git/commitdiff
- updated to 3.7.1,
authorkloczek <kloczek@pld-linux.org>
Sun, 7 Nov 1999 15:52:34 +0000 (15:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- removed libgd support because current libgd do not handle gif images and
  png images are handled eith using libpng,
- added installing info pages for gnuplot (this is a litle redundant because
  gnuplot have own help which content is info pages copy but info is more
  useful for reading),
- changed install prefix to /usr.

Changed files:
    gnuplot.spec -> 1.14

gnuplot.spec

index a69bc56afe5cd35f6a21b2a902aa62b83f53db2a..7dad1d1d6e857f111eda9f6cf8f5a4a5532f034f 100644 (file)
@@ -1,36 +1,37 @@
-Summary:       GNU plotting package
-Summary(de):   GNU-Plotter-Paket
-Summary(fr):   Le programme de traçage de courbe de GNU.
-Summary(pl):   GNU program do robienia wykresów
-Summary(tr):   Matematiksel görselleþtirme paketi
-Name:          gnuplot
-Version:       3.7.0.8
-Release:       1
-Copyright:     GPL
-Group:         Applications/Math
-Group(pl):     Aplikacje/Matematyczne
-Source:        ftp://ftp.gnuplot.vt.edu/pub/gnuplot/beta/%{name}-%{version}.tar.gz
+Summary:       A program for plotting mathematical expressions and data
+Summary(de):   GNU-Plotter-Paket
+Summary(fr):   Le programme de traçage de courbe de GNU.
+Summary(pl):   GNU program do robienia wykresów
+Summary(tr):   Matematiksel görselleþtirme paketi
+Name:          gnuplot
+Version:       3.7.1
+Release:       1
+Copyright:     GPL
+Group:         Applications/Math
+Group(pl):     Aplikacje/Matematyczne
+Source:                ftp://ftp.gnuplot.vt.edu/pub/gnuplot/%{name}-%{version}.tar.gz
 Patch0:                gnuplot-DESTDIR.patch
-Patch1:                gnuplot-png.patch
-URL:           http://www.geocities.com/SiliconValley/Foothills/6647/
+Patch1:                gnuplot-info.patch
+URL:           http://www.geocities.com/SiliconValley/Foothills/6647/
 BuildRequires: readline-devel
 BuildRequires: libpng-devel
 BuildRequires: XFree86-devel
-BuildRequires: gd-devel
 BuildRequires: svgalib-devel
 BuildRequires: zlib-devel
 BuildRequires: ncurses-devel
+Prereq:                /usr/sbin/fix-info-dir
 #BuildRequires:        xemacs-lisp-programming
 #or --without-lisp-files
 BuildRoot:     /tmp/%{name}-%{version}-root
 
-%define                _prefix         /usr/X11R6
-%define                _mandir         %{_prefix}/man
+%define                _prefix         /usr
 %define                _datadir        %{_prefix}/share/misc
 
 %description
-This is the GNU plotting package.  It can be used to graph
-data in an X window or to a file.
+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.
 
 %description -l de
 Das GNU-Plotting-Paket. Dient zur grafischen Ausgabe von Daten in 
@@ -49,35 +50,50 @@ Gnuplot, bir fonksiyonun ya da bir veri k
 kullanýlan, çok yetenekli bir görselleþtirme aracýdýr.
 
 %prep
-%setup -q 
+%setup -q
 %patch0 -p1
 %patch1 -p1
 
 %build
-automake
+aclocal -I m4
+autoconf
+autoheader
+
 LDFLAGS="-s"; export LDFLAGS
 %configure \
        --with-gnu-readline \
        --with-png \
-       --with-gd \
+       --without-gd \
        --with-x \
        --without-lisp-files \
+       --without-linux-vga \
        --without-tutorial
 
 make
+(cd docs; makeinfo gnuplot.texi)
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_infodir}
 
 make install DESTDIR=$RPM_BUILD_ROOT
 
-gzip -9fn $RPM_BUILD_ROOT%{_mandir}/man1/*
+install docs/gnuplot.info* $RPM_BUILD_ROOT%{_infodir}
+
+gzip -9fn $RPM_BUILD_ROOT{%{_mandir}/man1/*,%{_infodir}/*}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+
+%postun
+/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/*
 %{_mandir}/man1/*
 %{_datadir}/gnuplot.gih
+%{_infodir}/gnuplot*
This page took 0.106768 seconds and 4 git commands to generate.