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