]> git.pld-linux.org Git - packages/gnuplot.git/blob - gnuplot.spec
- standarized line with BuildRoot field:
[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
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 URL:            http://www.geocities.com/SiliconValley/Foothills/6647/
14 BuildPrereq:    readline-devel
15 BuildPrereq:    libpng-devel
16 BuildPrereq:    XFree86-devel
17 BuildPrereq:    gd-devel
18 BuildPrereq:    svgalib-devel
19 BuildPrereq:    zlib-devel
20 BuildPrereq:    ncurses-devel
21 BuildRoot:      /tmp/%{name}-%{version}-root
22
23 %description
24 This is the GNU plotting package.  It can be used to graph
25 data in an X window or to a file.
26
27 %description -l de
28 Das GNU-Plotting-Paket. Dient zur grafischen Ausgabe von Daten in 
29 einem X-Fenster oder in eine Datei. 
30
31 %description -l fr
32 Paquetage de tracé de GNU. Il peut être utilisé pour faire des graphes
33 de données dans une fenêtre X ou vers un fichier.
34
35 %description -l pl
36 GNU plot rysuje wykresy, które mo¿na drukowaæ, zapisywaæ w pliku albo
37 ogl±daæ w okienku X.
38
39 %description -l tr
40 Gnuplot, bir fonksiyonun ya da bir veri kümesinin grafiðinin elde edilmesinde
41 kullanýlan, çok yetenekli bir görselleþtirme aracýdýr.
42
43 %prep
44 %setup -q 
45
46 %build
47 CFLAGS="$RPM_OPT_FLAGS" \
48 ./configure \
49         --target=%{_target_platform} \
50         --host=%{_host} \
51         --prefix=/usr/X11R6 \
52         --with-gnu-readline \
53         --with-png \
54         --with-gd \
55         --with-x
56 make
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT/usr/X11R6/{bin,share/man/man1}
61
62 install -s gnuplot gnuplot_x11 $RPM_BUILD_ROOT/usr/X11R6/bin
63 install docs/gnuplot.1 $RPM_BUILD_ROOT/usr/X11R6/share/man/man1
64 install docs/gnuplot.gih $RPM_BUILD_ROOT/usr/X11R6/share
65
66 gzip -9fn $RPM_BUILD_ROOT/usr/X11R6/share/man/man1/*
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %files
72 %defattr(644,root,root,755)
73 %attr(755,root,root) /usr/X11R6/bin/*
74 /usr/X11R6/share/man/man1/*
75 /usr/X11R6/share/gnuplot.gih
76
77 %changelog
78 * Sun Jan 24 1999 Artur Frysiak <wiget@usa.net>
79   [3.7-1]
80 - changed Sources address
81 - changed URL address
82
83 * Sat Oct 17 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
84   [3.6beta347-2]
85 - changed way pass $RPM_OPT_FLAGS (as a configure eviroment variable).
86
87 * Mon Sep 28 1998 Marcin 'Qrczak' Kowalczyk <qrczak@knm.org.pl>
88   [3.6beta347-1]
89 - changed Version / Release numbering scheme,
90 - use %{name} and %{version} macros,
91 - `mkdir -p' replaced with more standard `install -d',
92 - added full %attr description in %files,
93 - removed unnecessary empty %{_datadir}/gnuplot directory,
94 - added pl translation,
95 - fixed using $RPM_OPT_FLAGS.
96
97 * Fri Sep 11 1998 Jeff Johnson <jbj@redhat.com>
98 - update to 2.6beta347
99
100 * Sat Aug 15 1998 Jeff Johnson <jbj@redhat.com>
101 - build root
102
103 * Thu May 07 1998 Prospector System <bugs@redhat.com>
104 - translations modified for de, fr, tr
105
106 * Mon Oct 20 1997 Donnie Barnes <djb@redhat.com>
107 - spec file cleanups
108
109 * Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
110 - built against glibc
This page took 0.073011 seconds and 4 git commands to generate.