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