Patch0: TiMidity++-config.patch
URL: http://www.goice.co.jp/member/mo/timidity/
BuildRequires: alsa
-BuildRoot: /tmp/%{name}-%{version}-root
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
TiMidity++ is a converter that converts some of MIDI files ( formats :
-Standard MIDI file (*.MID), Recomposer files (*.RCP, *.R36, *.G18, *.G36)
-and Module file (*.mod) ) into formatted audio file (ex. RIFF WAVE).
-TiMidity uses Gravis Ultrasound-compatible patch files or Soundfonts
-(*.sfx, *.sf2) to generate digital audio data from MIDI files. The digital
-audio data generated by TiMidity can be stored in a file for processing, or
-played in real time through an audio device. In real time playing, TiMidity
-if able to show the lylic contained in KAR file or WRD file.
+Standard MIDI file (*.MID), Recomposer files (*.RCP, *.R36, *.G18,
+*.G36) and Module file (*.mod) ) into formatted audio file (ex. RIFF
+WAVE). TiMidity uses Gravis Ultrasound-compatible patch files or
+Soundfonts (*.sfx, *.sf2) to generate digital audio data from MIDI
+files. The digital audio data generated by TiMidity can be stored in a
+file for processing, or played in real time through an audio device.
+In real time playing, TiMidity if able to show the lylic contained in
+KAR file or WRD file.
%package slang
Summary: Slang interface for TiMidity++.
--enable-network \
--enable-server \
--enable-spectrogram
-make
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_datadir}/GUSpatches}
install timidity.cfg $RPM_BUILD_ROOT%{_sysconfdir}