]> git.pld-linux.org Git - packages/gnuplot.git/blobdiff - gnuplot.spec
- begin update to 4.4.0
[packages/gnuplot.git] / gnuplot.spec
index dcca64d03699857e01d07871b6e7839a20093827..d8b625be355a3df124725a810ddd91a364bbae50 100644 (file)
@@ -1,28 +1,25 @@
-#
-# Conditional build:
-%bcond_without pdf     # don't use pdflib
-#
 Summary:       A program for plotting mathematical expressions and data
 Summary(de.UTF-8):     GNU-Plotter-Paket
 Summary(es.UTF-8):     Paquete para trazar gráficos
 Summary(fr.UTF-8):     Le programme de traçage de courbe de GNU
+Summary(hu.UTF-8):     Matematikai függvények és adatok ábrázolása
 Summary(pl.UTF-8):     Program GNU do robienia wykresów
 Summary(pt_BR.UTF-8):  Pacote para traçar gráficos
 Summary(ru.UTF-8):     Программа для построения графиков математических выражений и данных
 Summary(tr.UTF-8):     Matematiksel görselleştirme paketi
 Summary(uk.UTF-8):     Програма для побудови графіків математичних виразів та даних
 Name:          gnuplot
-Version:       4.0.0
-Release:       6
+Version:       4.4.0
+Release:       0.1
 License:       distributable (with modifications properly marked if any)
 Group:         Applications/Math
 Source0:       http://dl.sourceforge.net/gnuplot/%{name}-%{version}.tar.gz
-# Source0-md5: 66258443d9f93cc4f46b147dac33e63a
+# Source0-md5: e708665bd512153ad5c35252fe499059
 Source1:       %{name}.desktop
 Source2:       %{name}.png
 Patch0:                %{name}-info.patch
 Patch1:                %{name}-info_install.patch
-Patch2:                %{name}-no_lisp.patch
+Patch2:                %{name}-lua.patch
 URL:           http://gnuplot.sourceforge.net/
 BuildRequires: autoconf >= 2.59-9
 BuildRequires: automake
@@ -30,9 +27,11 @@ BuildRequires:       gd-devel
 BuildRequires: libpng-devel >= 1.0.8
 BuildRequires: libtool
 BuildRequires: ncurses-devel
-%{?with_pdf:BuildRequires:     pdflib-devel}
 BuildRequires: readline-devel
 BuildRequires: texinfo
+BuildRequires: texlive
+BuildRequires: texlive-latex
+BuildRequires: texlive-format-pdflatex
 #BuildRequires:        xemacs-lisp-programming
 BuildRequires: xorg-lib-libX11-devel
 BuildRequires: zlib-devel
@@ -59,6 +58,12 @@ en X Window o para archivo.
 Paquetage de tracé de GNU. Il peut être utilisé pour faire des graphes
 de données dans une fenêtre X ou vers un fichier.
 
+%description -l hu.UTF-8
+Gnuplot egy parancssor-vezérelt, interaktív függvényábrázoló program,
+amely különösen alkalmas tudományos adatok megjelenítésére. A Gnuplot
+alkalmas függvények és adathalmazok ábrázolására, kettő és három
+dimenzióban, különféle formátumokban.
+
 %description -l pl.UTF-8
 GNU plot rysuje wykresy, które można drukować, zapisywać w pliku albo
 oglądać w okienku X.
@@ -114,7 +119,6 @@ rm -f src/getcolor_x11.*
 cd docs
 makeinfo gnuplot.texi
 cd ..
-cp docs/psdoc/ps_guide.ps .
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -124,24 +128,26 @@ install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
 
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT
+       DESTDIR=$RPM_BUILD_ROOT \
+       appdefaultdir=%{_prefix}/share/X11/app-defaults
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%post  -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%postun        -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
 %files
 %defattr(644,root,root,755)
-%doc ps_guide.ps
-%attr(755,root,root) %{_bindir}/*
+%doc docs/psdoc/ps_guide.ps
+%attr(755,root,root) %{_bindir}/gnuplot
 %attr(755,root,root) %{_libdir}/%{name}
-%{_mandir}/man1/*
+%{_mandir}/man1/gnuplot.1*
 %{_datadir}/%{name}
-%{_infodir}/gnuplot*
-%{_desktopdir}/*.desktop
-%{_pixmapsdir}/*
+%{_infodir}/gnuplot.info*
+%{_desktopdir}/gnuplot.desktop
+%{_pixmapsdir}/gnuplot.png
+%{_prefix}/share/X11/app-defaults/Gnuplot
This page took 0.066387 seconds and 4 git commands to generate.