#
# Conditional build:
-# bcond_off_alsa - without ALSA support
+# _without_alsa - without ALSA support
#
Summary: TiMidity++ - MIDI to WAV converter and player
Summary(pl): TiMidity++ - konwerter do WAV oraz odtwarzacz plików MIDI
Source0: http://www.goice.co.jp/member/mo/timidity/dist/%{name}-%{version}.tar.bz2
Patch0: %{name}-config.patch
%ifnarch sparc sparc64
-%{!?bcond_off_alsa:BuildRequires: alsa-lib-devel}
+%{!?_without_alsa:BuildRequires: alsa-lib-devel}
%endif
BuildRequires: gtk+-devel
BuildRequires: motif-devel
%configure \
--with-elf \
%ifnarch sparc sparc64
- %{!?bcond_off_alsa:--enable-alsa} \
+ %{!?_without_alsa:--enable-alsa} \
%endif
--enable-dynamic \
--enable-ncurses=dynamic \