]> git.pld-linux.org Git - packages/gnuplot.git/blame - gnuplot.spec
- stable texmf install path
[packages/gnuplot.git] / gnuplot.spec
CommitLineData
dddd49b2 1Summary: A program for plotting mathematical expressions and data
edeea3b8
ER
2Summary(de.UTF-8): GNU-Plotter-Paket
3Summary(es.UTF-8): Paquete para trazar gráficos
4Summary(fr.UTF-8): Le programme de traçage de courbe de GNU
5dca2bb0 5Summary(hu.UTF-8): Matematikai függvények és adatok ábrázolása
edeea3b8
ER
6Summary(pl.UTF-8): Program GNU do robienia wykresów
7Summary(pt_BR.UTF-8): Pacote para traçar gráficos
8Summary(ru.UTF-8): Программа для построения графиков математических выражений и данных
9Summary(tr.UTF-8): Matematiksel görselleştirme paketi
10Summary(uk.UTF-8): Програма для побудови графіків математичних виразів та даних
dddd49b2 11Name: gnuplot
b66451bb
KK
12Version: 4.4.2
13Release: 1
abf74b3e 14License: distributable (with modifications properly marked if any)
dddd49b2 15Group: Applications/Math
8b449474 16Source0: http://downloads.sourceforge.net/gnuplot/%{name}-%{version}.tar.gz
b66451bb 17# Source0-md5: a4f0dd89f9b9334890464f687ddd9f50
802d5df1 18Source1: %{name}.desktop
9dfa78c8 19Source2: %{name}.png
c268a6a0 20Patch0: %{name}-info.patch
a2ca0919 21Patch1: %{name}-info_install.patch
4f75b087 22Patch2: %{name}-lua.patch
8b449474 23Patch3: %{name}-wx-config.patch
5936f328 24Patch4: %{name}-4.4.1-mp.patch
7818be62 25URL: http://gnuplot.sourceforge.net/
9726cfa1 26BuildRequires: autoconf >= 2.59-9
5dc17615 27BuildRequires: automake
41890360 28BuildRequires: cairo-devel
c2ee1abb 29BuildRequires: gd-devel
41890360 30BuildRequires: glib2-devel
8b449474 31BuildRequires: gtk+2-devel
a84fd73d 32BuildRequires: libpng-devel >= 1.0.8
a2ca0919 33BuildRequires: libtool
deb58606 34BuildRequires: lua51-devel
81f48443 35BuildRequires: ncurses-devel
41890360 36BuildRequires: pango-devel
37BuildRequires: pkgconfig
81f48443 38BuildRequires: readline-devel
c2ee1abb 39BuildRequires: texinfo
4f75b087 40BuildRequires: texlive
4f75b087 41BuildRequires: texlive-format-pdflatex
41890360 42BuildRequires: texlive-latex
8b449474 43BuildRequires: wxGTK2-unicode-devel
d7926f42 44#BuildRequires: xemacs-lisp-programming
2a98cd6a 45BuildRequires: xorg-lib-libX11-devel
46BuildRequires: zlib-devel
d7926f42 47#or --without-lisp-files
0e6ca9f6 48BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
a6224fbc 49
50%description
5d245235 51Gnuplot is a command-line driven, interactive function plotting
52program especially suited for scientific data representation. Gnuplot
53can be used to plot functions and data points in both two and three
54dimensions and in many different formats.
a6224fbc 55
ca6dfdd2 56%description -l de.UTF-8
5d245235 57Das GNU-Plotting-Paket. Dient zur grafischen Ausgabe von Daten in
58einem X-Fenster oder in eine Datei.
a6224fbc 59
ca6dfdd2
JR
60%description -l es.UTF-8
61Este es el paquete GNU de ploteado. Se puede usar para crear gráficos
0ccf8fe9 62en X Window o para archivo.
63
ca6dfdd2
JR
64%description -l fr.UTF-8
65Paquetage de tracé de GNU. Il peut être utilisé pour faire des graphes
66de données dans une fenêtre X ou vers un fichier.
a6224fbc 67
5dca2bb0
ZU
68%description -l hu.UTF-8
69Gnuplot egy parancssor-vezérelt, interaktív függvényábrázoló program,
70amely különösen alkalmas tudományos adatok megjelenítésére. A Gnuplot
71alkalmas függvények és adathalmazok ábrázolására, kettő és három
72dimenzióban, különféle formátumokban.
73
ca6dfdd2
JR
74%description -l pl.UTF-8
75GNU plot rysuje wykresy, które można drukować, zapisywać w pliku albo
76oglądać w okienku X.
a6224fbc 77
ca6dfdd2
JR
78%description -l pt_BR.UTF-8
79Este é o pacote GNU de plotagem. Pode ser usado para gerar gráficos em
0ccf8fe9 80X Window ou para arquivo.
81
ca6dfdd2
JR
82%description -l ru.UTF-8
83Gnuplot - это интерактивная программа построения графиков, управляемая
84с командной строки. Gnuplot особенно хорошо подходит для презентации
85научных данных и может применяться для отображения функций и данных в
862-х и 3-х измерениях и во многих различных форматах.
c268a6a0 87
ca6dfdd2
JR
88%description -l tr.UTF-8
89Gnuplot, bir fonksiyonun ya da bir veri kümesinin grafiğinin elde
90edilmesinde kullanılan, çok yetenekli bir görselleştirme aracıdır.
a6224fbc 91
ca6dfdd2
JR
92%description -l uk.UTF-8
93Gnuplot - це інтерактивна програма побудови графіків, яка керується з
94командного рядка. Gnuplot особливо гарно підходить для презентації
95наукових даних та може застосовуватись для відображення функцій та
96даних в 2-х та 3-х вимірах та в багатьох різних форматах.
c268a6a0 97
34937da8 98%package latex
2588048a
JB
99Summary: gnuplot support for LaTeX
100Summary(pl.UTF-8): Obsługa gnuplota dla LaTeXa
34937da8 101Group: Applications/Publishing/TeX
2588048a
JB
102# which subpackages? required tex packages: tikz,xxcolor,ifpdf,ifxetex
103Requires: texlive
34937da8
ZU
104
105%description latex
2588048a
JB
106gnuplot support for LaTeX.
107
108%description latex -l pl.UTF-8
109Obsługa gnuplota dla LaTeXa.
34937da8 110
a6224fbc 111%prep
dddd49b2 112%setup -q
d7926f42 113%patch0 -p1
114%patch1 -p1
4f75b087 115%patch2 -p1
8b449474 116%patch3 -p0
5936f328 117%patch4 -p1
a6224fbc 118
119%build
a2ca0919 120%{__libtoolize}
da51e9a6 121%{__aclocal} -I m4
da51e9a6 122%{__autoheader}
a2ca0919 123%{__autoconf}
124%{__automake}
dddd49b2 125
1d965241 126%configure \
c2ee1abb 127 --enable-history-file \
2588048a 128 --with-readline=gnu \
533ebf3b 129 --with-png \
c2ee1abb 130 --with-gd \
d7926f42 131 --with-x \
132 --without-lisp-files \
dddd49b2 133 --without-linux-vga \
fa794e7e 134 %{!?with_pdf:--without-pdf} \
2588048a
JB
135 --without-tutorial \
136 --with-texdir=%{_datadir}/texmf-dist/tex/latex/gnuplot
d7926f42 137
a2ca0919 138# The source tarball incorrectly includes a file that should not be there.
139rm -f src/getcolor_x11.*
140
86b42e7d 141%{__make}
1d965241
JB
142cd docs
143makeinfo gnuplot.texi
c1f68fb1 144cd ..
a6224fbc 145
146%install
147rm -rf $RPM_BUILD_ROOT
8af3eb36 148install -d $RPM_BUILD_ROOT{%{_infodir},%{_desktopdir},%{_pixmapsdir}}
9dfa78c8 149
8af3eb36 150install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
9dfa78c8 151install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
a6224fbc 152
a2ca0919 153%{__make} install \
0eb25396 154 DESTDIR=$RPM_BUILD_ROOT \
8b449474 155 appdefaultdir=%{_datadir}/X11/app-defaults
533ebf3b 156
a6224fbc 157%clean
158rm -rf $RPM_BUILD_ROOT
159
6b2875a1 160%post -p /sbin/postshell
e376f8a3 161-/usr/sbin/fix-info-dir -c %{_infodir}
dddd49b2 162
6b2875a1 163%postun -p /sbin/postshell
e376f8a3 164-/usr/sbin/fix-info-dir -c %{_infodir}
dddd49b2 165
a6224fbc 166%files
533ebf3b 167%defattr(644,root,root,755)
aef05935 168%doc docs/psdoc/ps_guide.ps
6b2875a1 169%attr(755,root,root) %{_bindir}/gnuplot
a2ca0919 170%attr(755,root,root) %{_libdir}/%{name}
6b2875a1 171%{_mandir}/man1/gnuplot.1*
c75bab2c 172%{_datadir}/%{name}
6b2875a1
JB
173%{_infodir}/gnuplot.info*
174%{_desktopdir}/gnuplot.desktop
175%{_pixmapsdir}/gnuplot.png
8b449474 176%{_datadir}/X11/app-defaults/Gnuplot
34937da8
ZU
177
178%files latex
179%defattr(644,root,root,755)
180%{_datadir}/texmf-dist/tex/latex/gnuplot
This page took 0.081562 seconds and 4 git commands to generate.