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