]> git.pld-linux.org Git - packages/gnuplot.git/blob - gnuplot.spec
- BuildRequires: autoconf, automake
[packages/gnuplot.git] / gnuplot.spec
1 Summary:        A program for plotting mathematical expressions and data
2 Summary(de):    GNU-Plotter-Paket
3 Summary(fr):    Le programme de traçage de courbe de GNU
4 Summary(pl):    GNU program do robienia wykresów
5 Summary(tr):    Matematiksel görselleþtirme paketi
6 Name:           gnuplot
7 Version:        3.7.1
8 Release:        11
9 License:        GPL
10 Group:          Applications/Math
11 Group(de):      Applikationen/Mathematik
12 Group(pl):      Aplikacje/Matematyczne
13 Source0:        ftp://ftp.gnuplot.vt.edu/pub/gnuplot/%{name}-%{version}.tar.gz
14 Patch0:         %{name}-DESTDIR.patch
15 Patch1:         %{name}-info.patch
16 URL:            http://www.geocities.com/SiliconValley/Foothills/6647/
17 BuildRequires:  readline-devel
18 BuildRequires:  libpng >= 1.0.8
19 BuildRequires:  XFree86-devel
20 BuildRequires:  zlib-devel
21 BuildRequires:  ncurses-devel
22 BuildRequires:  autoconf
23 BuildRequires:  automake
24 #BuildRequires: xemacs-lisp-programming
25 #or --without-lisp-files
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %define         _datadir        %{_prefix}/share/misc
29
30 %description
31 Gnuplot is a command-line driven, interactive function plotting
32 program especially suited for scientific data representation. Gnuplot
33 can be used to plot functions and data points in both two and three
34 dimensions and in many different formats.
35
36 %description -l de
37 Das GNU-Plotting-Paket. Dient zur grafischen Ausgabe von Daten in
38 einem X-Fenster oder in eine Datei.
39
40 %description -l fr
41 Paquetage de tracé de GNU. Il peut être utilisé pour faire des graphes
42 de données dans une fenêtre X ou vers un fichier.
43
44 %description -l pl
45 GNU plot rysuje wykresy, które mo¿na drukowaæ, zapisywaæ w pliku albo
46 ogl±daæ w okienku X.
47
48 %description -l tr
49 Gnuplot, bir fonksiyonun ya da bir veri kümesinin grafiðinin elde
50 edilmesinde kullanýlan, çok yetenekli bir görselleþtirme aracýdýr.
51
52 %prep
53 %setup -q
54 %patch0 -p1
55 %patch1 -p1
56
57 %build
58 aclocal -I m4
59 autoconf
60 autoheader
61
62 %configure \
63         --with-gnu-readline \
64         --with-png \
65         --without-gd \
66         --with-x \
67         --without-lisp-files \
68         --without-linux-vga \
69         --without-tutorial
70
71 %{__make}
72 (cd docs; makeinfo gnuplot.texi)
73
74 %install
75 rm -rf $RPM_BUILD_ROOT
76 install -d $RPM_BUILD_ROOT%{_infodir}
77
78 %{__make} install DESTDIR=$RPM_BUILD_ROOT
79
80 install docs/gnuplot.info* $RPM_BUILD_ROOT%{_infodir}
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %post
86 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
87
88 %postun
89 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
90
91 %files
92 %defattr(644,root,root,755)
93 %attr(755,root,root) %{_bindir}/*
94 %{_mandir}/man1/*
95 %{_datadir}/gnuplot.gih
96 %{_infodir}/gnuplot*
This page took 0.064261 seconds and 4 git commands to generate.