]> git.pld-linux.org Git - packages/gnuplot.git/blob - gnuplot.spec
- removed Prereq: /usr/sbin/fix-info-dir
[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:        1
9 Copyright:      GPL
10 Group:          Applications/Math
11 Group(pl):      Aplikacje/Matematyczne
12 Source:         ftp://ftp.gnuplot.vt.edu/pub/gnuplot/%{name}-%{version}.tar.gz
13 Patch0:         gnuplot-DESTDIR.patch
14 Patch1:         gnuplot-info.patch
15 URL:            http://www.geocities.com/SiliconValley/Foothills/6647/
16 BuildRequires:  readline-devel
17 BuildRequires:  libpng-devel
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 program
30 especially suited for scientific data representation. Gnuplot can be used
31 to plot functions and data points in both two and three dimensions and in
32 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 edilmesinde
48 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 LDFLAGS="-s"; export LDFLAGS
61 %configure \
62         --with-gnu-readline \
63         --with-png \
64         --without-gd \
65         --with-x \
66         --without-lisp-files \
67         --without-linux-vga \
68         --without-tutorial
69
70 make
71 (cd docs; makeinfo gnuplot.texi)
72
73 %install
74 rm -rf $RPM_BUILD_ROOT
75 install -d $RPM_BUILD_ROOT%{_infodir}
76
77 make install DESTDIR=$RPM_BUILD_ROOT
78
79 install docs/gnuplot.info* $RPM_BUILD_ROOT%{_infodir}
80
81 gzip -9fn $RPM_BUILD_ROOT{%{_mandir}/man1/*,%{_infodir}/*}
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %post
87 [ -x /usr/sbin/fix-info-dir ] && /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
88
89 %postun
90 [ -x /usr/sbin/fix-info-dir ] && /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
91
92 %files
93 %defattr(644,root,root,755)
94 %attr(755,root,root) %{_bindir}/*
95 %{_mandir}/man1/*
96 %{_datadir}/gnuplot.gih
97 %{_infodir}/gnuplot*
This page took 0.039779 seconds and 4 git commands to generate.