Name: gt Version: 0.4 Release: 1mamba Summary: Modified Timidity which supportes enhanced gus format patches Group: Applications/Multimedia Vendor: openmamba Distribution: openmamba Packager: gil URL: http://alsa.opensrc.org/index.php/GusSoundfont Source: ftp://ling.lll.hawaii.edu/pub/greg/gt-%{version}.tar.gz License: GPL Patch0: gt-0.4-noac3.patch Patch1: gt-0.4-compile-fix.patch Patch2: gt-0.4-optflags.patch Patch3: gt-0.4-config-default-velocity-layer.patch Patch4: gt-0.4-ppc-compile-fix.patch Patch5: gt-0.4-unsf-bigendian-fix.patch Patch6: gt-0.4-unsf-tremolo.patch ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libalsa-devel BuildRequires: libncurses-devel BuildRequires: libvorbis-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Modified timidity midi player which supportes enhanced gus format patches and surround audio output. %package -n soundfont-utils Summary: Utilities for converting from / to various soundfont formats Group: Applications/Multimedia %description -n soundfont-utils Utilities for converting from / to various soundfont formats and a midi file disassembler. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 #%patch4 -p1 %patch5 -p1 %patch6 -p1 cp -p src/README README.timidity # NON FREE rm -rf examples/patch rm -rf sfz rm -rf src/ac3* %build export CFLAGS="%{optflags} -fsigned-char" %configure %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall mv %{buildroot}%{_bindir}/dim %{buildroot}%{_bindir}/midi-disasm mv %{buildroot}%{_mandir}/man1/dim.1 %{buildroot}%{_mandir}/man1/midi-disasm.1 sed -i 's/dim/midi-disasm/g' %{buildroot}%{_mandir}/man1/midi-disasm.1 touch -r utils/midifile.c %{buildroot}%{_mandir}/man1/midi-disasm.1 %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_bindir}/gt %{_mandir}/man1/gt.1.gz %doc AUTHORS COPYING ChangeLog FEATURES NEWS README* %files -n soundfont-utils %defattr(-,root,root) %{_bindir}/midi-disasm %{_bindir}/patcat %{_bindir}/patinfo %{_bindir}/sf2cfg %{_bindir}/sfz2pat %{_bindir}/unsf %{_bindir}/wav2pat %{_mandir}/man1/midi-disasm.1.gz %{_mandir}/man1/patcat.1.gz %{_mandir}/man1/sf2cfg.1.gz %{_mandir}/man1/sfz2pat.1.gz %{_mandir}/man1/unsf.1.gz %doc utils/README* utils/GUSSF2-SPEC %changelog * Thu Jul 08 2010 gil 0.4-1mamba - package created by autospec