]> git.pld-linux.org Git - packages/TiMidity++.git/commitdiff
- bconds auto/ac/TiMidity++-2_12_0pre1-3
authoreothane <eothane@pld-linux.org>
Fri, 30 Jan 2004 19:38:34 +0000 (19:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    TiMidity++.spec -> 1.61

TiMidity++.spec

index 31e93d83434d0f4b282479092747fbe4fb48c555..95571ca56b696c1a7f6e1304a373ef0662cbe8a2 100644 (file)
@@ -1,6 +1,6 @@
 #
 # Conditional build:
-# _without_alsa - without ALSA support
+%bcond_without alsa    # without ALSA support
 #
 Summary:       TiMidity++ - MIDI to WAV converter and player
 Summary(pl):   TiMidity++ - konwerter do WAV oraz odtwarzacz plików MIDI
@@ -27,17 +27,17 @@ Source3:    pistol.pat.bz2
 Source4:       timidity.cfg
 Patch0:                %{name}-config.patch
 URL:           http://www.goice.co.jp/member/mo/timidity/
-%{!?_without_alsa:BuildRequires:       alsa-lib-devel}
+%{?with_alsa:BuildRequires:    alsa-lib-devel}
 BuildRequires: autoconf
 BuildRequires: gtk+-devel
 BuildRequires: motif-devel
 BuildRequires: ncurses-devel
 BuildRequires: slang-devel
 BuildRequires: tk-devel >= 8.3.2
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     timidity
 Obsoletes:     timidity++
 Obsoletes:     timidity++-X11
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 TiMidity++ is a converter that converts some of MIDI files ( formats :
@@ -203,8 +203,8 @@ cp -f /usr/share/automake/config.sub .
        --enable-network \
        --enable-server \
        --enable-spectrogram \
-       --enable-audio=default,oss,%{!?_without_alsa:alsa,}esd \
-       %{!?_without_alsa:--enable-alsaseq} \
+       --enable-audio=default,oss,%{?with_alsa:alsa,}esd \
+       %{?with_alsa:--enable-alsaseq} \
        --enable-default-output=default
 
 %{__make}
This page took 0.113397 seconds and 4 git commands to generate.