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