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