%define name TiMidity++ %define version 2.11.3 %define release 3mdk %define prefix %{_prefix} Summary: MIDI to WAVE converter and player Name: %{name} Version: %{version} Release: %{release} URL: http://www.goice.co.jp/member/mo/timidity/ Source0: http://www.goice.co.jp/member/mo/timidity/dist/%{name}-%{version}.tar.bz2 Source1: http://raiden.goice.co.jp/member/mo/timidity/dist/cfg/timidity.cfg Patch0: TiMidity++-2.7.0-paths.patch.bz2 Patch1: TiMidity++-2.10.4-no-locincpth.patch.bz2 License: GPL Group: Sound BuildRequires: XFree86-devel BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot %description TiMidity is a MIDI to WAVE converter and player that uses Gravis Ultrasound(*)-compatible patch files to generate digital audio data from general MIDI files. The audio data can be played through any sound device or stored on disk. Note: You NEED to have some sort of sound samples installed for this to work! You may install the timidity-instruments package if you do not have any 3rd party samples. %prep %setup -q -n TiMidity++-%{version} %patch0 -p1 %patch1 -p1 -b .no-locincpth %build aclocal automake autoconf %configure --disable-slang --enable-gtk %make %install rm -rf $RPM_BUILD_ROOT #XXX Drill out cross compile stupidity. find . -name 'Makefile' -exec perl -pi -e 's/^transform.*$/transform = /g' {} \; %makeinstall ## XXX Need timidity.conf to make it work. mkdir -p $RPM_BUILD_ROOT%{_datadir}/timidity install -m0644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/timidity %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_bindir}/timidity %{_mandir}/man1/timidity* %{_mandir}/man5/timidity* %dir %{_datadir}/timidity %config(noreplace) %{_datadir}/timidity/timidity.cfg %doc doc/C/README* %doc COPYING %changelog * Mon Jan 6 2003 Stew Benedict <sbenedict@mandrakesoft.com> 2.11.3-3mdk - rebuild for new glibc/rpm, installed but not packaged files * Mon Oct 14 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 2.11.3-2mdk - fix midi playing (Sylvain Vignaud) * Thu May 09 2002 Geoffrey Lee <snailtalk@mandrakesoft.com> 2.11.3-1mdk - Bump up version. - Mark timidity.cfg as noreplace. - Add warning tht you _need_ some sort of sound samples for this to work. For Mandrake users you can install timidity-instruments. * Sat Apr 27 2002 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 2.10.4-4mdk - Patch1: Fix build with gcc-3.1+. Don't include /usr/local/* in include and lib search path. That would have caused the configury to fail for some checks. * Tue Nov 27 2001 Yves Duret <yduret@mandrakesoft.com> 2.10.4-3mdk - fix rpmlint hints - add a timidity.cfg * Wed Jul 11 2001 Yves Duret <yduret@mandrakesoft.com> 2.10.4-2mdk - rebuild * Sun Apr 08 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 2.10.4-1mdk - Roll out 2.10.4 for everyone. * Sat Apr 07 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 2.10.3-2mdk - Touch /usr/share/timidity/timidity.cfg to make it work (Andrew Lee). - Make use of %%configure and %%makeinstall. * Sun Mar 11 2001 Yves Duret <yduret@mandrakesoft.com> 2.10.3-1mdk - version 2.10.3 (bug fixes) - changed Summary and %%description to something comprehensible - added a -q option to %%setup - spec clean up * Sun Dec 17 2000 Yves Duret <yduret@mandrakesoft.com> 2.10.2-2mdk - macroization - fix the rpmlint warnings * Fri Nov 03 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 2.10.2-1mdk - new and shiny vesrion. - reenable gtk (why was it ever disabled?!) - cleanup of stale patches. * Wed Oct 18 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 2.10.1-1mdk - shiny new version. - remove the strip and bzip2 code. - get a new source instead of using patches. * Wed Aug 09 2000 Maurizio De Cecco <maurizio@mandrakesoft.com> 2.10.0-1mdk - Version 2.10.0 - Fixed man location for FHS * Mon Aug 07 2000 Frederic Lepied <flepied@mandrakesoft.com> 2.9.5-2mdk - automatically added BuildRequires * Tue Jun 20 2000 Maurizio De Cecco <maurizio@mandrakesoft.com> 2.9.5-1mdk - Version 2.9.5 * Tue Jun 20 2000 Maurizio De Cecco <maurizio@mandrakesoft.com> - Version 2.9.4 * Tue Apr 11 2000 Maurizio De Cecco <maurizio@mandrakesoft.com> - Fixed Distribution name * Thu Mar 16 2000 Maurizio De Cecco <maurizio@mandrakesoft.com> - Adapted to the new Group structure * Mon Mar 06 2000 Geoffrey Lee <snailtalk@linux-mandrake.com> - 2.9.0 - change license: it's majorly wrong - change the buildroot * Tue Feb 08 2000 Geoffrey Lee <snailtalk@linux-mandrake.com> 2.8.2-1mdk - 2.8.2 * Fri Dec 3 1999 Maurizio De Cecco <maurizio@mandrakesoft.com> - 2.8.1 * Tue Oct 26 1999 Maurizio De Cecco <maurizio@mandrakesoft.com> - 2.7.0: Note that 2.7.0 change the place where data and config files are, so old patches do not work anymore; i removed the patches, and timidity.cgf is now in /usr/share/timidity with the other files; you need timidity-instruments-1.0-4mdk with this package. * Fri Aug 6 1999 Bernhard Rosenkränzer <bero@mandrakesoft.com> - 2.3.0 - fix download URL * Fri Jul 16 1999 Bernhard Rosenkränzer <bero@mandrakesoft.com> - 2.1.1 * Mon May 10 1999 Bernhard Rosenkränzer <bero@mandrakesoft.com> - Change paths to match the timidity-instruments package * Wed Apr 28 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> - Mandrake adaptations. - handle RPM_OPT_FLAGS.