Name: gt Version: 0.4 Release: 1%{?_dist_release} Summary: Modified Timidity which supportes enhanced gus format patches Summary(ja): 改良Timidity(TiMidity++)で拡張GUSフォーマットpatch(サウンドフォント)をサポートする Group: Applications/Multimedia License: GPLv2+ URL: http://alsa.opensrc.org/index.php/GusSoundfont # FTP ftp://ling.lll.hawaii.edu/pub/greg/gt-0.4.tar.gz # This is ftp://ling.lll.hawaii.edu/pub/greg/gt-0.4.tar.gz # with the examples/patch and sfz directories removed as the license of the # samples in these dirs is unclear. Also the src/ac3* files have been removed # as these contain patented code. #-------------------------------------------------------------------- Source0: %{name}-%{version}-clean.tar.gz 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 #-------------------------------------------------------------------- BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: alsa-lib-devel libvorbis-devel # Requires: timidity++-patches %description Modified timidity midi player which supportes enhanced gus format patches and surround audio output. %description -l ja 改良Timidity(TiMidity++) MIDIプレイヤーで拡張GUSフォーマットpatch(*サウンドフォント) とサラウンドオーディオ出力をサポートします。 #-------------------------------------------------------------------- %package -n soundfont-utils Summary: Utilities for converting from / to various soundfont formats Summary(ja): 様々なフォーマットのサウンドフォントを相互に変換するユーティリティです Group: Applications/Multimedia %description -n soundfont-utils Utilities for converting from / to various soundfont formats and a midi file disassembler. %description -l ja -n soundfont-utils 様々なフォーマットのサウンドフォントを相互に変換し、またMIDIファイルを 逆アセンブルするユーティリティです。 #-------------------------------------------------------------------- %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 cp -p src/README README.timidity %build export CFLAGS="$RPM_OPT_FLAGS -fsigned-char" %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT # rename somewhat genericly named dim to midi-disasm mv $RPM_BUILD_ROOT%{_bindir}/dim $RPM_BUILD_ROOT%{_bindir}/midi-disasm mv $RPM_BUILD_ROOT%{_mandir}/man1/dim.1 \ $RPM_BUILD_ROOT%{_mandir}/man1/midi-disasm.1 sed -i 's/dim/midi-disasm/g' $RPM_BUILD_ROOT%{_mandir}/man1/midi-disasm.1 touch -r utils/midifile.c $RPM_BUILD_ROOT%{_mandir}/man1/midi-disasm.1 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc AUTHORS COPYING ChangeLog FEATURES NEWS README* %{_bindir}/gt %{_mandir}/man1/gt.1* %files -n soundfont-utils %doc utils/README* utils/GUSSF2-SPEC %{_bindir}/* %exclude %{_bindir}/gt %{_mandir}/man1/* %exclude %{_mandir}/man1/gt.1* #-------------------------------------------------------------------- %changelog * Wed Apr 16 2008 Seiichirou Babasaki 0.4-1 - Import gt - Packager: Babasaki - Updated specfile (base FC9 cfg) #FC9 ------------------------------------------------------------- FC9 * Sun Feb 3 2008 Hans de Goede 0.4-7 - Fix an error in unsf's tremolo settings export * Sat Feb 2 2008 Hans de Goede 0.4-6 - Fix hopefully the last endian issue in unsf * Fri Feb 1 2008 Hans de Goede 0.4-5 - And fix unsf for char being unsigned on ppc * Fri Feb 1 2008 Hans de Goede 0.4-4 - Fix unsf running on big endian systems * Wed Jan 30 2008 Hans de Goede 0.4-3 - Correct license field from GPLv2 to GPLv2+ * Wed Jan 30 2008 Hans de Goede 0.4-2 - Fix compilation on big endian archs * Sun Jan 27 2008 Hans de Goede 0.4-1 - Initial Fedora Package