]>
Commit | Line | Data |
---|---|---|
fbce7ed6 JB |
1 | # |
2 | # Conditional build: | |
161f3dd0 | 3 | %bcond_with perl_pdl # enable perl examples in tests |
fbce7ed6 | 4 | %bcond_with java # build Java binding |
a7b00b76 | 5 | %bcond_with itcl # build iTCL binding |
fbce7ed6 | 6 | # |
fbce7ed6 | 7 | Summary: PLplot - a library of functions that are useful for making scientific plots |
fbecc96b | 8 | Summary(pl.UTF-8): PLplot - biblioteka funkcji przydatnych do tworzenia wykresów naukowych |
fbce7ed6 | 9 | Name: plplot |
363b813a JR |
10 | Version: 5.9.6 |
11 | Release: 0.1 | |
fbce7ed6 JB |
12 | License: LGPL |
13 | Group: Libraries | |
14 | Source0: http://dl.sourceforge.net/plplot/%{name}-%{version}.tar.gz | |
363b813a | 15 | # Source0-md5: 772c772bde3a107e5f06d21cefa7f6b6 |
fbce7ed6 | 16 | URL: http://plplot.sourceforge.net/ |
a7b00b76 JR |
17 | BuildRequires: QtGui-devel |
18 | BuildRequires: QtSvg-devel | |
19 | BuildRequires: QtXml-devel | |
20 | BuildRequires: cmake | |
fbce7ed6 | 21 | BuildRequires: docbook-style-dsssl |
43d4c738 | 22 | BuildRequires: fftw3-devel |
008b57e3 | 23 | BuildRequires: fftw3-single-devel |
fbce7ed6 | 24 | BuildRequires: freetype-devel >= 2.1.0 |
a7b00b76 JR |
25 | BuildRequires: gcc-ada |
26 | BuildRequires: gcc-c++ | |
27 | BuildRequires: gcc-fortran | |
28 | %{?with_itcl:BuildRequires: itcl-devel} | |
fbce7ed6 JB |
29 | BuildRequires: jadetex |
30 | %{?with_java:BuildRequires: jdk} | |
43d4c738 | 31 | BuildRequires: lapack-devel |
fbce7ed6 | 32 | BuildRequires: libjpeg-devel |
008b57e3 | 33 | BuildRequires: libltdl-devel |
fbce7ed6 JB |
34 | BuildRequires: libpng-devel |
35 | BuildRequires: libstdc++-devel | |
36 | BuildRequires: octave-devel | |
a7b00b76 | 37 | %{?with_perl_pdl:BuildRequires: perl-PDL} |
161f3dd0 | 38 | BuildRequires: perl-XML-DOM |
008b57e3 | 39 | BuildRequires: perl-XML-Parser |
40 | BuildRequires: perl-XML-SAX-Expat | |
30d0607a | 41 | BuildRequires: pkgconfig |
a7b00b76 JR |
42 | BuildRequires: pango-devel |
43 | BuildRequires: python-PyQt4-devel | |
f448fc80 | 44 | BuildRequires: python-numpy-devel >= 15.3 |
d32d40fb | 45 | BuildRequires: python-devel >= 1:2.3 |
30d0607a | 46 | BuildRequires: python-pygtk-devel >= 2:2.12.1 |
fbce7ed6 | 47 | BuildRequires: qhull-devel |
a7b00b76 | 48 | BuildRequires: qt4-qmake |
008b57e3 | 49 | BuildRequires: rpm-pythonprov |
598cb4da | 50 | BuildRequires: sed >= 4.0 |
a7b00b76 | 51 | BuildRequires: sip |
161f3dd0 | 52 | BuildRequires: swig |
4b6553b3 | 53 | BuildRequires: swig-python |
04165737 | 54 | BuildRequires: tcl-devel >= 8.4.11-3 |
fbce7ed6 JB |
55 | BuildRequires: tetex-dvips |
56 | BuildRequires: texinfo | |
57 | BuildRequires: tk-devel | |
a7b00b76 JR |
58 | BuildRequires: xorg-lib-libXext-devel |
59 | BuildRequires: xorg-lib-libICE-devel | |
60 | BuildRequires: xorg-lib-libX11-devel | |
fbce7ed6 JB |
61 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
62 | ||
dd2a3e31 | 63 | %define _ulibdir %{_prefix}/lib |
30d0607a JB |
64 | %define octave_oct_sitedir %(octave-config --oct-site-dir) |
65 | %define octave_m_sitedir %(octave-config --m-site-dir) | |
dd2a3e31 | 66 | |
fbce7ed6 JB |
67 | %description |
68 | PLplot is a library of functions that are useful for making scientific | |
69 | plots. It can be used from within compiled languages such as C, C++, | |
70 | FORTRAN and Java, and interactively from interpreted languages such as | |
71 | Octave, Python, Perl and Tcl. | |
72 | ||
73 | The PLplot library can be used to create standard X-Y plots, semilog | |
74 | plots, log-log plots, contour plots, 3D surface plots, mesh plots, bar | |
75 | charts and pie charts. Multiple graphs (of the same or different | |
76 | sizes) may be placed on a single page with multiple lines in each | |
77 | graph. | |
78 | ||
7fa8ed02 ER |
79 | A variety of output file devices such as PostScript, PNG, JPEG, LaTeX |
80 | and others, as well as interactive devices such as xwin, tk, xterm and | |
81 | Tektronics devices are supported. New devices can be easily added by | |
82 | writing a small number of device dependent routines. | |
fbce7ed6 | 83 | |
4205e3d0 JR |
84 | %description -l pl.UTF-8 |
85 | PLplot to biblioteka funkcji przydatnych do tworzenia wykresów | |
7fa8ed02 ER |
86 | naukowych. Może być używana z poziomu języków kompilowanych takich jak |
87 | C, C++, FORTRAN czy Java, albo interaktywnie z poziomu języków | |
fbce7ed6 JB |
88 | interpretowanych takich jak Octave, Python, Perl czy Tcl. |
89 | ||
4205e3d0 JR |
90 | Bibliotekę PLplot można wykorzystać do tworzenia standardowych |
91 | wykresów X-Y, wykresów półlogarytmicznych, wykresów konturowych, | |
92 | wykresów powierzchni trójwymiarowych, wykresów siatek, wykresów | |
93 | słupkowych i kołowych. Na jednej stronie można umieścić wiele wykresów | |
94 | (o tych samych lub różnych rozmiarach), na jednym wykresie może być | |
fbce7ed6 JB |
95 | wiele linii. |
96 | ||
4205e3d0 JR |
97 | Obsługiwanych jest wiele urządzeń wyjściowych, w tym PostScript, PNG, |
98 | JPEG, LaTeX i inne, a także urządzenia interaktywne, takie jak xwin, | |
99 | tk, xterm i Tektronics. Nowe urządzenia można łatwo dodać pisząc parę | |
100 | zależnych od urządzenia funkcji. | |
fbce7ed6 | 101 | |
fbce7ed6 JB |
102 | %package driver-ntk |
103 | Summary: ntk driver for PLplot library | |
fbecc96b | 104 | Summary(pl.UTF-8): Sterownik ntk dla biblioteki PLplot |
fbce7ed6 JB |
105 | Group: Libraries |
106 | Requires: %{name} = %{version}-%{release} | |
107 | ||
108 | %description driver-ntk | |
109 | ntk (new tk) driver for PLplot library. It supports Tcl/Tk output. | |
110 | ||
4205e3d0 JR |
111 | %description driver-ntk -l pl.UTF-8 |
112 | Sterownik ntk (new tk) dla biblioteki PLplot. Obsługuje wyjście | |
fbce7ed6 JB |
113 | poprzez Tcl/Tk. |
114 | ||
115 | %package driver-tk | |
116 | Summary: Tk drivers for PLplot library | |
fbecc96b | 117 | Summary(pl.UTF-8): Sterowniki Tk dla biblioteki PLplot |
fbce7ed6 JB |
118 | Group: Libraries |
119 | Requires: %{name}-tcl = %{version}-%{release} | |
120 | ||
121 | %description driver-tk | |
122 | Tk and tkwin drivers for PLplot library. They support Tcl/Tk output. | |
123 | ||
4205e3d0 JR |
124 | %description driver-ntk -l pl.UTF-8 |
125 | Sterownik Tk i tkwin dla biblioteki PLplot. Obsługują wyjście poprzez | |
fbce7ed6 JB |
126 | Tcl/Tk. |
127 | ||
128 | %package driver-xwin | |
129 | Summary: xwin driver for PLplot library | |
fbecc96b | 130 | Summary(pl.UTF-8): Sterownik xwin dla biblioteki PLplot |
fbce7ed6 JB |
131 | Group: Libraries |
132 | Requires: %{name} = %{version}-%{release} | |
133 | ||
134 | %description driver-xwin | |
135 | xwin driver for PLplot library. It supports X Window System output. | |
136 | ||
4205e3d0 JR |
137 | %description driver-xwin -l pl.UTF-8 |
138 | Sterownik ntk (new tk) dla biblioteki PLplot. Obsługuje wyjście do | |
fbce7ed6 JB |
139 | okna systemu X Window. |
140 | ||
141 | %package devel | |
142 | Summary: Header files for PLplot library | |
fbecc96b | 143 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki PLplot |
fbce7ed6 JB |
144 | Group: Development/Libraries |
145 | Requires: %{name} = %{version}-%{release} | |
146 | Requires: freetype-devel >= 2.1 | |
147 | Requires: qhull-devel | |
a7b00b76 | 148 | Obsoletes: plplot-static |
fbce7ed6 JB |
149 | |
150 | %description devel | |
151 | Header files for PLplot library. | |
152 | ||
4205e3d0 JR |
153 | %description devel -l pl.UTF-8 |
154 | Pliki nagłówkowe biblioteki PLplot. | |
fbce7ed6 | 155 | |
fbce7ed6 JB |
156 | %package c++ |
157 | Summary: PLplot library - C++ binding | |
fbecc96b | 158 | Summary(pl.UTF-8): Biblioteka PLplot - wiązanie dla C++ |
fbce7ed6 JB |
159 | Group: Libraries |
160 | Requires: %{name} = %{version}-%{release} | |
161 | ||
162 | %description c++ | |
163 | PLplot library - C++ binding. | |
164 | ||
4205e3d0 JR |
165 | %description c++ -l pl.UTF-8 |
166 | Biblioteka PLplot - wiązanie dla C++. | |
fbce7ed6 JB |
167 | |
168 | %package c++-devel | |
169 | Summary: PLplot library - C++ binding development files | |
fbecc96b | 170 | Summary(pl.UTF-8): Biblioteka PLplot - pliki programistyczne wiązania dla C++ |
fbce7ed6 JB |
171 | Group: Development/Libraries |
172 | Requires: %{name}-c++ = %{version}-%{release} | |
173 | Requires: %{name}-devel = %{version}-%{release} | |
174 | Requires: libstdc++-devel | |
a7b00b76 | 175 | Obsoletes: plplot-c++-static |
fbce7ed6 JB |
176 | |
177 | %description c++-devel | |
178 | PLplot library - C++ binding development files. | |
179 | ||
4205e3d0 JR |
180 | %description c++-devel -l pl.UTF-8 |
181 | Biblioteka PLplot - pliki programistyczne wiązania dla C++. | |
fbce7ed6 | 182 | |
fbce7ed6 JB |
183 | %package f77 |
184 | Summary: PLplot library - FORTRAN 77 binding | |
fbecc96b | 185 | Summary(pl.UTF-8): Biblioteka PLplot - wiązanie dla języka FORTRAN 77 |
fbce7ed6 JB |
186 | Group: Libraries |
187 | Requires: %{name} = %{version}-%{release} | |
188 | ||
189 | %description f77 | |
190 | PLplot library - FORTRAN 77 binding. | |
191 | ||
4205e3d0 JR |
192 | %description f77 -l pl.UTF-8 |
193 | Biblioteka PLplot - wiązanie dla języka FORTRAN 77. | |
fbce7ed6 JB |
194 | |
195 | %package f77-devel | |
196 | Summary: PLplot library - FORTRAN 77 binding development files | |
fbecc96b | 197 | Summary(pl.UTF-8): Biblioteka PLplot - pliki programistyczne wiązania dla języka FORTRAN 77 |
fbce7ed6 JB |
198 | Group: Development/Libraries |
199 | Requires: %{name}-devel = %{version}-%{release} | |
200 | Requires: %{name}-f77 = %{version}-%{release} | |
a7b00b76 JR |
201 | Requires: gcc-fortran |
202 | Obsoletes: plplot-f77-static | |
fbce7ed6 JB |
203 | |
204 | %description f77-devel | |
205 | PLplot library - FORTRAN 77 binding development files. | |
206 | ||
4205e3d0 JR |
207 | %description f77-devel -l pl.UTF-8 |
208 | Biblioteka PLplot - pliki programistyczne wiązania dla języka FORTRAN | |
fbce7ed6 JB |
209 | 77. |
210 | ||
fbce7ed6 JB |
211 | %package java |
212 | Summary: PLplot library - Java binding | |
fbecc96b | 213 | Summary(pl.UTF-8): Biblioteka PLplot - wiązanie dla Javy |
fbce7ed6 JB |
214 | Group: Libraries |
215 | Requires: %{name} = %{version}-%{release} | |
216 | ||
217 | %description java | |
218 | PLplot library - Java binding. | |
219 | ||
4205e3d0 JR |
220 | %description java -l pl.UTF-8 |
221 | Biblioteka PLplot - wiązanie dla Javy. | |
fbce7ed6 JB |
222 | |
223 | %package java-devel | |
224 | Summary: PLplot library - Java binding development files | |
fbecc96b | 225 | Summary(pl.UTF-8): Biblioteka PLplot - pliki programistyczne wiązania dla Javy |
fbce7ed6 JB |
226 | Group: Development/Libraries |
227 | Requires: %{name}-devel = %{version}-%{release} | |
228 | Requires: %{name}-java = %{version}-%{release} | |
f43eed59 | 229 | Obsoletes: plplot-java-static |
fbce7ed6 JB |
230 | |
231 | %description java-devel | |
232 | PLplot library - Java binding development files. | |
233 | ||
4205e3d0 JR |
234 | %description java -l pl.UTF-8 |
235 | Biblioteka PLplot - pliki programistyczne wiązania dla Javy. | |
fbce7ed6 | 236 | |
fbce7ed6 JB |
237 | %package tcl |
238 | Summary: PLplot library - Tcl/Tk binding | |
fbecc96b | 239 | Summary(pl.UTF-8): Biblioteka PLplot - wiązanie dla Tcl/Tk |
fbce7ed6 JB |
240 | Group: Libraries |
241 | Requires: %{name} = %{version}-%{release} | |
242 | ||
243 | %description tcl | |
244 | PLplot library - Tcl/Tk binding. | |
245 | ||
4205e3d0 JR |
246 | %description tcl -l pl.UTF-8 |
247 | Biblioteka PLplot - wiązanie dla Tcl/Tk. | |
fbce7ed6 JB |
248 | |
249 | %package tcl-devel | |
250 | Summary: PLplot library - Tcl/Tk binding development files | |
fbecc96b | 251 | Summary(pl.UTF-8): Biblioteka PLplot - pliki programistyczne wiązania dla Tcl/Tk |
fbce7ed6 JB |
252 | Group: Development/Libraries |
253 | Requires: %{name}-devel = %{version}-%{release} | |
254 | Requires: %{name}-tcl = %{version}-%{release} | |
a7b00b76 JR |
255 | %{?with_itcl:Requires: itcl-devel} |
256 | Obsoletes: plplot-tcl-static | |
fbce7ed6 JB |
257 | |
258 | %description tcl-devel | |
259 | PLplot library - Tcl/Tk binding development files. | |
260 | ||
4205e3d0 JR |
261 | %description tcl-devel -l pl.UTF-8 |
262 | Biblioteka PLplot - pliki programistyczne wiązania dla Tcl/Tk. | |
fbce7ed6 | 263 | |
fbce7ed6 JB |
264 | %package octave |
265 | Summary: PLplot library - Octave binding | |
fbecc96b | 266 | Summary(pl.UTF-8): Biblioteka PLplot - wiązanie dla języka Octave |
fbce7ed6 JB |
267 | Group: Libraries |
268 | Requires: %{name} = %{version}-%{release} | |
269 | ||
270 | %description octave | |
271 | PLplot library - Octave binding. | |
272 | ||
4205e3d0 JR |
273 | %description octave -l pl.UTF-8 |
274 | Biblioteka PLplot - wiązanie dla języka Octave. | |
fbce7ed6 JB |
275 | |
276 | %package octave-examples | |
277 | Summary: PLplot library - examples for Octave binding | |
fbecc96b | 278 | Summary(pl.UTF-8): Biblioteka PLplot - przykłady do wiązania dla języka Octave |
fbce7ed6 JB |
279 | Group: Development/Libraries |
280 | Requires: %{name}-devel = %{version}-%{release} | |
281 | Requires: %{name}-octave = %{version}-%{release} | |
282 | ||
283 | %description octave-examples | |
284 | PLplot library - examples for Octave binding. | |
285 | ||
4205e3d0 JR |
286 | %description octave-examples -l pl.UTF-8 |
287 | Biblioteka PLplot - przykłady do wiązania dla języka Octave. | |
fbce7ed6 JB |
288 | |
289 | %package -n python-plplot | |
290 | Summary: PLplot library - Python binding | |
fbecc96b | 291 | Summary(pl.UTF-8): Biblioteka PLplot - wiązanie dla Pythona |
fbce7ed6 JB |
292 | Group: Libraries/Python |
293 | Requires: %{name} = %{version}-%{release} | |
5a3910de | 294 | %pyrequires_eq python-libs |
f448fc80 | 295 | Requires: python-numpy |
fbce7ed6 JB |
296 | |
297 | %description -n python-plplot | |
298 | PLplot library - Python binding. | |
299 | ||
4205e3d0 JR |
300 | %description -n python-plplot -l pl.UTF-8 |
301 | Biblioteka PLplot - wiązanie dla Pythona. | |
fbce7ed6 JB |
302 | |
303 | %package -n python-plplot-examples | |
304 | Summary: PLplot library - Python binding examples | |
fbecc96b | 305 | Summary(pl.UTF-8): Biblioteka PLplot - przykłady do wiązania dla Pythona |
fbce7ed6 JB |
306 | Group: Libraries/Python |
307 | Requires: %{name}-devel = %{version}-%{release} | |
308 | Requires: python-plplot = %{version}-%{release} | |
309 | ||
310 | %description -n python-plplot-examples | |
311 | PLplot library - Python binding examples. | |
312 | ||
4205e3d0 JR |
313 | %description -n python-plplot-examples -l pl.UTF-8 |
314 | Biblioteka PLplot - przykłady do wiązania dla Pythona. | |
fbce7ed6 JB |
315 | |
316 | %prep | |
317 | %setup -q | |
04165737 | 318 | |
fbce7ed6 | 319 | %build |
a7b00b76 JR |
320 | mkdir build |
321 | cd build | |
322 | cmake \ | |
323 | -DCMAKE_INSTALL_PREFIX=%{_prefix} \ | |
324 | -DCMAKE_INSTALL_LIBDIR=%{_libdir} \ | |
325 | %if %{with java} | |
326 | -DJAVA_HOME=/usr/%{_lib}/java \ | |
327 | # -DCMAKE_Java_RUNTIME=$(JAVA_HOME)/bin/java \ | |
328 | # -DCMAKE_Java_COMPILER=$(JAVA_HOME)/bin/javac \ | |
329 | # -DCMAKE_Java_ARCHIVE=$(JAVA_HOME)/bin/jar | |
330 | %else | |
331 | -DENABLE_java=OFF \ | |
332 | %endif | |
333 | -DHAVE_PTHREAD=ON \ | |
334 | -DOCTAVE_INCLUDE_PATH=%{_includedir}/octave \ | |
335 | -DUSE_RPATH=OFF \ | |
336 | -DENABLE_tk=ON \ | |
337 | -DENABLE_ocaml=OFF \ | |
338 | -DENABLE_lua=OFF \ | |
339 | -DENABLE_itcl=%{!?with_itcl:OFF}%{?with_itcl:ON} \ | |
340 | -DPLD_ntk=ON \ | |
341 | -DPLD_plmeta=ON \ | |
342 | -DPLD_cgm=ON \ | |
343 | -DPLD_pstex=ON \ | |
344 | -DwxWidgets_CONFIG_EXECUTABLE=wx-gtk2-unicode-config \ | |
345 | -DwxWidgets_USE_UNICODE=ON \ | |
346 | %{!?with_perl_pdl:-DENABLE_pdl=OFF} \ | |
347 | ../ | |
348 | ||
349 | %{__make} | |
fbce7ed6 JB |
350 | |
351 | %install | |
352 | rm -rf $RPM_BUILD_ROOT | |
161f3dd0 | 353 | install -d $RPM_BUILD_ROOT%{_examplesdir} |
fbce7ed6 | 354 | |
a7b00b76 | 355 | cd build |
fbce7ed6 | 356 | %{__make} install \ |
a7b00b76 | 357 | DESTDIR=$RPM_BUILD_ROOT |
fbce7ed6 | 358 | |
a7b00b76 | 359 | mv -f $RPM_BUILD_ROOT%{_datadir}/plplot%{version}/examples \ |
fbce7ed6 | 360 | $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
161f3dd0 JR |
361 | |
362 | rm -rf installed-docs | |
f43eed59 | 363 | mv -f $RPM_BUILD_ROOT%{_docdir}/plplot installed-docs |
161f3dd0 | 364 | |
fbce7ed6 | 365 | %if %{with java} |
f43eed59 JB |
366 | # java must stay in libdir - JNI wrapper included |
367 | mv -f $RPM_BUILD_ROOT%{_libdir}/java/plplot/examples \ | |
fbce7ed6 | 368 | $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/java |
f43eed59 | 369 | mv -f $RPM_BUILD_ROOT%{_libdir}/java/plplot/core/README.javaAPI installed-docs |
fbce7ed6 | 370 | %endif |
fbce7ed6 JB |
371 | |
372 | %clean | |
373 | rm -rf $RPM_BUILD_ROOT | |
374 | ||
375 | %post -p /sbin/ldconfig | |
376 | %postun -p /sbin/ldconfig | |
377 | ||
378 | %post c++ -p /sbin/ldconfig | |
379 | %postun c++ -p /sbin/ldconfig | |
380 | ||
381 | %post f77 -p /sbin/ldconfig | |
382 | %postun f77 -p /sbin/ldconfig | |
383 | ||
fbce7ed6 JB |
384 | %post tcl -p /sbin/ldconfig |
385 | %postun tcl -p /sbin/ldconfig | |
386 | ||
387 | %files | |
388 | %defattr(644,root,root,755) | |
792520d0 | 389 | %doc AUTHORS ChangeLog Copyright FAQ NEWS PROBLEMS README SERVICE TODO* ToDo |
fbce7ed6 JB |
390 | %doc installed-docs/{README.1st.csa,README.1st.nn,README.csa,README.nn,README.drivers} |
391 | %attr(755,root,root) %{_bindir}/plm2gif | |
392 | %attr(755,root,root) %{_bindir}/plpr | |
393 | %attr(755,root,root) %{_bindir}/plrender | |
394 | %attr(755,root,root) %{_bindir}/pltek | |
395 | %attr(755,root,root) %{_bindir}/pstex2eps | |
f43eed59 | 396 | %attr(755,root,root) %{_libdir}/libcsirocsa.so.*.*.* |
7fa8ed02 | 397 | %attr(755,root,root) %ghost %{_libdir}/libcsirocsa.so.0 |
f43eed59 | 398 | %attr(755,root,root) %{_libdir}/libcsironn.so.*.*.* |
7fa8ed02 | 399 | %attr(755,root,root) %ghost %{_libdir}/libcsironn.so.0 |
fbce7ed6 | 400 | %attr(755,root,root) %{_libdir}/libplplotd.so.*.*.* |
a7b00b76 | 401 | %attr(755,root,root) %ghost %{_libdir}/libplplotd.so.9 |
fbce7ed6 JB |
402 | %{_mandir}/man1/plm2gif.1* |
403 | %{_mandir}/man1/plpr.1* | |
404 | %{_mandir}/man1/plrender.1* | |
405 | %{_mandir}/man1/pltek.1* | |
406 | %{_mandir}/man1/pstex2eps.1* | |
407 | %dir %{_libdir}/plplot%{version} | |
fbce7ed6 | 408 | %dir %{_libdir}/plplot%{version}/driversd |
fbce7ed6 | 409 | %attr(755,root,root) %{_libdir}/plplot%{version}/driversd/cgm.so |
fbce7ed6 | 410 | %{_libdir}/plplot%{version}/driversd/cgm.rc |
fbce7ed6 | 411 | %attr(755,root,root) %{_libdir}/plplot%{version}/driversd/mem.so |
fbce7ed6 JB |
412 | %{_libdir}/plplot%{version}/driversd/mem.rc |
413 | %attr(755,root,root) %{_libdir}/plplot%{version}/driversd/null.so | |
fbce7ed6 | 414 | %{_libdir}/plplot%{version}/driversd/null.rc |
fbce7ed6 | 415 | %attr(755,root,root) %{_libdir}/plplot%{version}/driversd/plmeta.so |
fbce7ed6 JB |
416 | %{_libdir}/plplot%{version}/driversd/plmeta.rc |
417 | %attr(755,root,root) %{_libdir}/plplot%{version}/driversd/ps.so | |
fbce7ed6 | 418 | %{_libdir}/plplot%{version}/driversd/ps.rc |
a7b00b76 JR |
419 | %attr(755,root,root) %{_libdir}/plplot%{version}/driversd/pstex.so |
420 | %{_libdir}/plplot%{version}/driversd/pstex.rc | |
fbce7ed6 | 421 | %attr(755,root,root) %{_libdir}/plplot%{version}/driversd/xfig.so |
fbce7ed6 JB |
422 | %{_libdir}/plplot%{version}/driversd/xfig.rc |
423 | ||
fbce7ed6 JB |
424 | %files driver-ntk |
425 | %defattr(644,root,root,755) | |
426 | %attr(755,root,root) %{_libdir}/plplot%{version}/driversd/ntk.so | |
fbce7ed6 JB |
427 | %{_libdir}/plplot%{version}/driversd/ntk.rc |
428 | ||
429 | %files driver-tk | |
430 | %defattr(644,root,root,755) | |
431 | %attr(755,root,root) %{_libdir}/plplot%{version}/driversd/tk.so | |
fbce7ed6 JB |
432 | %{_libdir}/plplot%{version}/driversd/tk.rc |
433 | %attr(755,root,root) %{_libdir}/plplot%{version}/driversd/tkwin.so | |
fbce7ed6 JB |
434 | %{_libdir}/plplot%{version}/driversd/tkwin.rc |
435 | ||
436 | %files driver-xwin | |
437 | %defattr(644,root,root,755) | |
438 | %attr(755,root,root) %{_libdir}/plplot%{version}/driversd/xwin.so | |
fbce7ed6 JB |
439 | %{_libdir}/plplot%{version}/driversd/xwin.rc |
440 | ||
441 | %files devel | |
442 | %defattr(644,root,root,755) | |
f43eed59 JB |
443 | %attr(755,root,root) %{_libdir}/libcsirocsa.so |
444 | %attr(755,root,root) %{_libdir}/libcsironn.so | |
fbce7ed6 | 445 | %attr(755,root,root) %{_libdir}/libplplotd.so |
fbce7ed6 JB |
446 | %{_includedir}/plplot |
447 | %exclude %{_includedir}/plplot/pltcl.h | |
448 | %exclude %{_includedir}/plplot/pltk.h | |
449 | %exclude %{_includedir}/plplot/tclMatrix.h | |
f43eed59 | 450 | %{_pkgconfigdir}/plplotd.pc |
fbce7ed6 JB |
451 | %dir %{_examplesdir}/%{name}-%{version} |
452 | %attr(755,root,root) %{_examplesdir}/%{name}-%{version}/plplot-test.sh | |
453 | %attr(755,root,root) %{_examplesdir}/%{name}-%{version}/test_c.sh | |
f43eed59 | 454 | %{_examplesdir}/%{name}-%{version}/Makefile |
fbce7ed6 | 455 | %{_examplesdir}/%{name}-%{version}/c |
161f3dd0 | 456 | %if %{with perl_pdl} |
f43eed59 JB |
457 | # perl examples use PDL::Graphics::PLplot module found in perl-PDL |
458 | %{_examplesdir}/%{name}-%{version}/perl | |
161f3dd0 | 459 | %endif |
fbce7ed6 | 460 | |
fbce7ed6 JB |
461 | %files c++ |
462 | %defattr(644,root,root,755) | |
463 | %attr(755,root,root) %{_libdir}/libplplotcxxd.so.*.*.* | |
7fa8ed02 | 464 | %attr(755,root,root) %ghost %{_libdir}/libplplotcxxd.so.9 |
fbce7ed6 JB |
465 | |
466 | %files c++-devel | |
467 | %defattr(644,root,root,755) | |
468 | %attr(755,root,root) %{_libdir}/libplplotcxxd.so | |
f43eed59 | 469 | %{_pkgconfigdir}/plplotd-c++.pc |
fbce7ed6 JB |
470 | %attr(755,root,root) %{_examplesdir}/%{name}-%{version}/test_cxx.sh |
471 | %{_examplesdir}/%{name}-%{version}/c++ | |
472 | ||
fbce7ed6 JB |
473 | %files f77 |
474 | %defattr(644,root,root,755) | |
792520d0 | 475 | %attr(755,root,root) %{_libdir}/libplplotf77cd.so.*.*.* |
7fa8ed02 | 476 | %attr(755,root,root) %ghost %{_libdir}/libplplotf77cd.so.9 |
fbce7ed6 | 477 | %attr(755,root,root) %{_libdir}/libplplotf77d.so.*.*.* |
7fa8ed02 | 478 | %attr(755,root,root) %ghost %{_libdir}/libplplotf77d.so.9 |
fbce7ed6 JB |
479 | |
480 | %files f77-devel | |
481 | %defattr(644,root,root,755) | |
792520d0 | 482 | %attr(755,root,root) %{_libdir}/libplplotf77cd.so |
fbce7ed6 | 483 | %attr(755,root,root) %{_libdir}/libplplotf77d.so |
f43eed59 | 484 | %{_pkgconfigdir}/plplotd-f77.pc |
fbce7ed6 JB |
485 | %attr(755,root,root) %{_examplesdir}/%{name}-%{version}/test_f77.sh |
486 | %{_examplesdir}/%{name}-%{version}/f77 | |
487 | ||
fbce7ed6 JB |
488 | %if %{with java} |
489 | %files java | |
490 | %defattr(644,root,root,755) | |
f43eed59 JB |
491 | %doc installed-docs/README.javaAPI |
492 | %dir %{_libdir}/java/plplot | |
493 | %dir %{_libdir}/java/plplot/core | |
494 | %attr(755,root,root) %{_libdir}/java/plplot/core/*.so | |
495 | %{_libdir}/java/plplot/core/*.class | |
496 | %{_libdir}/java/plplot/core/*.java | |
fbce7ed6 JB |
497 | |
498 | %files java-devel | |
499 | %defattr(644,root,root,755) | |
f43eed59 | 500 | %doc installed-docs/README.javaAPI |
fbce7ed6 JB |
501 | %attr(755,root,root) %{_examplesdir}/%{name}-%{version}/test_java.sh |
502 | %{_examplesdir}/%{name}-%{version}/java | |
fbce7ed6 JB |
503 | %endif |
504 | ||
505 | %files tcl | |
506 | %defattr(644,root,root,755) | |
507 | %attr(755,root,root) %{_bindir}/pltcl | |
508 | %attr(755,root,root) %{_bindir}/plserver | |
509 | %attr(755,root,root) %{_libdir}/libplplottcltkd.so.*.*.* | |
a7b00b76 | 510 | %attr(755,root,root) %ghost %{_libdir}/libplplottcltkd.so.9 |
fbce7ed6 | 511 | %attr(755,root,root) %{_libdir}/libtclmatrixd.so.*.*.* |
a7b00b76 | 512 | %attr(755,root,root) %ghost %{_libdir}/libtclmatrixd.so.9 |
fbce7ed6 JB |
513 | %{_mandir}/man1/pltcl.1* |
514 | %{_mandir}/man1/plserver.1* | |
515 | ||
516 | %files tcl-devel | |
517 | %defattr(644,root,root,755) | |
518 | %attr(755,root,root) %{_libdir}/libplplottcltkd.so | |
519 | %attr(755,root,root) %{_libdir}/libtclmatrixd.so | |
fbce7ed6 JB |
520 | %{_includedir}/plplot/pltcl.h |
521 | %{_includedir}/plplot/pltk.h | |
522 | %{_includedir}/plplot/tclMatrix.h | |
f43eed59 | 523 | %{_pkgconfigdir}/plplotd-tcl.pc |
fbce7ed6 JB |
524 | %attr(755,root,root) %{_examplesdir}/%{name}-%{version}/test_tcl.sh |
525 | %{_examplesdir}/%{name}-%{version}/tcl | |
526 | %{_examplesdir}/%{name}-%{version}/tk | |
527 | ||
fbce7ed6 JB |
528 | %files octave |
529 | %defattr(644,root,root,755) | |
530 | %doc bindings/octave/{BUGS,FGA,README,ToDo,USAGE,plplot_octave_txt} | |
30d0607a JB |
531 | %attr(755,root,root) %{octave_oct_sitedir}/plplot_octave.oct |
532 | %{octave_m_sitedir}/PLplot | |
fbce7ed6 JB |
533 | %{_datadir}/plplot_octave |
534 | ||
535 | %files octave-examples | |
536 | %defattr(644,root,root,755) | |
537 | %attr(755,root,root) %{_examplesdir}/%{name}-%{version}/test_octave.sh | |
538 | %{_examplesdir}/%{name}-%{version}/octave | |
539 | ||
540 | %files -n python-plplot | |
541 | %defattr(644,root,root,755) | |
542 | %attr(755,root,root) %{py_sitedir}/_plplotcmodule.so | |
543 | %attr(755,root,root) %{py_sitedir}/plplot_widgetmodule.so | |
544 | %{py_sitedir}/plplot.py | |
545 | %{py_sitedir}/plplotc.py | |
546 | ||
547 | %files -n python-plplot-examples | |
548 | %defattr(644,root,root,755) | |
549 | %attr(755,root,root) %{_examplesdir}/%{name}-%{version}/test_python.sh | |
550 | %{_examplesdir}/%{name}-%{version}/python |