]> git.pld-linux.org Git - packages/TiMidity++.git/blobdiff - TiMidity++.spec
- release 2: added to Obsoletes timidity++, timidity++-X11.
[packages/TiMidity++.git] / TiMidity++.spec
index fca9ac1edea11ba344a017054654d8bee53bbff2..4c4cf2b1380aa71b048556458edd4903ece972bf 100644 (file)
@@ -1,7 +1,11 @@
+#
+# Conditional build:
+# bcond_off_alsa - without ALSA support
+#
 Summary:       TiMidity++ - MIDI to WAV converter and player
 Name:          TiMidity++
 Version:       2.10.3a2
-Release:       1
+Release:       2
 License:       GPL
 Vendor:                Masanao Izumo <mo@goice.co.jp>
 Group:         Applications/Sound
@@ -10,15 +14,17 @@ 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)
+Obsoletes:     timidity++
+Obsoletes:     timidity++-X11
 
 %description
 TiMidity++ is a converter that converts some of MIDI files ( formats :
@@ -99,7 +105,7 @@ VT100 interface for TiMidity++.
 %configure \
        --with-elf \
 %ifnarch sparc sparc64
-       --enable-alsa \
+       %{!?bcond_off_alsa:--enable-alsa} \
 %endif
        --enable-dynamic \
        --enable-ncurses=dynamic \
This page took 0.029469 seconds and 4 git commands to generate.