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