1 | Name: gt |
---|
2 | Version: 0.4 |
---|
3 | Release: 17%{?_dist_release} |
---|
4 | Summary: Modified Timidity which supportes enhanced gus format patches |
---|
5 | Summary(ja): 改良Timidity(TiMidity++)で拡張GUSフォーマットpatch(サウンドフォ>ント)をサポートする |
---|
6 | Group: Applications/Multimedia |
---|
7 | License: GPLv2+ |
---|
8 | URL: http://alsa.opensrc.org/index.php/GusSoundfont |
---|
9 | # This is ftp://ling.lll.hawaii.edu/pub/greg/gt-0.4.tar.gz |
---|
10 | # with the examples/patch and sfz directories removed as the license of the |
---|
11 | # samples in these dirs is unclear. Also the src/ac3* files have been removed |
---|
12 | # as these contain patented code. |
---|
13 | #-------------------------------------------------------------------- |
---|
14 | Source0: %{name}-%{version}-clean.tar.gz |
---|
15 | Patch0: gt-0.4-noac3.patch |
---|
16 | Patch1: gt-0.4-compile-fix.patch |
---|
17 | Patch2: gt-0.4-optflags.patch |
---|
18 | Patch3: gt-0.4-config-default-velocity-layer.patch |
---|
19 | Patch4: gt-0.4-ppc-compile-fix.patch |
---|
20 | Patch5: gt-0.4-unsf-bigendian-fix.patch |
---|
21 | Patch6: gt-0.4-unsf-tremolo.patch |
---|
22 | #-------------------------------------------------------------------- |
---|
23 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
24 | BuildRequires: alsa-lib-devel libvorbis-devel flex |
---|
25 | # Requires: timidity++-patches |
---|
26 | |
---|
27 | %description |
---|
28 | Modified timidity midi player which supportes enhanced gus format patches and |
---|
29 | surround audio output. |
---|
30 | |
---|
31 | %description -l ja |
---|
32 | 改良Timidity(TiMidity++) MIDIプレイヤーで拡張GUSフォーマットpatch(*サウンドフォ>ント) |
---|
33 | とサラウンドオーディオ出力をサポートします。 |
---|
34 | |
---|
35 | #-------------------------------------------------------------------- |
---|
36 | %package -n soundfont-utils |
---|
37 | Summary: Utilities for converting from / to various soundfont formats |
---|
38 | Summary(ja): 様々なフォーマットのサウンドフォントを相互に変換するユーティリティ |
---|
39 | Group: Applications/Multimedia |
---|
40 | |
---|
41 | %description -n soundfont-utils |
---|
42 | Utilities for converting from / to various soundfont formats and a midi file |
---|
43 | disassembler. |
---|
44 | |
---|
45 | %description -l ja -n soundfont-utils |
---|
46 | 様々なフォーマットのサウンドフォントを相互に変換し、またMIDIファイルを |
---|
47 | 逆アセンブルするユーティリティです。 |
---|
48 | |
---|
49 | #-------------------------------------------------------------------- |
---|
50 | %prep |
---|
51 | %setup -q |
---|
52 | %patch0 -p1 |
---|
53 | %patch1 -p1 |
---|
54 | %patch2 -p1 |
---|
55 | %patch3 -p1 |
---|
56 | %patch4 -p1 |
---|
57 | %patch5 -p1 |
---|
58 | %patch6 -p1 |
---|
59 | cp -p src/README README.timidity |
---|
60 | |
---|
61 | |
---|
62 | %build |
---|
63 | export CFLAGS="$RPM_OPT_FLAGS -fsigned-char" |
---|
64 | %configure |
---|
65 | make %{?_smp_mflags} |
---|
66 | |
---|
67 | |
---|
68 | %install |
---|
69 | rm -rf $RPM_BUILD_ROOT |
---|
70 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
71 | # rename somewhat genericly named dim to midi-disasm |
---|
72 | mv $RPM_BUILD_ROOT%{_bindir}/dim $RPM_BUILD_ROOT%{_bindir}/midi-disasm |
---|
73 | mv $RPM_BUILD_ROOT%{_mandir}/man1/dim.1 \ |
---|
74 | $RPM_BUILD_ROOT%{_mandir}/man1/midi-disasm.1 |
---|
75 | sed -i 's/dim/midi-disasm/g' $RPM_BUILD_ROOT%{_mandir}/man1/midi-disasm.1 |
---|
76 | touch -r utils/midifile.c $RPM_BUILD_ROOT%{_mandir}/man1/midi-disasm.1 |
---|
77 | |
---|
78 | |
---|
79 | %clean |
---|
80 | rm -rf $RPM_BUILD_ROOT |
---|
81 | |
---|
82 | |
---|
83 | %files |
---|
84 | %defattr(-,root,root,-) |
---|
85 | %doc AUTHORS COPYING ChangeLog FEATURES NEWS README* |
---|
86 | %{_bindir}/gt |
---|
87 | %{_mandir}/man1/gt.1* |
---|
88 | |
---|
89 | %files -n soundfont-utils |
---|
90 | %doc COPYING utils/README* utils/GUSSF2-SPEC |
---|
91 | %{_bindir}/* |
---|
92 | %exclude %{_bindir}/gt |
---|
93 | %{_mandir}/man1/* |
---|
94 | %exclude %{_mandir}/man1/gt.1* |
---|
95 | |
---|
96 | |
---|
97 | %changelog |
---|
98 | #-------------------------------------------------------------------- |
---|
99 | * Thu Jan 9 2014 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.4-17 |
---|
100 | - rebuild (based and merged with Fedora's 0.4-17, which has no specific fixes) |
---|
101 | |
---|
102 | - Wed Apr 16 2008 Seiichirou Babasaki 0.4-1 |
---|
103 | - Import gt - Packager: Babasaki |
---|
104 | - Updated specfile (base FC9 cfg) |
---|
105 | |
---|
106 | #F20 ------------------------------------------------------------- F20 |
---|
107 | * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-17 |
---|
108 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
---|
109 | |
---|
110 | * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-16 |
---|
111 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
---|
112 | |
---|
113 | * Fri Jul 27 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-15 |
---|
114 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
---|
115 | |
---|
116 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-14 |
---|
117 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
118 | |
---|
119 | * Wed Oct 26 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-13 |
---|
120 | - Rebuilt for glibc bug#747377 |
---|
121 | |
---|
122 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-12 |
---|
123 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
124 | |
---|
125 | * Tue Nov 16 2010 Hans de Goede <hdegoede@redhat.com> - 0.4-11 |
---|
126 | - Add COPYRIGHT file to soundfont-utils |
---|
127 | |
---|
128 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-10 |
---|
129 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
130 | |
---|
131 | * Wed Jul 15 2009 Hans de Goede <j.w.r.degoede@hhs.nl> 0.4-9 |
---|
132 | - Add missing BR flex, fixing FTBFS (#511363) |
---|
133 | |
---|
134 | * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-8 |
---|
135 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
136 | |
---|
137 | * Sun Feb 3 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.4-7 |
---|
138 | - Fix an error in unsf's tremolo settings export |
---|
139 | |
---|
140 | * Sat Feb 2 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.4-6 |
---|
141 | - Fix hopefully the last endian issue in unsf |
---|
142 | |
---|
143 | * Fri Feb 1 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.4-5 |
---|
144 | - And fix unsf for char being unsigned on ppc <sigh> |
---|
145 | |
---|
146 | * Fri Feb 1 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.4-4 |
---|
147 | - Fix unsf running on big endian systems |
---|
148 | |
---|
149 | * Wed Jan 30 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.4-3 |
---|
150 | - Correct license field from GPLv2 to GPLv2+ |
---|
151 | |
---|
152 | * Wed Jan 30 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.4-2 |
---|
153 | - Fix compilation on big endian archs |
---|
154 | |
---|
155 | * Sun Jan 27 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.4-1 |
---|
156 | - Initial Fedora Package |
---|