]> git.pld-linux.org Git - packages/gnuplot.git/blob - gnuplot.spec
- switch to rpm 3.0.2
[packages/gnuplot.git] / gnuplot.spec
1 Summary:        GNU plotting package
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.0.8
8 Release:        1
9 Copyright:      GPL
10 Group:          Applications/Math
11 Group(pl):      Aplikacje/Matematyczne
12 Source:         ftp://ftp.gnuplot.vt.edu/pub/gnuplot/beta/%{name}-%{version}.tar.gz
13 Patch:          gnuplot-DESTDIR.patch
14 URL:            http://www.geocities.com/SiliconValley/Foothills/6647/
15 BuildRequires:  readline-devel
16 BuildRequires:  libpng-devel
17 BuildRequires:  XFree86-devel
18 BuildRequires:  gd-devel
19 BuildRequires:  svgalib-devel
20 BuildRequires:  zlib-devel
21 BuildRequires:  ncurses-devel
22 BuildRoot:      /tmp/%{name}-%{version}-root
23
24 %define         _prefix         /usr/X11R6
25 %define         _mandir         %{_prefix}/man
26 %define         _datadir        %{_prefix}/share/misc
27
28 %description
29 This is the GNU plotting package.  It can be used to graph
30 data in an X window or to a file.
31
32 %description -l de
33 Das GNU-Plotting-Paket. Dient zur grafischen Ausgabe von Daten in 
34 einem X-Fenster oder in eine Datei. 
35
36 %description -l fr
37 Paquetage de tracé de GNU. Il peut être utilisé pour faire des graphes
38 de données dans une fenêtre X ou vers un fichier.
39
40 %description -l pl
41 GNU plot rysuje wykresy, które mo¿na drukowaæ, zapisywaæ w pliku albo
42 ogl±daæ w okienku X.
43
44 %description -l tr
45 Gnuplot, bir fonksiyonun ya da bir veri kümesinin grafiðinin elde edilmesinde
46 kullanýlan, çok yetenekli bir görselleþtirme aracýdýr.
47
48 %prep
49 %setup -q 
50 %patch -p1
51
52 %build
53 automake
54 LDFLAGS="-s"; export LDFLAGS
55 %configure \
56         --with-gnu-readline \
57         --with-png \
58         --with-gd \
59         --with-x
60 make
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64
65 make install DESTDIR=$RPM_BUILD_ROOT
66
67 gzip -9fn $RPM_BUILD_ROOT%{_mandir}/man1/*
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files
73 %defattr(644,root,root,755)
74 %attr(755,root,root) %{_bindir}/*
75 %{_mandir}/man1/*
76 %{_datadir}/gnuplot.gih
This page took 0.059368 seconds and 4 git commands to generate.