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