]> git.pld-linux.org Git - packages/plplot.git/blame - plplot.spec
- BC on plplot too
[packages/plplot.git] / plplot.spec
CommitLineData
24f3ccb3 1# TODO:
b5754d50 2# - fix building with installed plplot/plplot-devel (tries to use installed drivers for dyn_test)
c91309ac 3# - perl_pdl - why disabled?
dfb5774e 4# - bindings: d, gnome2, tk-x-plat?
6d02273c
JB
5# NOTES:
6# aqt driver is Darwin-only
7# wingcc driver is Windows-only
8# gd driver is not maintained
dfb5774e
JB
9# dg300,gcw,gnome,hpgl,impress,linuxvga,ljii,ljiip,pbm,tek drivers are retired
10# pstex driver deprecated in favour of psttf and pscairo
fbce7ed6
JB
11#
12# Conditional build:
24f3ccb3 13%bcond_without gnome2 # GNOME 2 and pygtk bindings
161f3dd0 14%bcond_with perl_pdl # enable perl examples in tests
e1e76d15 15%bcond_with ada # Ada binding
a76be064 16%bcond_without java # Java binding
b3a0e6fb 17%bcond_without itcl # [incr Tcl]/[incr Tk] support in Tcl/Tk binding
c91309ac 18%bcond_without lua # Lua binding
baf7d19d 19%bcond_without ocaml # OCaml binding
fbce7ed6 20#
fbce7ed6 21Summary: PLplot - a library of functions that are useful for making scientific plots
fbecc96b 22Summary(pl.UTF-8): PLplot - biblioteka funkcji przydatnych do tworzenia wykresów naukowych
fbce7ed6 23Name: plplot
cce322e2 24Version: 5.9.9
4e5029b2 25Release: 8
cce322e2 26License: LGPL v2+
fbce7ed6 27Group: Libraries
cce322e2
JB
28Source0: http://downloads.sourceforge.net/plplot/%{name}-%{version}.tar.gz
29# Source0-md5: 9f2c8536a58875d97ab6b29bbed67d26
e575e93b 30Patch0: %{name}-octave.patch
3013bac9 31Patch1: %{name}-qhull.patch
cce322e2
JB
32Patch2: %{name}-link.patch
33Patch3: %{name}-cmake.patch
24f3ccb3 34Patch4: %{name}-nofonts.patch
dfb5774e 35Patch5: %{name}-adadirs.patch
bf39647e 36Patch6: %{name}-ocamldir.patch
fbce7ed6 37URL: http://plplot.sourceforge.net/
a7b00b76
JR
38BuildRequires: QtGui-devel
39BuildRequires: QtSvg-devel
40BuildRequires: QtXml-devel
24f3ccb3 41BuildRequires: agg-devel
cce322e2 42BuildRequires: cmake >= 2.6.4
fbce7ed6 43BuildRequires: docbook-style-dsssl
43d4c738 44BuildRequires: fftw3-devel
008b57e3 45BuildRequires: fftw3-single-devel
fbce7ed6 46BuildRequires: freetype-devel >= 2.1.0
dfb5774e 47%{?with_ada:BuildRequires: gcc-ada >= 5:4.1}
a7b00b76
JR
48BuildRequires: gcc-c++
49BuildRequires: gcc-fortran
b3a0e6fb
JB
50%{?with_itcl:BuildRequires: itcl-devel >= 3.4.1}
51%{?with_itcl:BuildRequires: itk-devel >= 3.4}
fbce7ed6
JB
52BuildRequires: jadetex
53%{?with_java:BuildRequires: jdk}
5017ee9b 54%{?with_java:BuildRequires: jpackage-utils}
43d4c738 55BuildRequires: lapack-devel
24f3ccb3
JB
56BuildRequires: libLASi-devel
57%{?with_gnome2:BuildRequires: libgnomeprintui-devel >= 2.2}
6d02273c 58BuildRequires: libharu-devel >= 2.1.0
fbce7ed6 59BuildRequires: libjpeg-devel
008b57e3 60BuildRequires: libltdl-devel
fbce7ed6
JB
61BuildRequires: libpng-devel
62BuildRequires: libstdc++-devel
0d46ab74 63%{?with_lua:BuildRequires: lua51 >= 5.1}
c91309ac 64%{?with_lua:BuildRequires: lua51-devel >= 5.1}
3ad31e35 65BuildRequires: octave-devel >= 2:3.4.2
e575e93b 66BuildRequires: pango-devel
a7b00b76 67%{?with_perl_pdl:BuildRequires: perl-PDL}
161f3dd0 68BuildRequires: perl-XML-DOM
008b57e3 69BuildRequires: perl-XML-Parser
70BuildRequires: perl-XML-SAX-Expat
30d0607a 71BuildRequires: pkgconfig
a7b00b76
JR
72BuildRequires: pango-devel
73BuildRequires: python-PyQt4-devel
f448fc80 74BuildRequires: python-numpy-devel >= 15.3
d32d40fb 75BuildRequires: python-devel >= 1:2.3
36a9c586 76BuildRequires: python-sip-devel
24f3ccb3 77%{?with_gnome2:BuildRequires: python-pygtk-devel >= 2:2.13.0}
3013bac9 78BuildRequires: qhull-devel >= 2011.1
e575e93b 79BuildRequires: qt4-build
a7b00b76 80BuildRequires: qt4-qmake
008b57e3 81BuildRequires: rpm-pythonprov
b3a0e6fb 82BuildRequires: rpmbuild(macros) >= 1.605
598cb4da 83BuildRequires: sed >= 4.0
a7b00b76 84BuildRequires: sip
161f3dd0 85BuildRequires: swig
4b6553b3 86BuildRequires: swig-python
24f3ccb3 87BuildRequires: tcl-devel >= 8.5
fbce7ed6
JB
88BuildRequires: tetex-dvips
89BuildRequires: texinfo
24f3ccb3
JB
90BuildRequires: tk-devel >= 8.5
91BuildRequires: wxGTK2-unicode-devel >= 2.6.0
a7b00b76
JR
92BuildRequires: xorg-lib-libXext-devel
93BuildRequires: xorg-lib-libICE-devel
94BuildRequires: xorg-lib-libX11-devel
baf7d19d
JB
95%if %{with ocaml}
96BuildRequires: ocaml
97BuildRequires: ocaml-cairo-devel >= 1.2.0
98BuildRequires: ocaml-camlidl
99BuildRequires: ocaml-findlib
100BuildRequires: ocaml-lablgtk2-devel
101%endif
b5754d50 102BuildConflicts: plplot
3b75c2ab 103BuildConflicts: plplot-devel
fbce7ed6
JB
104BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
105
30d0607a
JB
106%define octave_oct_sitedir %(octave-config --oct-site-dir)
107%define octave_m_sitedir %(octave-config --m-site-dir)
dd2a3e31 108
dfb5774e 109%define gcc_target %(%{__cc} -dumpmachine)
8f9b1d36
JR
110%define ada_incdir %{_libdir}/gcc/%{gcc_target}/%{cc_version}/adainclude
111%define ada_objdir %{_libdir}/gcc/%{gcc_target}/%{cc_version}/adalib
dfb5774e 112
fbce7ed6
JB
113%description
114PLplot is a library of functions that are useful for making scientific
115plots. It can be used from within compiled languages such as C, C++,
116FORTRAN and Java, and interactively from interpreted languages such as
117Octave, Python, Perl and Tcl.
118
119The PLplot library can be used to create standard X-Y plots, semilog
120plots, log-log plots, contour plots, 3D surface plots, mesh plots, bar
121charts and pie charts. Multiple graphs (of the same or different
122sizes) may be placed on a single page with multiple lines in each
123graph.
124
7fa8ed02
ER
125A variety of output file devices such as PostScript, PNG, JPEG, LaTeX
126and others, as well as interactive devices such as xwin, tk, xterm and
127Tektronics devices are supported. New devices can be easily added by
128writing a small number of device dependent routines.
fbce7ed6 129
4205e3d0
JR
130%description -l pl.UTF-8
131PLplot to biblioteka funkcji przydatnych do tworzenia wykresów
7fa8ed02
ER
132naukowych. Może być używana z poziomu języków kompilowanych takich jak
133C, C++, FORTRAN czy Java, albo interaktywnie z poziomu języków
fbce7ed6
JB
134interpretowanych takich jak Octave, Python, Perl czy Tcl.
135
4205e3d0
JR
136Bibliotekę PLplot można wykorzystać do tworzenia standardowych
137wykresów X-Y, wykresów półlogarytmicznych, wykresów konturowych,
138wykresów powierzchni trójwymiarowych, wykresów siatek, wykresów
139słupkowych i kołowych. Na jednej stronie można umieścić wiele wykresów
140(o tych samych lub różnych rozmiarach), na jednym wykresie może być
fbce7ed6
JB
141wiele linii.
142
4205e3d0
JR
143Obsługiwanych jest wiele urządzeń wyjściowych, w tym PostScript, PNG,
144JPEG, LaTeX i inne, a także urządzenia interaktywne, takie jak xwin,
145tk, xterm i Tektronics. Nowe urządzenia można łatwo dodać pisząc parę
146zależnych od urządzenia funkcji.
fbce7ed6 147
fbce7ed6
JB
148%package driver-ntk
149Summary: ntk driver for PLplot library
fbecc96b 150Summary(pl.UTF-8): Sterownik ntk dla biblioteki PLplot
fbce7ed6
JB
151Group: Libraries
152Requires: %{name} = %{version}-%{release}
153
154%description driver-ntk
155ntk (new tk) driver for PLplot library. It supports Tcl/Tk output.
156
4205e3d0
JR
157%description driver-ntk -l pl.UTF-8
158Sterownik ntk (new tk) dla biblioteki PLplot. Obsługuje wyjście
fbce7ed6
JB
159poprzez Tcl/Tk.
160
6d02273c
JB
161%package driver-pdf
162Summary: pdf driver for PLplot library
163Summary(pl.UTF-8): Sterownik pdf dla biblioteki PLplot
164Group: Libraries
165Requires: %{name} = %{version}-%{release}
166Requires: libharu >= 2.1.0
167
168%description driver-pdf
169pdf driver for PLplot library. It's PDF driver using Haru library.
170
171%description driver-pdf -l pl.UTF-8
172Sterownik pdf dla biblioteki PLplot. Jest to sterownik PDF
173wykorzystujący bibliotekę Haru.
174
24f3ccb3
JB
175%package driver-psttf
176Summary: psttf driver for PLplot library
177Summary(pl.UTF-8): Sterownik psttf dla biblioteki PLplot
178Group: Libraries
179Requires: %{name} = %{version}-%{release}
180
181%description driver-psttf
182psttf driver for PLplot library. It's PostScript driver using LASi to
183provide fonts.
184
185%description driver-psttf -l pl.UTF-8
186Sterownik psttf dla biblioteki PLplot. Jest to sterownik
187postscriptowy, wykorzystujący LASi do obsługi fontów.
188
fbce7ed6
JB
189%package driver-tk
190Summary: Tk drivers for PLplot library
fbecc96b 191Summary(pl.UTF-8): Sterowniki Tk dla biblioteki PLplot
fbce7ed6
JB
192Group: Libraries
193Requires: %{name}-tcl = %{version}-%{release}
194
195%description driver-tk
196Tk and tkwin drivers for PLplot library. They support Tcl/Tk output.
197
e575e93b 198%description driver-tk -l pl.UTF-8
4205e3d0 199Sterownik Tk i tkwin dla biblioteki PLplot. Obsługują wyjście poprzez
fbce7ed6
JB
200Tcl/Tk.
201
e575e93b
JR
202%package driver-cairo
203Summary: Cairo driver for PLplot library
204Summary(pl.UTF-8): Sterownik cairo dla biblioteki PLplot
205Group: Libraries
206Requires: %{name} = %{version}-%{release}
207
208%description driver-cairo
24f3ccb3
JB
209Cairo driver for PLplot library. It supports JPEG and PNG output
210formats.
e575e93b
JR
211
212%description driver-cairo -l pl.UTF-8
24f3ccb3
JB
213Sterownik cairo dla biblioteki PLplot. Obsługuje formaty wyjścia JPEG
214i PNG.
e575e93b
JR
215
216%package driver-qt4
217Summary: Qt4 driver for PLplot library
218Summary(pl.UTF-8): Sterownik Qt4 dla biblioteki PLplot
219Group: Libraries
220Requires: %{name}-qt4 = %{version}-%{release}
221
222%description driver-qt4
24f3ccb3 223Qt4 driver for PLplot library. Supports Qt4 output.
e575e93b
JR
224
225%description driver-qt4 -l pl.UTF-8
226Sterownik Qt4 dla biblioteki PLplot. Obsługuje wyjście poprzez Qt4.
227
24f3ccb3
JB
228%package driver-wxwidgets
229Summary: wxWidgets driver for PLplot library
230Summary(pl.UTF-8): Sterownik wxWidgets dla biblioteki PLplot
231Group: Libraries
6d02273c 232Requires: %{name} = %{version}-%{release}
24f3ccb3
JB
233
234%description driver-wxwidgets
235wxWidgets driver for PLplot library. Supports wxWidgets output.
236
237%description driver-wxwidgets -l pl.UTF-8
238Sterownik wxWidgets dla biblioteki PLplot. Obsługuje wyjście poprzez
239wxWidgets.
240
fbce7ed6
JB
241%package driver-xwin
242Summary: xwin driver for PLplot library
fbecc96b 243Summary(pl.UTF-8): Sterownik xwin dla biblioteki PLplot
fbce7ed6
JB
244Group: Libraries
245Requires: %{name} = %{version}-%{release}
246
247%description driver-xwin
248xwin driver for PLplot library. It supports X Window System output.
249
4205e3d0
JR
250%description driver-xwin -l pl.UTF-8
251Sterownik ntk (new tk) dla biblioteki PLplot. Obsługuje wyjście do
fbce7ed6
JB
252okna systemu X Window.
253
254%package devel
255Summary: Header files for PLplot library
fbecc96b 256Summary(pl.UTF-8): Pliki nagłówkowe biblioteki PLplot
fbce7ed6
JB
257Group: Development/Libraries
258Requires: %{name} = %{version}-%{release}
259Requires: freetype-devel >= 2.1
260Requires: qhull-devel
a7b00b76 261Obsoletes: plplot-static
fbce7ed6
JB
262
263%description devel
264Header files for PLplot library.
265
4205e3d0
JR
266%description devel -l pl.UTF-8
267Pliki nagłówkowe biblioteki PLplot.
fbce7ed6 268
fbce7ed6
JB
269%package c++
270Summary: PLplot library - C++ binding
fbecc96b 271Summary(pl.UTF-8): Biblioteka PLplot - wiązanie dla C++
fbce7ed6
JB
272Group: Libraries
273Requires: %{name} = %{version}-%{release}
274
275%description c++
276PLplot library - C++ binding.
277
4205e3d0
JR
278%description c++ -l pl.UTF-8
279Biblioteka PLplot - wiązanie dla C++.
fbce7ed6
JB
280
281%package c++-devel
282Summary: PLplot library - C++ binding development files
fbecc96b 283Summary(pl.UTF-8): Biblioteka PLplot - pliki programistyczne wiązania dla C++
fbce7ed6
JB
284Group: Development/Libraries
285Requires: %{name}-c++ = %{version}-%{release}
286Requires: %{name}-devel = %{version}-%{release}
287Requires: libstdc++-devel
a7b00b76 288Obsoletes: plplot-c++-static
fbce7ed6
JB
289
290%description c++-devel
291PLplot library - C++ binding development files.
292
4205e3d0
JR
293%description c++-devel -l pl.UTF-8
294Biblioteka PLplot - pliki programistyczne wiązania dla C++.
fbce7ed6 295
fbce7ed6
JB
296%package f77
297Summary: PLplot library - FORTRAN 77 binding
fbecc96b 298Summary(pl.UTF-8): Biblioteka PLplot - wiązanie dla języka FORTRAN 77
fbce7ed6
JB
299Group: Libraries
300Requires: %{name} = %{version}-%{release}
301
302%description f77
303PLplot library - FORTRAN 77 binding.
304
4205e3d0
JR
305%description f77 -l pl.UTF-8
306Biblioteka PLplot - wiązanie dla języka FORTRAN 77.
fbce7ed6
JB
307
308%package f77-devel
309Summary: PLplot library - FORTRAN 77 binding development files
fbecc96b 310Summary(pl.UTF-8): Biblioteka PLplot - pliki programistyczne wiązania dla języka FORTRAN 77
fbce7ed6
JB
311Group: Development/Libraries
312Requires: %{name}-devel = %{version}-%{release}
313Requires: %{name}-f77 = %{version}-%{release}
a7b00b76
JR
314Requires: gcc-fortran
315Obsoletes: plplot-f77-static
fbce7ed6
JB
316
317%description f77-devel
318PLplot library - FORTRAN 77 binding development files.
319
4205e3d0
JR
320%description f77-devel -l pl.UTF-8
321Biblioteka PLplot - pliki programistyczne wiązania dla języka FORTRAN
fbce7ed6
JB
32277.
323
e575e93b
JR
324%package f95
325Summary: PLplot library - FORTRAN 95 binding
326Summary(pl.UTF-8): Biblioteka PLplot - wiązanie dla języka FORTRAN 95
327Group: Libraries
328Requires: %{name} = %{version}-%{release}
329
330%description f95
331PLplot library - FORTRAN 95 binding.
332
333%description f95 -l pl.UTF-8
334Biblioteka PLplot - wiązanie dla języka FORTRAN 95.
335
336%package f95-devel
337Summary: PLplot library - FORTRAN 95 binding development files
cce322e2 338Summary(pl.UTF-8): Biblioteka PLplot - pliki programistyczne wiązania dla języka FORTRAN 95
e575e93b
JR
339Group: Development/Libraries
340Requires: %{name}-devel = %{version}-%{release}
341Requires: %{name}-f95 = %{version}-%{release}
342Requires: gcc-fortran
343
344%description f95-devel
345PLplot library - FORTRAN 95 binding development files.
346
347%description f95-devel -l pl.UTF-8
348Biblioteka PLplot - pliki programistyczne wiązania dla języka FORTRAN
34995.
350
dfb5774e
JB
351%package ada
352Summary: PLplot library - Ada binding
353Summary(pl.UTF-8): Biblioteka PLplot - wiązanie dla Ady
354Group: Libraries
355Requires: %{name} = %{version}-%{release}
356
357%description ada
358PLplot library - Ada binding.
359
360%description ada -l pl.UTF-8
361Biblioteka PLplot - wiązanie dla Ady.
362
363%package ada-devel
364Summary: PLplot library - Ada binding development files
365Summary(pl.UTF-8): Biblioteka PLplot - pliki programistyczne wiązania dla Ady
366Group: Development/Libraries
367Requires: %{name}-devel = %{version}-%{release}
368Requires: %{name}-ada = %{version}-%{release}
369
370%description ada-devel
371PLplot library - Ada binding development files.
372
373%description ada-devel -l pl.UTF-8
374Biblioteka PLplot - pliki programistyczne wiązania dla Ady.
375
fbce7ed6
JB
376%package java
377Summary: PLplot library - Java binding
fbecc96b 378Summary(pl.UTF-8): Biblioteka PLplot - wiązanie dla Javy
fbce7ed6
JB
379Group: Libraries
380Requires: %{name} = %{version}-%{release}
381
382%description java
383PLplot library - Java binding.
384
4205e3d0
JR
385%description java -l pl.UTF-8
386Biblioteka PLplot - wiązanie dla Javy.
fbce7ed6
JB
387
388%package java-devel
389Summary: PLplot library - Java binding development files
fbecc96b 390Summary(pl.UTF-8): Biblioteka PLplot - pliki programistyczne wiązania dla Javy
fbce7ed6
JB
391Group: Development/Libraries
392Requires: %{name}-devel = %{version}-%{release}
393Requires: %{name}-java = %{version}-%{release}
f43eed59 394Obsoletes: plplot-java-static
fbce7ed6
JB
395
396%description java-devel
397PLplot library - Java binding development files.
398
aff6d369 399%description java-devel -l pl.UTF-8
4205e3d0 400Biblioteka PLplot - pliki programistyczne wiązania dla Javy.
fbce7ed6 401
fbce7ed6
JB
402%package tcl
403Summary: PLplot library - Tcl/Tk binding
fbecc96b 404Summary(pl.UTF-8): Biblioteka PLplot - wiązanie dla Tcl/Tk
fbce7ed6
JB
405Group: Libraries
406Requires: %{name} = %{version}-%{release}
407
408%description tcl
409PLplot library - Tcl/Tk binding.
410
4205e3d0
JR
411%description tcl -l pl.UTF-8
412Biblioteka PLplot - wiązanie dla Tcl/Tk.
fbce7ed6
JB
413
414%package tcl-devel
415Summary: PLplot library - Tcl/Tk binding development files
fbecc96b 416Summary(pl.UTF-8): Biblioteka PLplot - pliki programistyczne wiązania dla Tcl/Tk
fbce7ed6
JB
417Group: Development/Libraries
418Requires: %{name}-devel = %{version}-%{release}
419Requires: %{name}-tcl = %{version}-%{release}
a7b00b76
JR
420%{?with_itcl:Requires: itcl-devel}
421Obsoletes: plplot-tcl-static
fbce7ed6
JB
422
423%description tcl-devel
424PLplot library - Tcl/Tk binding development files.
425
4205e3d0
JR
426%description tcl-devel -l pl.UTF-8
427Biblioteka PLplot - pliki programistyczne wiązania dla Tcl/Tk.
fbce7ed6 428
e575e93b
JR
429%package qt4
430Summary: PLplot library - Qt4 binding
431Summary(pl.UTF-8): Biblioteka PLplot - wiązanie dla Qt4
432Group: Libraries
433Requires: %{name} = %{version}-%{release}
434
435%description qt4
436PLplot library - Qt4 binding.
437
aff6d369 438%description qt4 -l pl.UTF-8
e575e93b
JR
439Biblioteka PLplot - wiązanie dla Qt4.
440
441%package qt4-devel
442Summary: PLplot library - Qt4 binding development files
443Summary(pl.UTF-8): Biblioteka PLplot - pliki programistyczne wiązania dla Qt4
444Group: Development/Libraries
445Requires: %{name}-qt4 = %{version}-%{release}
446Requires: %{name}-devel = %{version}-%{release}
447Requires: QtGui-devel
448Requires: QtSvg-devel
449Requires: QtXml-devel
450
451%description qt4-devel
452PLplot library - Qt4 binding development files.
453
454%description qt4-devel -l pl.UTF-8
455Biblioteka PLplot - pliki programistyczne wiązania dla Qt4.
456
24f3ccb3
JB
457%package wxwidgets
458Summary: PLplot library - wxWidgets binding
459Summary(pl.UTF-8): Biblioteka PLplot - wiązanie dla wxWidgets
460Group: Libraries
461Requires: %{name} = %{version}-%{release}
462Requires: wxGTK2-unicode >= 2.6.0
463
464%description wxwidgets
465PLplot library - wxwidgets binding.
466
467%description wxwidgets -l pl.UTF-8
468Biblioteka PLplot - wiązanie dla wxWidgets.
469
470%package wxwidgets-devel
471Summary: PLplot library - wxWidgets binding development files
472Summary(pl.UTF-8): Biblioteka PLplot - pliki programistyczne wiązania dla wxWidgets
473Group: Development/Libraries
474Requires: %{name}-wxwidgets = %{version}-%{release}
475Requires: %{name}-devel = %{version}-%{release}
476Requires: wxGTK2-unicode-devel >= 2.6.0
477
478%description wxwidgets-devel
479PLplot library - wxWidgets binding development files.
480
481%description wxwidgets-devel -l pl.UTF-8
482Biblioteka PLplot - pliki programistyczne wiązania dla wxWidgets.
483
fbce7ed6
JB
484%package octave
485Summary: PLplot library - Octave binding
fbecc96b 486Summary(pl.UTF-8): Biblioteka PLplot - wiązanie dla języka Octave
fbce7ed6
JB
487Group: Libraries
488Requires: %{name} = %{version}-%{release}
489
490%description octave
491PLplot library - Octave binding.
492
4205e3d0
JR
493%description octave -l pl.UTF-8
494Biblioteka PLplot - wiązanie dla języka Octave.
fbce7ed6
JB
495
496%package octave-examples
497Summary: PLplot library - examples for Octave binding
fbecc96b 498Summary(pl.UTF-8): Biblioteka PLplot - przykłady do wiązania dla języka Octave
fbce7ed6
JB
499Group: Development/Libraries
500Requires: %{name}-devel = %{version}-%{release}
501Requires: %{name}-octave = %{version}-%{release}
502
503%description octave-examples
504PLplot library - examples for Octave binding.
505
4205e3d0
JR
506%description octave-examples -l pl.UTF-8
507Biblioteka PLplot - przykłady do wiązania dla języka Octave.
fbce7ed6 508
c91309ac
JB
509%package -n lua-plplot
510Summary: Lua binding for PLplot library
511Summary(pl.UTF-8): Wiązanie języka Lua do biblioteki PLplot
512Group: Development/Languages
513Requires: %{name} = %{version}-%{release}
514Requires: lua51-libs >= 5.1
515
516%description -n lua-plplot
517Lua binding for PLplot library.
518
519%description -n lua-plplot -l pl.UTF-8
520Wiązanie języka Lua do biblioteki PLplot.
521
baf7d19d
JB
522%package -n ocaml-plplot
523Summary: OCaml binding for PLplot library
524Summary(pl.UTF-8): Wiązanie języka OCaml do biblioteki PLplot
525Group: Libraries
526Requires: %{name} = %{version}-%{release}
527%requires_eq ocaml-runtime
528
529%description -n ocaml-plplot
530OCaml binding for PLplot library.
531
532%description -n ocaml-plplot -l pl.UTF-8
533Wiązanie języka OCaml do biblioteki PLplot.
534
535%package -n ocaml-plplot-devel
536Summary: Development files for OCaml binding for PLplot library
537Summary(pl.UTF-8): Wiązanie języka OCaml do biblioteki PLplot - pliki programistyczne
538Group: Development/Libraries
539Requires: ocaml-plplot = %{version}-%{release}
540%requires_eq ocaml
541
542%description -n ocaml-plplot-devel
543Development files for OCaml binding for PLplot library.
544
545%description -n ocaml-plplot-devel -l pl.UTF-8
546Wiązanie języka OCaml do biblioteki PLplot - pliki programistyczne.
547
548%package -n ocaml-plcairo
549Summary: PLcairo - Cairo extras for OCaml binding for PLplot library
550Summary(pl.UTF-8): PLcairo - dodatki Cairo do wiązania języka OCaml do biblioteki PLplot
551Group: Libraries
552Requires: ocaml-plplot = %{version}-%{release}
553Requires: ocaml-cairo
554%requires_eq ocaml-runtime
555
556%description -n ocaml-plcairo
557PLcairo - Cairo extras for OCaml binding for PLplot library.
558
559%description -n ocaml-plcairo -l pl.UTF-8
560PLcairo - dodatki Cairo do wiązania języka OCaml do biblioteki PLplot.
561
562%package -n ocaml-plcairo-devel
563Summary: Development files for PLcairo OCaml library
564Summary(pl.UTF-8): Pliki programistyczne biblioteki OCamla PLcairo
565Group: Development/Libraries
566Requires: ocaml-cairo-devel
567Requires: ocaml-plcairo = %{version}-%{release}
568Requires: ocaml-plplot-devel = %{version}-%{release}
569%requires_eq ocaml
570
571%description -n ocaml-plcairo-devel
572Development files for PLcairo OCaml library.
573
574%description -n ocaml-plcairo-devel -l pl.UTF-8
575Pliki programistyczne biblioteki OCamla PLcairo.
576
fbce7ed6
JB
577%package -n python-plplot
578Summary: PLplot library - Python binding
fbecc96b 579Summary(pl.UTF-8): Biblioteka PLplot - wiązanie dla Pythona
fbce7ed6
JB
580Group: Libraries/Python
581Requires: %{name} = %{version}-%{release}
24f3ccb3 582Requires: %{name}-tcl = %{version}-%{release}
5a3910de 583%pyrequires_eq python-libs
f448fc80 584Requires: python-numpy
fbce7ed6
JB
585
586%description -n python-plplot
587PLplot library - Python binding.
588
4205e3d0
JR
589%description -n python-plplot -l pl.UTF-8
590Biblioteka PLplot - wiązanie dla Pythona.
fbce7ed6 591
e575e93b 592%package -n python-plplot-qt4
cce322e2
JB
593Summary: PLplot library - PyQt4 binding
594Summary(pl.UTF-8): Biblioteka PLplot - wiązanie dla PyQt4
e575e93b
JR
595Group: Libraries/Python
596Requires: python-plplot = %{version}-%{release}
597%pyrequires_eq python-libs
598Requires: python-numpy
599
600%description -n python-plplot-qt4
cce322e2 601PLplot library - Python/PyQt4 binding.
e575e93b
JR
602
603%description -n python-plplot-qt4 -l pl.UTF-8
cce322e2 604Biblioteka PLplot - wiązanie dla Pythona/PyQt4.
e575e93b 605
fbce7ed6
JB
606%package -n python-plplot-examples
607Summary: PLplot library - Python binding examples
fbecc96b 608Summary(pl.UTF-8): Biblioteka PLplot - przykłady do wiązania dla Pythona
fbce7ed6
JB
609Group: Libraries/Python
610Requires: %{name}-devel = %{version}-%{release}
611Requires: python-plplot = %{version}-%{release}
612
613%description -n python-plplot-examples
614PLplot library - Python binding examples.
615
4205e3d0
JR
616%description -n python-plplot-examples -l pl.UTF-8
617Biblioteka PLplot - przykłady do wiązania dla Pythona.
fbce7ed6
JB
618
619%prep
620%setup -q
e575e93b 621%patch0 -p1
3013bac9 622%patch1 -p1
cce322e2
JB
623%patch2 -p1
624%patch3 -p1
24f3ccb3 625%patch4 -p1
dfb5774e 626%patch5 -p1
bf39647e 627%patch6 -p1
04165737 628
fbce7ed6 629%build
a7b00b76
JR
630mkdir build
631cd build
17b23e6c
JB
632# required for cmake to find JNI headers/libs when lib64 is in use
633%{?with_java:export JAVA_HOME=%{_jvmlibdir}/java}
5017ee9b 634# NOTE: no %{_libdir}/jni in PLD, use plain %{_libdir}
cce322e2 635%cmake .. \
dfb5774e
JB
636%if %{with ada}
637 -DENABLE_ada=ON \
638 -DADA_INCLUDE_PATH=%{ada_incdir} \
639 -DADA_LIB_PATH=%{ada_objdir} \
640%else
641 -DENABLE_ada=OFF \
642%endif
a7b00b76 643%if %{with java}
5017ee9b
JB
644 -DCMAKE_Java_RUNTIME=%{java} \
645 -DCMAKE_Java_COMPILER=%{javac} \
646 -DCMAKE_Java_ARCHIVE=%{jar} \
647 -DJAR_DIR=%{_javadir} \
648 -DJAVAWRAPPER_DIR=%{_libdir} \
a7b00b76
JR
649%else
650 -DENABLE_java=OFF \
c91309ac
JB
651%endif
652%if %{with lua}
653 -DENABLE_lua=ON \
654 -DLUA_EXECUTABLE=%{_bindir}/lua51 \
655%else
656 -DENABLE_lua=OFF \
a7b00b76 657%endif
cce322e2
JB
658 -DF77_INCLUDE_DIR=%{_includedir}/plplot \
659 -DF95_MOD_DIR=%{_includedir}/plplot \
a7b00b76 660 -DOCTAVE_INCLUDE_PATH=%{_includedir}/octave \
e575e93b
JR
661 -DOCTAVE_OCT_DIR=%{octave_oct_sitedir} \
662 -DOCTAVE_M_DIR=%{octave_m_sitedir} \
a7b00b76
JR
663 -DUSE_RPATH=OFF \
664 -DENABLE_tk=ON \
698d337a 665 -DENABLE_ocaml=%{?with_ocaml:ON}%{!?with_ocaml:OFF} \
c91309ac
JB
666 -DENABLE_itcl=%{?with_itcl:ON}%{!?with_itcl:OFF} \
667 -DENABLE_itk=%{?with_itcl:ON}%{!?with_itcl:OFF} \
6d02273c 668 -DPLD_cgm=ON \
a7b00b76 669 -DPLD_ntk=ON \
6d02273c 670 -DPLD_pdf=ON \
a7b00b76 671 -DPLD_plmeta=ON \
a7b00b76 672 -DPLD_pstex=ON \
24f3ccb3
JB
673 -DPL_FREETYPE_FONT_PATH=/usr/share/fonts/TTF \
674 -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-gtk2-unicode-config \
a7b00b76 675 -DwxWidgets_USE_UNICODE=ON \
36a9c586 676 -DPython_ADDITIONAL_VERSIONS=2.7 \
cce322e2
JB
677 %{!?with_perl_pdl:-DENABLE_pdl=OFF}
678
a7b00b76 679%{__make}
fbce7ed6
JB
680
681%install
682rm -rf $RPM_BUILD_ROOT
161f3dd0 683install -d $RPM_BUILD_ROOT%{_examplesdir}
fbce7ed6 684
cce322e2 685%{__make} -C build install \
a7b00b76 686 DESTDIR=$RPM_BUILD_ROOT
fbce7ed6 687
e575e93b 688mv $RPM_BUILD_ROOT%{_datadir}/plplot%{version}/examples \
fbce7ed6 689 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
161f3dd0 690
b1710f88 691rm -rf installed-docs
e575e93b 692mv $RPM_BUILD_ROOT%{_docdir}/plplot installed-docs
161f3dd0 693
b3a0e6fb
JB
694%py_comp $RPM_BUILD_ROOT%{py_sitedir}
695%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
696%py_postclean
697
fbce7ed6
JB
698%clean
699rm -rf $RPM_BUILD_ROOT
700
701%post -p /sbin/ldconfig
702%postun -p /sbin/ldconfig
703
704%post c++ -p /sbin/ldconfig
705%postun c++ -p /sbin/ldconfig
706
707%post f77 -p /sbin/ldconfig
708%postun f77 -p /sbin/ldconfig
709
e575e93b
JR
710%post f95 -p /sbin/ldconfig
711%postun f95 -p /sbin/ldconfig
712
dfb5774e
JB
713%post ada -p /sbin/ldconfig
714%postun ada -p /sbin/ldconfig
715
fbce7ed6
JB
716%post tcl -p /sbin/ldconfig
717%postun tcl -p /sbin/ldconfig
718
e575e93b
JR
719%post qt4 -p /sbin/ldconfig
720%postun qt4 -p /sbin/ldconfig
721
24f3ccb3
JB
722%post wxwidgets -p /sbin/ldconfig
723%postun wxwidgets -p /sbin/ldconfig
724
fbce7ed6
JB
725%files
726%defattr(644,root,root,755)
cce322e2
JB
727%doc ABOUT AUTHORS ChangeLog.release Copyright FAQ NEWS PROBLEMS README README.release SERVICE ToDo
728%doc installed-docs/README.{1st.csa,1st.nn,csa,nn,drivers}
fbce7ed6
JB
729%attr(755,root,root) %{_bindir}/plm2gif
730%attr(755,root,root) %{_bindir}/plpr
731%attr(755,root,root) %{_bindir}/plrender
732%attr(755,root,root) %{_bindir}/pltek
733%attr(755,root,root) %{_bindir}/pstex2eps
f43eed59 734%attr(755,root,root) %{_libdir}/libcsirocsa.so.*.*.*
7fa8ed02 735%attr(755,root,root) %ghost %{_libdir}/libcsirocsa.so.0
f43eed59 736%attr(755,root,root) %{_libdir}/libcsironn.so.*.*.*
7fa8ed02 737%attr(755,root,root) %ghost %{_libdir}/libcsironn.so.0
e575e93b
JR
738%attr(755,root,root) %{_libdir}/libnistcd.so.*.*.*
739%attr(755,root,root) %ghost %{_libdir}/libnistcd.so.0
740%attr(755,root,root) %{_libdir}/libqsastime.so.*.*.*
741%attr(755,root,root) %ghost %{_libdir}/libqsastime.so.0
fbce7ed6 742%attr(755,root,root) %{_libdir}/libplplotd.so.*.*.*
cce322e2 743%attr(755,root,root) %ghost %{_libdir}/libplplotd.so.11
fbce7ed6
JB
744%{_mandir}/man1/plm2gif.1*
745%{_mandir}/man1/plpr.1*
746%{_mandir}/man1/plrender.1*
747%{_mandir}/man1/pltek.1*
748%{_mandir}/man1/pstex2eps.1*
749%dir %{_libdir}/plplot%{version}
fbce7ed6 750%dir %{_libdir}/plplot%{version}/driversd
fbce7ed6 751%attr(755,root,root) %{_libdir}/plplot%{version}/driversd/cgm.so
cce322e2 752%{_libdir}/plplot%{version}/driversd/cgm.driver_info
fbce7ed6 753%attr(755,root,root) %{_libdir}/plplot%{version}/driversd/mem.so
cce322e2 754%{_libdir}/plplot%{version}/driversd/mem.driver_info
fbce7ed6 755%attr(755,root,root) %{_libdir}/plplot%{version}/driversd/null.so
cce322e2 756%{_libdir}/plplot%{version}/driversd/null.driver_info
fbce7ed6 757%attr(755,root,root) %{_libdir}/plplot%{version}/driversd/plmeta.so
cce322e2 758%{_libdir}/plplot%{version}/driversd/plmeta.driver_info
fbce7ed6 759%attr(755,root,root) %{_libdir}/plplot%{version}/driversd/ps.so
cce322e2 760%{_libdir}/plplot%{version}/driversd/ps.driver_info
a7b00b76 761%attr(755,root,root) %{_libdir}/plplot%{version}/driversd/pstex.so
cce322e2 762%{_libdir}/plplot%{version}/driversd/pstex.driver_info
e575e93b 763%attr(755,root,root) %{_libdir}/plplot%{version}/driversd/svg.so
cce322e2 764%{_libdir}/plplot%{version}/driversd/svg.driver_info
fbce7ed6 765%attr(755,root,root) %{_libdir}/plplot%{version}/driversd/xfig.so
cce322e2 766%{_libdir}/plplot%{version}/driversd/xfig.driver_info
e575e93b
JR
767%dir %{_datadir}/plplot%{version}
768%{_datadir}/plplot%{version}/*.map
769%{_datadir}/plplot%{version}/*.pal
770%{_datadir}/plplot%{version}/*.fnt
771
772%files driver-cairo
773%defattr(644,root,root,755)
774%attr(755,root,root) %{_libdir}/plplot%{version}/driversd/cairo.so
cce322e2 775%{_libdir}/plplot%{version}/driversd/cairo.driver_info
fbce7ed6 776
fbce7ed6
JB
777%files driver-ntk
778%defattr(644,root,root,755)
779%attr(755,root,root) %{_libdir}/plplot%{version}/driversd/ntk.so
cce322e2 780%{_libdir}/plplot%{version}/driversd/ntk.driver_info
fbce7ed6 781
6d02273c
JB
782%files driver-pdf
783%defattr(644,root,root,755)
784%attr(755,root,root) %{_libdir}/plplot%{version}/driversd/pdf.so
785%{_libdir}/plplot%{version}/driversd/pdf.driver_info
786
24f3ccb3
JB
787%files driver-psttf
788%defattr(644,root,root,755)
789%attr(755,root,root) %{_libdir}/plplot%{version}/driversd/psttf.so
790%{_libdir}/plplot%{version}/driversd/psttf.driver_info
791
fbce7ed6
JB
792%files driver-tk
793%defattr(644,root,root,755)
794%attr(755,root,root) %{_libdir}/plplot%{version}/driversd/tk.so
cce322e2 795%{_libdir}/plplot%{version}/driversd/tk.driver_info
fbce7ed6 796%attr(755,root,root) %{_libdir}/plplot%{version}/driversd/tkwin.so
cce322e2 797%{_libdir}/plplot%{version}/driversd/tkwin.driver_info
fbce7ed6 798
e575e93b
JR
799%files driver-qt4
800%defattr(644,root,root,755)
801%attr(755,root,root) %{_libdir}/plplot%{version}/driversd/qt.so
cce322e2 802%{_libdir}/plplot%{version}/driversd/qt.driver_info
e575e93b 803
24f3ccb3
JB
804%files driver-wxwidgets
805%defattr(644,root,root,755)
806%attr(755,root,root) %{_libdir}/plplot%{version}/driversd/wxwidgets.so
807%{_libdir}/plplot%{version}/driversd/wxwidgets.driver_info
808
fbce7ed6
JB
809%files driver-xwin
810%defattr(644,root,root,755)
811%attr(755,root,root) %{_libdir}/plplot%{version}/driversd/xwin.so
cce322e2 812%{_libdir}/plplot%{version}/driversd/xwin.driver_info
fbce7ed6
JB
813
814%files devel
815%defattr(644,root,root,755)
f43eed59
JB
816%attr(755,root,root) %{_libdir}/libcsirocsa.so
817%attr(755,root,root) %{_libdir}/libcsironn.so
e575e93b 818%attr(755,root,root) %{_libdir}/libnistcd.so
fbce7ed6 819%attr(755,root,root) %{_libdir}/libplplotd.so
e575e93b 820%attr(755,root,root) %{_libdir}/libqsastime.so
cce322e2
JB
821%dir %{_includedir}/plplot
822%{_includedir}/plplot/cd.h
823%{_includedir}/plplot/defines.h
824%{_includedir}/plplot/disptab.h
825%{_includedir}/plplot/drivers.h
826%{_includedir}/plplot/pdf.h
827%{_includedir}/plplot/plConfig.h
828%{_includedir}/plplot/plDevs.h
829%{_includedir}/plplot/pldebug.h
830%{_includedir}/plplot/pldll.h
831%{_includedir}/plplot/plevent.h
832%{_includedir}/plplot/plplot.h
833%{_includedir}/plplot/plplotP.h
834%{_includedir}/plplot/plstrm.h
835%{_includedir}/plplot/qsastime.h
836%{_includedir}/plplot/qsastimedll.h
837# xwin driver (uses X11 headers)
838%{_includedir}/plplot/plxwd.h
839# -gnome
840%{_includedir}/plplot/gcw.h
841%{_includedir}/plplot/plplotcanvas.h
f43eed59 842%{_pkgconfigdir}/plplotd.pc
fbce7ed6
JB
843%dir %{_examplesdir}/%{name}-%{version}
844%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/plplot-test.sh
845%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/test_c.sh
e575e93b
JR
846%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/plplot-test-interactive.sh
847%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/test_c_interactive.sh
848%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/test_diff.sh
fbce7ed6 849%{_examplesdir}/%{name}-%{version}/c
e575e93b
JR
850%{_examplesdir}/%{name}-%{version}/cmake
851%{_examplesdir}/%{name}-%{version}/CMakeLists.txt
852%{_examplesdir}/%{name}-%{version}/lena.*
853%{_examplesdir}/%{name}-%{version}/Makefile
161f3dd0 854%if %{with perl_pdl}
f43eed59
JB
855# perl examples use PDL::Graphics::PLplot module found in perl-PDL
856%{_examplesdir}/%{name}-%{version}/perl
161f3dd0 857%endif
fbce7ed6 858
fbce7ed6
JB
859%files c++
860%defattr(644,root,root,755)
861%attr(755,root,root) %{_libdir}/libplplotcxxd.so.*.*.*
cce322e2 862%attr(755,root,root) %ghost %{_libdir}/libplplotcxxd.so.10
fbce7ed6
JB
863
864%files c++-devel
865%defattr(644,root,root,755)
866%attr(755,root,root) %{_libdir}/libplplotcxxd.so
cce322e2 867%{_includedir}/plplot/plstream.h
f43eed59 868%{_pkgconfigdir}/plplotd-c++.pc
fbce7ed6
JB
869%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/test_cxx.sh
870%{_examplesdir}/%{name}-%{version}/c++
871
fbce7ed6
JB
872%files f77
873%defattr(644,root,root,755)
792520d0 874%attr(755,root,root) %{_libdir}/libplplotf77cd.so.*.*.*
7fa8ed02 875%attr(755,root,root) %ghost %{_libdir}/libplplotf77cd.so.9
fbce7ed6 876%attr(755,root,root) %{_libdir}/libplplotf77d.so.*.*.*
7fa8ed02 877%attr(755,root,root) %ghost %{_libdir}/libplplotf77d.so.9
fbce7ed6
JB
878
879%files f77-devel
880%defattr(644,root,root,755)
792520d0 881%attr(755,root,root) %{_libdir}/libplplotf77cd.so
fbce7ed6 882%attr(755,root,root) %{_libdir}/libplplotf77d.so
cce322e2 883%{_includedir}/plplot/plplot_parameters.h
f43eed59 884%{_pkgconfigdir}/plplotd-f77.pc
fbce7ed6
JB
885%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/test_f77.sh
886%{_examplesdir}/%{name}-%{version}/f77
887
e575e93b
JR
888%files f95
889%defattr(644,root,root,755)
cce322e2 890%doc bindings/f95/readme_f95.txt
e575e93b
JR
891%attr(755,root,root) %{_libdir}/libplplotf95cd.so.*.*.*
892%attr(755,root,root) %ghost %{_libdir}/libplplotf95cd.so.9
893%attr(755,root,root) %{_libdir}/libplplotf95d.so.*.*.*
894%attr(755,root,root) %ghost %{_libdir}/libplplotf95d.so.9
895
896%files f95-devel
897%defattr(644,root,root,755)
898%attr(755,root,root) %{_libdir}/libplplotf95cd.so
899%attr(755,root,root) %{_libdir}/libplplotf95d.so
cce322e2
JB
900%{_includedir}/plplot/plplot.mod
901%{_includedir}/plplot/plplot_flt.mod
902%{_includedir}/plplot/plplotp.mod
e575e93b
JR
903%{_pkgconfigdir}/plplotd-f95.pc
904%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/test_f95.sh
905%{_examplesdir}/%{name}-%{version}/f95
906
dfb5774e
JB
907%if %{with ada}
908%files ada
909%defattr(644,root,root,755)
910%attr(755,root,root) %{_libdir}/libplplotadad.so.*.*.*
911%attr(755,root,root) %ghost %{_libdir}/libplplotadad.so.0
912
913%files ada-devel
914%defattr(644,root,root,755)
915%attr(755,root,root) %{_libdir}/libplplotadad.so
916%{ada_objdir}/plplotadad
917%{ada_incdir}/plplotadad
918%{_pkgconfigdir}/plplotd-ada.pc
919%{_examplesdir}/%{name}-%{version}/ada
920%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/test_ada.sh
921%endif
922
fbce7ed6
JB
923%if %{with java}
924%files java
925%defattr(644,root,root,755)
5017ee9b
JB
926%attr(755,root,root) %{_libdir}/plplotjavac_wrap.so
927%{_javadir}/plplot.jar
fbce7ed6
JB
928
929%files java-devel
930%defattr(644,root,root,755)
fbce7ed6
JB
931%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/test_java.sh
932%{_examplesdir}/%{name}-%{version}/java
fbce7ed6
JB
933%endif
934
935%files tcl
936%defattr(644,root,root,755)
937%attr(755,root,root) %{_bindir}/pltcl
938%attr(755,root,root) %{_bindir}/plserver
939%attr(755,root,root) %{_libdir}/libplplottcltkd.so.*.*.*
a7b00b76 940%attr(755,root,root) %ghost %{_libdir}/libplplottcltkd.so.9
fbce7ed6 941%attr(755,root,root) %{_libdir}/libtclmatrixd.so.*.*.*
a7b00b76 942%attr(755,root,root) %ghost %{_libdir}/libtclmatrixd.so.9
e575e93b
JR
943%{_datadir}/plplot%{version}/*.tcl
944%{_datadir}/plplot%{version}/tcl
fbce7ed6
JB
945%{_mandir}/man1/pltcl.1*
946%{_mandir}/man1/plserver.1*
947
948%files tcl-devel
949%defattr(644,root,root,755)
950%attr(755,root,root) %{_libdir}/libplplottcltkd.so
951%attr(755,root,root) %{_libdir}/libtclmatrixd.so
fbce7ed6
JB
952%{_includedir}/plplot/pltcl.h
953%{_includedir}/plplot/pltk.h
954%{_includedir}/plplot/tclMatrix.h
f43eed59 955%{_pkgconfigdir}/plplotd-tcl.pc
fbce7ed6
JB
956%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/test_tcl.sh
957%{_examplesdir}/%{name}-%{version}/tcl
958%{_examplesdir}/%{name}-%{version}/tk
959
e575e93b
JR
960%files qt4
961%defattr(644,root,root,755)
962%attr(755,root,root) %ghost %{_libdir}/libplplotqtd.so.0
963%attr(755,root,root) %{_libdir}/libplplotqtd.so.0.0.1
964
965%files qt4-devel
966%defattr(644,root,root,755)
967%attr(755,root,root) %{_libdir}/libplplotqtd.so
cce322e2 968%{_includedir}/plplot/qt.h
e575e93b
JR
969%{_pkgconfigdir}/plplotd-qt.pc
970
24f3ccb3
JB
971%files wxwidgets
972%defattr(644,root,root,755)
973%attr(755,root,root) %{_libdir}/libplplotwxwidgetsd.so.*.*.*
974%attr(755,root,root) %ghost %{_libdir}/libplplotwxwidgetsd.so.0
975
976%files wxwidgets-devel
977%defattr(644,root,root,755)
978%attr(755,root,root) %{_libdir}/libplplotwxwidgetsd.so
979%{_includedir}/plplot/wxPLplot*.h
980%{_pkgconfigdir}/plplotd-wxwidgets.pc
981
fbce7ed6
JB
982%files octave
983%defattr(644,root,root,755)
cce322e2 984%doc bindings/octave/{BUGS,FGA,README,ToDo,USAGE}
30d0607a
JB
985%attr(755,root,root) %{octave_oct_sitedir}/plplot_octave.oct
986%{octave_m_sitedir}/PLplot
fbce7ed6 987%{_datadir}/plplot_octave
e575e93b 988%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/test_octave_interactive.sh
fbce7ed6
JB
989
990%files octave-examples
991%defattr(644,root,root,755)
992%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/test_octave.sh
993%{_examplesdir}/%{name}-%{version}/octave
994
baf7d19d 995%if %{with lua}
c91309ac
JB
996%files -n lua-plplot
997%defattr(644,root,root,755)
998%dir %{_libdir}/lua/5.1/plplot
999%attr(755,root,root) %{_libdir}/lua/5.1/plplot/plplotluac.so
1000%{_examplesdir}/%{name}-%{version}/lua
1001%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/test_lua.sh
baf7d19d
JB
1002%endif
1003
1004%if %{with ocaml}
1005%files -n ocaml-plplot
1006%defattr(644,root,root,755)
1007%attr(755,root,root) %{_libdir}/ocaml/stublibs/dllplplot_stubs.so
1008
1009%files -n ocaml-plplot-devel
1010%dir %{_libdir}/ocaml/plplot
1011%{_libdir}/ocaml/plplot/META
1012%{_libdir}/ocaml/plplot/libplplot_stubs.a
1013%{_libdir}/ocaml/plplot/plplot.a
1014%{_libdir}/ocaml/plplot/plplot.cm*
1015%{_libdir}/ocaml/plplot/plplot.mli
1016%{_pkgconfigdir}/plplotd-ocaml.pc
1017%{_examplesdir}/%{name}-%{version}/ocaml
1018%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/test_ocaml.sh
1019
1020%files -n ocaml-plcairo
1021%defattr(644,root,root,755)
1022%attr(755,root,root) %{_libdir}/ocaml/stublibs/dllplcairo_stubs.so
1023
1024%files -n ocaml-plcairo-devel
1025%dir %{_libdir}/ocaml/plcairo
1026%{_libdir}/ocaml/plcairo/META
1027%{_libdir}/ocaml/plcairo/libplcairo_stubs.a
1028%{_libdir}/ocaml/plcairo/plcairo.a
1029%{_libdir}/ocaml/plcairo/plcairo.cm*
1030%{_libdir}/ocaml/plcairo/plcairo.mli
1031%endif
c91309ac 1032
fbce7ed6
JB
1033%files -n python-plplot
1034%defattr(644,root,root,755)
1035%attr(755,root,root) %{py_sitedir}/_plplotcmodule.so
1036%attr(755,root,root) %{py_sitedir}/plplot_widgetmodule.so
b3a0e6fb
JB
1037%{py_sitedir}/Plframe.py[co]
1038%{py_sitedir}/plplotc.py[co]
1039%{py_sitedir}/plplot.py[co]
1040%{py_sitedir}/TclSup.py[co]
e575e93b
JR
1041
1042%files -n python-plplot-qt4
1043%defattr(644,root,root,755)
1044%attr(755,root,root) %{py_sitedir}/plplot_pyqt4.so
fbce7ed6
JB
1045
1046%files -n python-plplot-examples
1047%defattr(644,root,root,755)
1048%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/test_python.sh
1049%{_examplesdir}/%{name}-%{version}/python
This page took 0.383732 seconds and 4 git commands to generate.