]> 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 a62cc3e4172a793040d448976ae20c8db45f7c98..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
@@ -9,18 +13,18 @@ Group(de):   Applikationen/Laut
 Group(pl):     Aplikacje/D¼wiêk
 Source0:       http://www.goice.co.jp/member/mo/timidity/dist/%{name}-%{version}.tar.bz2
 Patch0:                %{name}-config.patch
-BuildRequires: autoconf
-BuildRequires: automake
 %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 :
@@ -98,14 +102,10 @@ VT100 interface for TiMidity++.
 %patch0 -p1
 
 %build
-aclocal
-autoheader
-autoconf
-automake -a -c
 %configure \
        --with-elf \
 %ifnarch sparc sparc64
-       --enable-alsa \
+       %{!?bcond_off_alsa:--enable-alsa} \
 %endif
        --enable-dynamic \
        --enable-ncurses=dynamic \
This page took 0.033351 seconds and 4 git commands to generate.