]> git.pld-linux.org Git - packages/plplot.git/commitdiff
- added ocaml_opt bcond auto/th/plplot-5.10.0-8
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 6 Apr 2015 14:20:41 +0000 (14:20 +0000)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 6 Apr 2015 14:20:41 +0000 (14:20 +0000)
- rel 8

plplot.spec

index 9e38445331d5d906259e5a1478f21cbcaf491105..c3fa5851b01a246bbc309548e4dc7734daa82329 100644 (file)
 %bcond_without itcl            # [incr Tcl]/[incr Tk] support in Tcl/Tk binding
 %bcond_without lua             # Lua binding
 %bcond_without ocaml           # OCaml binding
+%bcond_without ocaml_opt       # skip building native optimized binaries (bytecode is always built)
 #
+%ifarch x32
+# not yet available on x32 (ocaml 4.02.1), remove when upstream will support it
+%undefine      with_ocaml_opt
+%endif
+
 Summary:       PLplot - a library of functions that are useful for making scientific plots
 Summary(pl.UTF-8):     PLplot - biblioteka funkcji przydatnych do tworzenia wykresów naukowych
 Name:          plplot
 Version:       5.10.0
-Release:       7
+Release:       8
 License:       LGPL v2+
 Group:         Libraries
 Source0:       http://downloads.sourceforge.net/plplot/%{name}-%{version}.tar.gz
@@ -1003,7 +1009,9 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{_libdir}/ocaml/plplot
 %{_libdir}/ocaml/plplot/META
 %{_libdir}/ocaml/plplot/libplplot_stubs.a
+%if %{with ocaml_opt}
 %{_libdir}/ocaml/plplot/plplot.a
+%endif
 %{_libdir}/ocaml/plplot/plplot.cm*
 %{_libdir}/ocaml/plplot/plplot.mli
 %{_pkgconfigdir}/plplotd-ocaml.pc
@@ -1018,7 +1026,9 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{_libdir}/ocaml/plcairo
 %{_libdir}/ocaml/plcairo/META
 %{_libdir}/ocaml/plcairo/libplcairo_stubs.a
+%if %{with ocaml_opt}
 %{_libdir}/ocaml/plcairo/plcairo.a
+%endif
 %{_libdir}/ocaml/plcairo/plcairo.cm*
 %{_libdir}/ocaml/plcairo/plcairo.mli
 %endif
This page took 0.042376 seconds and 4 git commands to generate.