]> git.pld-linux.org Git - packages/gnuplot.git/blob - gnuplot.spec
- BR: libpng-devel not libpng
[packages/gnuplot.git] / gnuplot.spec
1 Summary:        A program for plotting mathematical expressions and data
2 Summary(de):    GNU-Plotter-Paket
3 Summary(es):    Paquete para trazar gráficos
4 Summary(fr):    Le programme de traçage de courbe de GNU
5 Summary(pl):    Program GNU do robienia wykresów
6 Summary(pt_BR): Pacote para traçar gráficos
7 Summary(ru):    ðÒÏÇÒÁÍÍÁ ÄÌÑ ÐÏÓÔÒÏÅÎÉÑ ÇÒÁÆÉËÏ× ÍÁÔÅÍÁÔÉÞÅÓËÉÈ ×ÙÒÁÖÅÎÉÊ É ÄÁÎÎÙÈ
8 Summary(tr):    Matematiksel görselleþtirme paketi
9 Summary(uk):    ðÒÏÇÒÁÍÁ ÄÌÑ ÐÏÂÕÄÏ×É ÇÒÁƦ˦נÍÁÔÅÍÁÔÉÞÎÉÈ ×ÉÒÁڦנÔÁ ÄÁÎÉÈ
10 Name:           gnuplot
11 Version:        4.0.0
12 Release:        3
13 License:        GPL
14 Group:          Applications/Math
15 Source0:        http://dl.sourceforge.net/gnuplot/%{name}-%{version}.tar.gz
16 # Source0-md5:  66258443d9f93cc4f46b147dac33e63a
17 Source1:        %{name}.desktop
18 Source2:        %{name}.png
19 Patch0:         %{name}-info.patch
20 Patch1:         %{name}-info_install.patch
21 Patch2:         %{name}-no_lisp.patch
22 URL:            http://gnuplot.sourceforge.net/
23 BuildRequires:  XFree86-devel
24 BuildRequires:  autoconf
25 BuildRequires:  automake
26 BuildRequires:  gd-devel
27 BuildRequires:  libpng-devel >= 1.0.8
28 BuildRequires:  libtool
29 BuildRequires:  ncurses-devel
30 BuildRequires:  pdflib-devel
31 BuildRequires:  readline-devel
32 BuildRequires:  texinfo
33 BuildRequires:  zlib-devel
34 #BuildRequires: xemacs-lisp-programming
35 #or --without-lisp-files
36 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38 %define         _datadir        %{_prefix}/share/misc
39
40 %description
41 Gnuplot is a command-line driven, interactive function plotting
42 program especially suited for scientific data representation. Gnuplot
43 can be used to plot functions and data points in both two and three
44 dimensions and in many different formats.
45
46 %description -l de
47 Das GNU-Plotting-Paket. Dient zur grafischen Ausgabe von Daten in
48 einem X-Fenster oder in eine Datei.
49
50 %description -l es
51 Este es el paquete GNU de ploteado. Se puede usar para crear gráficos
52 en X Window o para archivo.
53
54 %description -l fr
55 Paquetage de tracé de GNU. Il peut être utilisé pour faire des graphes
56 de données dans une fenêtre X ou vers un fichier.
57
58 %description -l pl
59 GNU plot rysuje wykresy, które mo¿na drukowaæ, zapisywaæ w pliku albo
60 ogl±daæ w okienku X.
61
62 %description -l pt_BR
63 Este é o pacote GNU de plotagem. Pode ser usado para gerar gráficos em
64 X Window ou para arquivo.
65
66 %description -l ru
67 Gnuplot - ÜÔÏ ÉÎÔÅÒÁËÔÉ×ÎÁÑ ÐÒÏÇÒÁÍÍÁ ÐÏÓÔÒÏÅÎÉÑ ÇÒÁÆÉËÏ×, ÕÐÒÁ×ÌÑÅÍÁÑ
68 Ó ËÏÍÁÎÄÎÏÊ ÓÔÒÏËÉ. Gnuplot ÏÓÏÂÅÎÎÏ ÈÏÒÏÛÏ ÐÏÄÈÏÄÉÔ ÄÌÑ ÐÒÅÚÅÎÔÁÃÉÉ
69 ÎÁÕÞÎÙÈ ÄÁÎÎÙÈ É ÍÏÖÅÔ ÐÒÉÍÅÎÑÔØÓÑ ÄÌÑ ÏÔÏÂÒÁÖÅÎÉÑ ÆÕÎËÃÉÊ É ÄÁÎÎÙÈ ×
70 2-È É 3-È ÉÚÍÅÒÅÎÉÑÈ É ×Ï ÍÎÏÇÉÈ ÒÁÚÌÉÞÎÙÈ ÆÏÒÍÁÔÁÈ.
71
72 %description -l tr
73 Gnuplot, bir fonksiyonun ya da bir veri kümesinin grafiðinin elde
74 edilmesinde kullanýlan, çok yetenekli bir görselleþtirme aracýdýr.
75
76 %description -l uk
77 Gnuplot - ÃÅ ¦ÎÔÅÒÁËÔÉ×ÎÁ ÐÒÏÇÒÁÍÁ ÐÏÂÕÄÏ×É ÇÒÁƦ˦×, ÑËÁ ËÅÒÕ¤ÔØÓÑ Ú
78 ËÏÍÁÎÄÎÏÇÏ ÒÑÄËÁ. Gnuplot ÏÓÏÂÌÉ×Ï ÇÁÒÎϠЦÄÈÏÄÉÔØ ÄÌÑ ÐÒÅÚÅÎÔÁæ§
79 ÎÁÕËÏ×ÉÈ ÄÁÎÉÈ ÔÁ ÍÏÖÅ ÚÁÓÔÏÓÏ×Õ×ÁÔÉÓØ ÄÌѠצÄÏÂÒÁÖÅÎÎÑ ÆÕÎËæʠÔÁ
80 ÄÁÎÉÈ × 2-È ÔÁ 3-È ×ÉͦÒÁÈ ÔÁ × ÂÁÇÁÔØÏÈ Ò¦ÚÎÉÈ ÆÏÒÍÁÔÁÈ.
81
82 %prep
83 %setup -q
84 %patch0 -p1
85 %patch1 -p1
86 %patch2 -p1
87
88 %build
89 %{__libtoolize}
90 %{__aclocal} -I m4
91 %{__autoheader}
92 %{__autoconf}
93 %{__automake}
94
95 %configure \
96         --with-readline=gnu \
97         --enable-history-file \
98         --with-png \
99         --with-gd \
100         --with-x \
101         --without-lisp-files \
102         --without-linux-vga \
103         --without-tutorial
104
105 # The source tarball incorrectly includes a file that should not be there.
106 rm -f src/getcolor_x11.*
107
108 %{__make}
109 cd docs
110 makeinfo gnuplot.texi
111
112 %install
113 rm -rf $RPM_BUILD_ROOT
114 install -d $RPM_BUILD_ROOT{%{_infodir},%{_desktopdir},%{_pixmapsdir}}
115
116 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
117 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
118
119 %{__make} install \
120         DESTDIR=$RPM_BUILD_ROOT
121
122 %clean
123 rm -rf $RPM_BUILD_ROOT
124
125 %post
126 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
127
128 %postun
129 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
130
131 %files
132 %defattr(644,root,root,755)
133 %attr(755,root,root) %{_bindir}/*
134 %attr(755,root,root) %{_libdir}/%{name}
135 %{_mandir}/man1/*
136 %{_datadir}/%{name}
137 %{_infodir}/gnuplot*
138 %{_desktopdir}/*
139 %{_pixmapsdir}/*
This page took 0.175107 seconds and 4 git commands to generate.