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