]> git.pld-linux.org Git - packages/plplot.git/blame - plplot.spec
- parametrized OCTAVE_M_DIR var
[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
fbce7ed6 16URL: http://plplot.sourceforge.net/
a7b00b76
JR
17BuildRequires: QtGui-devel
18BuildRequires: QtSvg-devel
19BuildRequires: QtXml-devel
20BuildRequires: cmake
fbce7ed6 21BuildRequires: docbook-style-dsssl
43d4c738 22BuildRequires: fftw3-devel
008b57e3 23BuildRequires: fftw3-single-devel
fbce7ed6 24BuildRequires: freetype-devel >= 2.1.0
a7b00b76
JR
25BuildRequires: gcc-ada
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
a7b00b76 37%{?with_perl_pdl:BuildRequires: perl-PDL}
161f3dd0 38BuildRequires: perl-XML-DOM
008b57e3 39BuildRequires: perl-XML-Parser
40BuildRequires: perl-XML-SAX-Expat
30d0607a 41BuildRequires: pkgconfig
a7b00b76
JR
42BuildRequires: pango-devel
43BuildRequires: python-PyQt4-devel
f448fc80 44BuildRequires: python-numpy-devel >= 15.3
d32d40fb 45BuildRequires: python-devel >= 1:2.3
30d0607a 46BuildRequires: python-pygtk-devel >= 2:2.12.1
fbce7ed6 47BuildRequires: qhull-devel
a7b00b76 48BuildRequires: qt4-qmake
008b57e3 49BuildRequires: rpm-pythonprov
598cb4da 50BuildRequires: sed >= 4.0
a7b00b76 51BuildRequires: sip
161f3dd0 52BuildRequires: swig
4b6553b3 53BuildRequires: swig-python
04165737 54BuildRequires: tcl-devel >= 8.4.11-3
fbce7ed6
JB
55BuildRequires: tetex-dvips
56BuildRequires: texinfo
57BuildRequires: tk-devel
a7b00b76
JR
58BuildRequires: xorg-lib-libXext-devel
59BuildRequires: xorg-lib-libICE-devel
60BuildRequires: xorg-lib-libX11-devel
fbce7ed6
JB
61BuildRoot: %{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
68PLplot is a library of functions that are useful for making scientific
69plots. It can be used from within compiled languages such as C, C++,
70FORTRAN and Java, and interactively from interpreted languages such as
71Octave, Python, Perl and Tcl.
72
73The PLplot library can be used to create standard X-Y plots, semilog
74plots, log-log plots, contour plots, 3D surface plots, mesh plots, bar
75charts and pie charts. Multiple graphs (of the same or different
76sizes) may be placed on a single page with multiple lines in each
77graph.
78
7fa8ed02
ER
79A variety of output file devices such as PostScript, PNG, JPEG, LaTeX
80and others, as well as interactive devices such as xwin, tk, xterm and
81Tektronics devices are supported. New devices can be easily added by
82writing a small number of device dependent routines.
fbce7ed6 83
4205e3d0
JR
84%description -l pl.UTF-8
85PLplot to biblioteka funkcji przydatnych do tworzenia wykresów
7fa8ed02
ER
86naukowych. Może być używana z poziomu języków kompilowanych takich jak
87C, C++, FORTRAN czy Java, albo interaktywnie z poziomu języków
fbce7ed6
JB
88interpretowanych takich jak Octave, Python, Perl czy Tcl.
89
4205e3d0
JR
90Bibliotekę PLplot można wykorzystać do tworzenia standardowych
91wykresów X-Y, wykresów półlogarytmicznych, wykresów konturowych,
92wykresów powierzchni trójwymiarowych, wykresów siatek, wykresów
93sł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
95wiele linii.
96
4205e3d0
JR
97Obsługiwanych jest wiele urządzeń wyjściowych, w tym PostScript, PNG,
98JPEG, LaTeX i inne, a także urządzenia interaktywne, takie jak xwin,
99tk, xterm i Tektronics. Nowe urządzenia można łatwo dodać pisząc parę
100zależnych od urządzenia funkcji.
fbce7ed6 101
fbce7ed6
JB
102%package driver-ntk
103Summary: ntk driver for PLplot library
fbecc96b 104Summary(pl.UTF-8): Sterownik ntk dla biblioteki PLplot
fbce7ed6
JB
105Group: Libraries
106Requires: %{name} = %{version}-%{release}
107
108%description driver-ntk
109ntk (new tk) driver for PLplot library. It supports Tcl/Tk output.
110
4205e3d0
JR
111%description driver-ntk -l pl.UTF-8
112Sterownik ntk (new tk) dla biblioteki PLplot. Obsługuje wyjście
fbce7ed6
JB
113poprzez Tcl/Tk.
114
115%package driver-tk
116Summary: Tk drivers for PLplot library
fbecc96b 117Summary(pl.UTF-8): Sterowniki Tk dla biblioteki PLplot
fbce7ed6
JB
118Group: Libraries
119Requires: %{name}-tcl = %{version}-%{release}
120
121%description driver-tk
122Tk and tkwin drivers for PLplot library. They support Tcl/Tk output.
123
4205e3d0
JR
124%description driver-ntk -l pl.UTF-8
125Sterownik Tk i tkwin dla biblioteki PLplot. Obsługują wyjście poprzez
fbce7ed6
JB
126Tcl/Tk.
127
128%package driver-xwin
129Summary: xwin driver for PLplot library
fbecc96b 130Summary(pl.UTF-8): Sterownik xwin dla biblioteki PLplot
fbce7ed6
JB
131Group: Libraries
132Requires: %{name} = %{version}-%{release}
133
134%description driver-xwin
135xwin driver for PLplot library. It supports X Window System output.
136
4205e3d0
JR
137%description driver-xwin -l pl.UTF-8
138Sterownik ntk (new tk) dla biblioteki PLplot. Obsługuje wyjście do
fbce7ed6
JB
139okna systemu X Window.
140
141%package devel
142Summary: Header files for PLplot library
fbecc96b 143Summary(pl.UTF-8): Pliki nagłówkowe biblioteki PLplot
fbce7ed6
JB
144Group: Development/Libraries
145Requires: %{name} = %{version}-%{release}
146Requires: freetype-devel >= 2.1
147Requires: qhull-devel
a7b00b76 148Obsoletes: plplot-static
fbce7ed6
JB
149
150%description devel
151Header files for PLplot library.
152
4205e3d0
JR
153%description devel -l pl.UTF-8
154Pliki nagłówkowe biblioteki PLplot.
fbce7ed6 155
fbce7ed6
JB
156%package c++
157Summary: PLplot library - C++ binding
fbecc96b 158Summary(pl.UTF-8): Biblioteka PLplot - wiązanie dla C++
fbce7ed6
JB
159Group: Libraries
160Requires: %{name} = %{version}-%{release}
161
162%description c++
163PLplot library - C++ binding.
164
4205e3d0
JR
165%description c++ -l pl.UTF-8
166Biblioteka PLplot - wiązanie dla C++.
fbce7ed6
JB
167
168%package c++-devel
169Summary: PLplot library - C++ binding development files
fbecc96b 170Summary(pl.UTF-8): Biblioteka PLplot - pliki programistyczne wiązania dla C++
fbce7ed6
JB
171Group: Development/Libraries
172Requires: %{name}-c++ = %{version}-%{release}
173Requires: %{name}-devel = %{version}-%{release}
174Requires: libstdc++-devel
a7b00b76 175Obsoletes: plplot-c++-static
fbce7ed6
JB
176
177%description c++-devel
178PLplot library - C++ binding development files.
179
4205e3d0
JR
180%description c++-devel -l pl.UTF-8
181Biblioteka PLplot - pliki programistyczne wiązania dla C++.
fbce7ed6 182
fbce7ed6
JB
183%package f77
184Summary: PLplot library - FORTRAN 77 binding
fbecc96b 185Summary(pl.UTF-8): Biblioteka PLplot - wiązanie dla języka FORTRAN 77
fbce7ed6
JB
186Group: Libraries
187Requires: %{name} = %{version}-%{release}
188
189%description f77
190PLplot library - FORTRAN 77 binding.
191
4205e3d0
JR
192%description f77 -l pl.UTF-8
193Biblioteka PLplot - wiązanie dla języka FORTRAN 77.
fbce7ed6
JB
194
195%package f77-devel
196Summary: PLplot library - FORTRAN 77 binding development files
fbecc96b 197Summary(pl.UTF-8): Biblioteka PLplot - pliki programistyczne wiązania dla języka FORTRAN 77
fbce7ed6
JB
198Group: Development/Libraries
199Requires: %{name}-devel = %{version}-%{release}
200Requires: %{name}-f77 = %{version}-%{release}
a7b00b76
JR
201Requires: gcc-fortran
202Obsoletes: plplot-f77-static
fbce7ed6
JB
203
204%description f77-devel
205PLplot library - FORTRAN 77 binding development files.
206
4205e3d0
JR
207%description f77-devel -l pl.UTF-8
208Biblioteka PLplot - pliki programistyczne wiązania dla języka FORTRAN
fbce7ed6
JB
20977.
210
fbce7ed6
JB
211%package java
212Summary: PLplot library - Java binding
fbecc96b 213Summary(pl.UTF-8): Biblioteka PLplot - wiązanie dla Javy
fbce7ed6
JB
214Group: Libraries
215Requires: %{name} = %{version}-%{release}
216
217%description java
218PLplot library - Java binding.
219
4205e3d0
JR
220%description java -l pl.UTF-8
221Biblioteka PLplot - wiązanie dla Javy.
fbce7ed6
JB
222
223%package java-devel
224Summary: PLplot library - Java binding development files
fbecc96b 225Summary(pl.UTF-8): Biblioteka PLplot - pliki programistyczne wiązania dla Javy
fbce7ed6
JB
226Group: Development/Libraries
227Requires: %{name}-devel = %{version}-%{release}
228Requires: %{name}-java = %{version}-%{release}
f43eed59 229Obsoletes: plplot-java-static
fbce7ed6
JB
230
231%description java-devel
232PLplot library - Java binding development files.
233
4205e3d0
JR
234%description java -l pl.UTF-8
235Biblioteka PLplot - pliki programistyczne wiązania dla Javy.
fbce7ed6 236
fbce7ed6
JB
237%package tcl
238Summary: PLplot library - Tcl/Tk binding
fbecc96b 239Summary(pl.UTF-8): Biblioteka PLplot - wiązanie dla Tcl/Tk
fbce7ed6
JB
240Group: Libraries
241Requires: %{name} = %{version}-%{release}
242
243%description tcl
244PLplot library - Tcl/Tk binding.
245
4205e3d0
JR
246%description tcl -l pl.UTF-8
247Biblioteka PLplot - wiązanie dla Tcl/Tk.
fbce7ed6
JB
248
249%package tcl-devel
250Summary: PLplot library - Tcl/Tk binding development files
fbecc96b 251Summary(pl.UTF-8): Biblioteka PLplot - pliki programistyczne wiązania dla Tcl/Tk
fbce7ed6
JB
252Group: Development/Libraries
253Requires: %{name}-devel = %{version}-%{release}
254Requires: %{name}-tcl = %{version}-%{release}
a7b00b76
JR
255%{?with_itcl:Requires: itcl-devel}
256Obsoletes: plplot-tcl-static
fbce7ed6
JB
257
258%description tcl-devel
259PLplot library - Tcl/Tk binding development files.
260
4205e3d0
JR
261%description tcl-devel -l pl.UTF-8
262Biblioteka PLplot - pliki programistyczne wiązania dla Tcl/Tk.
fbce7ed6 263
fbce7ed6
JB
264%package octave
265Summary: PLplot library - Octave binding
fbecc96b 266Summary(pl.UTF-8): Biblioteka PLplot - wiązanie dla języka Octave
fbce7ed6
JB
267Group: Libraries
268Requires: %{name} = %{version}-%{release}
269
270%description octave
271PLplot library - Octave binding.
272
4205e3d0
JR
273%description octave -l pl.UTF-8
274Biblioteka PLplot - wiązanie dla języka Octave.
fbce7ed6
JB
275
276%package octave-examples
277Summary: PLplot library - examples for Octave binding
fbecc96b 278Summary(pl.UTF-8): Biblioteka PLplot - przykłady do wiązania dla języka Octave
fbce7ed6
JB
279Group: Development/Libraries
280Requires: %{name}-devel = %{version}-%{release}
281Requires: %{name}-octave = %{version}-%{release}
282
283%description octave-examples
284PLplot library - examples for Octave binding.
285
4205e3d0
JR
286%description octave-examples -l pl.UTF-8
287Biblioteka PLplot - przykłady do wiązania dla języka Octave.
fbce7ed6
JB
288
289%package -n python-plplot
290Summary: PLplot library - Python binding
fbecc96b 291Summary(pl.UTF-8): Biblioteka PLplot - wiązanie dla Pythona
fbce7ed6
JB
292Group: Libraries/Python
293Requires: %{name} = %{version}-%{release}
5a3910de 294%pyrequires_eq python-libs
f448fc80 295Requires: python-numpy
fbce7ed6
JB
296
297%description -n python-plplot
298PLplot library - Python binding.
299
4205e3d0
JR
300%description -n python-plplot -l pl.UTF-8
301Biblioteka PLplot - wiązanie dla Pythona.
fbce7ed6
JB
302
303%package -n python-plplot-examples
304Summary: PLplot library - Python binding examples
fbecc96b 305Summary(pl.UTF-8): Biblioteka PLplot - przykłady do wiązania dla Pythona
fbce7ed6
JB
306Group: Libraries/Python
307Requires: %{name}-devel = %{version}-%{release}
308Requires: python-plplot = %{version}-%{release}
309
310%description -n python-plplot-examples
311PLplot library - Python binding examples.
312
4205e3d0
JR
313%description -n python-plplot-examples -l pl.UTF-8
314Biblioteka PLplot - przykłady do wiązania dla Pythona.
fbce7ed6
JB
315
316%prep
317%setup -q
04165737 318
fbce7ed6 319%build
a7b00b76
JR
320mkdir build
321cd build
322cmake \
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
352rm -rf $RPM_BUILD_ROOT
161f3dd0 353install -d $RPM_BUILD_ROOT%{_examplesdir}
fbce7ed6 354
a7b00b76 355cd build
fbce7ed6 356%{__make} install \
a7b00b76 357 DESTDIR=$RPM_BUILD_ROOT
fbce7ed6 358
a7b00b76 359mv -f $RPM_BUILD_ROOT%{_datadir}/plplot%{version}/examples \
fbce7ed6 360 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
161f3dd0
JR
361
362rm -rf installed-docs
f43eed59 363mv -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
367mv -f $RPM_BUILD_ROOT%{_libdir}/java/plplot/examples \
fbce7ed6 368 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/java
f43eed59 369mv -f $RPM_BUILD_ROOT%{_libdir}/java/plplot/core/README.javaAPI installed-docs
fbce7ed6 370%endif
fbce7ed6
JB
371
372%clean
373rm -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
This page took 0.19815 seconds and 4 git commands to generate.