]> git.pld-linux.org Git - packages/TiMidity++.git/blobdiff - TiMidity++.spec
- updated to 2.9.5.
[packages/TiMidity++.git] / TiMidity++.spec
index 40244155f3a744e6f3dbd6ba2ca7bad85a8886e0..3eb6c7617838edb125ff8814532ae6062ba1405c 100644 (file)
@@ -1,31 +1,35 @@
 Summary:       TiMidity++ - MIDI to WAV converter and player
 Name:          TiMidity++
-Version:       2.0.2
+Version:       2.9.5
 Release:       1
 Group:         Applications/Sound
-Copyright:     GPL
+Group(pl):     Aplikacje/D¼wiêk
+License:       GPL
 Vendor:                Masanao Izumo <mo@goice.co.jp>
-Source:                http://www.goice.co.jp/member/mo/timidity/dist/%{name}-%{version}.tar.bz2
-Patch0:                TiMidity++-gtk.patch
-Patch1:                TiMidity++-config.patch
+Source0:       http://www.goice.co.jp/member/mo/timidity/dist/%{name}-%{version}.tar.bz2
+Patch0:                TiMidity++-config.patch
 URL:           http://www.goice.co.jp/member/mo/timidity/
-BuildRoot:     /tmp/%{name}-%{version}-root
+BuildRequires: alsa
+BuildRequires: slang-devel
+BuildRequires: ncurses-devel
+BuildRequires: gtk+-devel
+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.
-
-This package contains interfaces for ncurses, emacs and WinAmp/x11amp skins.
+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++.
 Group:         Applications/Sound
+Group(pl):     Aplikacje/D¼wiêk
 Requires:      %{name} = %{version}
 
 %description slang
@@ -34,6 +38,7 @@ Slang interface for TiMidity++.
 %package motif
 Summary:       Motif interface for TiMidity++.
 Group:         Applications/Sound
+Group(pl):     Aplikacje/D¼wiêk
 Requires:      %{name} = %{version}
 
 %description motif
@@ -42,6 +47,7 @@ Motif interface for TiMidity++.
 %package tcltk
 Summary:       Tcl/Tk interface for TiMidity++.
 Group:         Applications/Sound
+Group(pl):     Aplikacje/D¼wiêk
 Requires:      %{name} = %{version}
 
 %description tcltk
@@ -50,6 +56,7 @@ Tcl/Tk interface for TiMidity++.
 %package xaw
 Summary:       Athena interface for TiMidity++.
 Group:         Applications/Sound
+Group(pl):     Aplikacje/D¼wiêk
 Requires:      %{name} = %{version}
 
 %description xaw
@@ -58,14 +65,24 @@ Athena interface for TiMidity++.
 %package gtk
 Summary:       GTK+ interface for TiMidity++.
 Group:         Applications/Sound
+Group(pl):     Aplikacje/D¼wiêk
 Requires:      %{name} = %{version}
 
 %description gtk
 GTK+ interface for TiMidity++.
 
+%package vt100
+Summary:       VT100 interface for TiMidity++.
+Group:         Applications/Sound
+Group(pl):     Aplikacje/D¼wiêk
+Requires:      %{name} = %{version}
+
+%description vt100
+VT100 interface for TiMidity++.
+
 %prep
 %setup -q
-%patch1 -p1
+%patch0 -p1
 
 %build
 aclocal
@@ -73,6 +90,8 @@ autoheader
 autoconf
 automake
 %configure \
+       --with-elf \
+       --enable-alsa \
        --enable-dynamic \
        --enable-ncurses=dynamic \
        --enable-slang=dynamic \
@@ -82,18 +101,19 @@ automake
        --enable-xaw=dynamic \
        --enable-xskin=dynamic \
        --enable-gtk=dynamic \
+       --enable-vt100=dynamic \
        --enable-network \
+       --enable-server \
        --enable-spectrogram
-patch -p1 <%{PATCH0}
-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{/etc,%{_datadir}/GUSpatches}
-install timidity.cfg $RPM_BUILD_ROOT/etc
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_datadir}/GUSpatches}
+install timidity.cfg $RPM_BUILD_ROOT%{_sysconfdir}
 
 strip --strip-unneeded $RPM_BUILD_ROOT%{_bindir}/* \
        $RPM_BUILD_ROOT%{_libdir}/timidity/*.so || :
@@ -112,8 +132,8 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/timidity/interface_e.so
 %attr(755,root,root) %{_libdir}/timidity/interface_i.so
 %{_libdir}/timidity/bitmaps
-%{_mandir}/man[15]/*
-%config /etc/timidity.cfg
+%{_mandir}/man*/*
+%config %{_sysconfdir}/timidity.cfg
 %ghost %dir %{_datadir}/GUSpatches
 
 %files slang
@@ -138,3 +158,7 @@ rm -rf $RPM_BUILD_ROOT
 %files gtk
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/timidity/interface_g.so
+
+%files vt100
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/timidity/interface_T.so
This page took 0.06874 seconds and 4 git commands to generate.