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