From 0cb6b8cb4eb521da812481aafa3df3a270a71b89 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Thu, 8 Feb 2001 01:32:36 +0000 Subject: [PATCH] - bcond_off_alsa - BuildRequires: tk-devel (removed tcl-devel as tk-devel implies it) Changed files: TiMidity++.spec -> 1.30 --- TiMidity++.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/TiMidity++.spec b/TiMidity++.spec index fca9ac1..3911f77 100644 --- a/TiMidity++.spec +++ b/TiMidity++.spec @@ -1,3 +1,7 @@ +# +# Conditional build: +# bcond_off_alsa - without ALSA support +# Summary: TiMidity++ - MIDI to WAV converter and player Name: TiMidity++ Version: 2.10.3a2 @@ -10,13 +14,13 @@ Group(pl): Aplikacje/D Source0: http://www.goice.co.jp/member/mo/timidity/dist/%{name}-%{version}.tar.bz2 Patch0: %{name}-config.patch %ifnarch sparc sparc64 -BuildRequires: alsa-lib-devel +%{!?bcond_off_alsa:BuildRequires: alsa-lib-devel} %endif BuildRequires: gtk+-devel BuildRequires: motif-devel BuildRequires: ncurses-devel BuildRequires: slang-devel -BuildRequires: tcl-devel >= 8.3.2 +BuildRequires: tk-devel >= 8.3.2 URL: http://www.goice.co.jp/member/mo/timidity/ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -99,7 +103,7 @@ VT100 interface for TiMidity++. %configure \ --with-elf \ %ifnarch sparc sparc64 - --enable-alsa \ + %{!?bcond_off_alsa:--enable-alsa} \ %endif --enable-dynamic \ --enable-ncurses=dynamic \ -- 2.44.0