%bcond_without ocaml # OCaml plugin (requires ocaml_opt support)
%bcond_without perl # Perl plugin
%bcond_without python # Python plugin
%bcond_without ocaml # OCaml plugin (requires ocaml_opt support)
%bcond_without perl # Perl plugin
%bcond_without python # Python plugin
%bcond_with vddk # VMware VDDK plugin [needs proprietary VDDK]
#
%ifnarch %{ix86} %{x8664} arm aarch64 ppc sparc sparcv9
%bcond_with vddk # VMware VDDK plugin [needs proprietary VDDK]
#
%ifnarch %{ix86} %{x8664} arm aarch64 ppc sparc sparcv9
%{!?with_ocaml:--disable-ocaml} \
%{!?with_perl:--disable-perl} \
%{!?with_python:--disable-python} \
%{!?with_ocaml:--disable-ocaml} \
%{!?with_perl:--disable-perl} \
%{!?with_python:--disable-python} \
%{_mandir}/man3/nbdkit-filter.3*
%{_mandir}/man3/nbdkit-golang-plugin.3*
%{_mandir}/man3/nbdkit-lua-plugin.3*
%{_mandir}/man3/nbdkit-filter.3*
%{_mandir}/man3/nbdkit-golang-plugin.3*
%{_mandir}/man3/nbdkit-lua-plugin.3*