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