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