]>
Commit | Line | Data |
---|---|---|
ebb334d4 | 1 | Summary: TiMidity++ - MIDI to WAV converter and player |
ea523cb1 JR |
2 | Name: TiMidity++ |
3 | Version: 2.0.2 | |
4 | Release: 1 | |
5 | Group: Applications/Sound | |
ebb334d4 | 6 | Copyright: GPL |
e06a6fa2 | 7 | Vendor: Masanao Izumo <mo@goice.co.jp> |
ea523cb1 JR |
8 | Source: http://www.goice.co.jp/member/mo/timidity/dist/%{name}-%{version}.tar.bz2 |
9 | Patch0: TiMidity++-gtk.patch | |
10 | Patch1: TiMidity++-config.patch | |
ebb334d4 | 11 | URL: http://www.goice.co.jp/member/mo/timidity/ |
d70c9d8c | 12 | BuildRoot: /tmp/%{name}-%{version}-root |
ebb334d4 | 13 | |
14 | %description | |
15 | TiMidity++ is a converter that converts some of MIDI files ( formats : | |
16 | Standard MIDI file (*.MID), Recomposer files (*.RCP, *.R36, *.G18, *.G36) | |
17 | and Module file (*.mod) ) into formatted audio file (ex. RIFF WAVE). | |
18 | TiMidity uses Gravis Ultrasound-compatible patch files or Soundfonts (*.sfx, | |
19 | *.sf2) to generate digital audio data from MIDI files. The digital audio | |
20 | data generated by TiMidity can be stored in a file for processing, or played | |
21 | in real time through an audio device. In real time playing, TiMidity if able | |
22 | to show the lylic contained in KAR file or WRD file. | |
23 | ||
ea523cb1 JR |
24 | This package contains interfaces for ncurses, emacs and WinAmp/x11amp skins. |
25 | ||
26 | %package slang | |
27 | Summary: Slang interface for TiMidity++. | |
28 | Group: Applications/Sound | |
29 | Requires: %{name} = %{version} | |
30 | ||
31 | %description slang | |
32 | Slang interface for TiMidity++. | |
33 | ||
34 | %package motif | |
35 | Summary: Motif interface for TiMidity++. | |
36 | Group: Applications/Sound | |
37 | Requires: %{name} = %{version} | |
38 | ||
39 | %description motif | |
40 | Motif interface for TiMidity++. | |
41 | ||
42 | %package tcltk | |
43 | Summary: Tcl/Tk interface for TiMidity++. | |
44 | Group: Applications/Sound | |
45 | Requires: %{name} = %{version} | |
46 | ||
47 | %description tcltk | |
48 | Tcl/Tk interface for TiMidity++. | |
49 | ||
50 | %package xaw | |
51 | Summary: Athena interface for TiMidity++. | |
52 | Group: Applications/Sound | |
53 | Requires: %{name} = %{version} | |
54 | ||
55 | %description xaw | |
56 | Athena interface for TiMidity++. | |
57 | ||
58 | %package gtk | |
59 | Summary: GTK+ interface for TiMidity++. | |
60 | Group: Applications/Sound | |
61 | Requires: %{name} = %{version} | |
62 | ||
63 | %description gtk | |
64 | GTK+ interface for TiMidity++. | |
65 | ||
ebb334d4 | 66 | %prep |
67 | %setup -q | |
ea523cb1 | 68 | %patch1 -p1 |
ebb334d4 | 69 | |
70 | %build | |
ea523cb1 JR |
71 | aclocal |
72 | autoheader | |
73 | autoconf | |
74 | automake | |
75 | %configure \ | |
76 | --enable-dynamic \ | |
77 | --enable-ncurses=dynamic \ | |
78 | --enable-slang=dynamic \ | |
79 | --enable-motif=dynamic \ | |
80 | --enable-tcltk=dynamic \ | |
81 | --enable-emacs=dynamic \ | |
82 | --enable-xaw=dynamic \ | |
83 | --enable-xskin=dynamic \ | |
84 | --enable-gtk=dynamic \ | |
85 | --enable-network \ | |
86 | --enable-spectrogram | |
87 | patch -p1 <%{PATCH0} | |
ebb334d4 | 88 | make |
89 | ||
90 | %install | |
91 | rm -rf $RPM_BUILD_ROOT | |
92 | ||
ea523cb1 | 93 | make install DESTDIR=$RPM_BUILD_ROOT |
ebb334d4 | 94 | |
ea523cb1 JR |
95 | install -d $RPM_BUILD_ROOT{/etc,%{_datadir}/GUSpatches} |
96 | install timidity.cfg $RPM_BUILD_ROOT/etc | |
ebb334d4 | 97 | |
ea523cb1 JR |
98 | strip --strip-unneeded $RPM_BUILD_ROOT%{_bindir}/* \ |
99 | $RPM_BUILD_ROOT%{_libdir}/timidity/*.so || : | |
ebb334d4 | 100 | |
ea523cb1 JR |
101 | gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \ |
102 | AUTHORS README* ChangeLog* NEWS doc/C/{CHANGES*,FAQ,README*} | |
ebb334d4 | 103 | |
104 | %clean | |
105 | rm -rf $RPM_BUILD_ROOT | |
106 | ||
107 | %files | |
108 | %defattr(644,root,root,755) | |
ea523cb1 JR |
109 | %doc {AUTHORS,README*,ChangeLog*,NEWS,doc/C/{CHANGES*,FAQ,README.{dl,sf,xskin}*}}.gz |
110 | %attr(755,root,root) %{_bindir}/timidity | |
111 | %attr(755,root,root) %{_libdir}/timidity/interface_n.so | |
112 | %attr(755,root,root) %{_libdir}/timidity/interface_e.so | |
113 | %attr(755,root,root) %{_libdir}/timidity/interface_i.so | |
114 | %{_libdir}/timidity/bitmaps | |
115 | %{_mandir}/man[15]/* | |
116 | %config /etc/timidity.cfg | |
117 | %ghost %dir %{_datadir}/GUSpatches | |
118 | ||
119 | %files slang | |
120 | %defattr(644,root,root,755) | |
121 | %attr(755,root,root) %{_libdir}/timidity/interface_s.so | |
122 | ||
123 | %files motif | |
124 | %defattr(644,root,root,755) | |
125 | %attr(755,root,root) %{_libdir}/timidity/interface_m.so | |
126 | ||
127 | %files tcltk | |
128 | %defattr(644,root,root,755) | |
129 | %doc doc/C/README.tk.gz | |
130 | %attr(755,root,root) %{_libdir}/timidity/interface_k.so | |
131 | %{_libdir}/timidity/*.tcl | |
132 | ||
133 | %files xaw | |
134 | %defattr(644,root,root,755) | |
135 | %doc doc/C/README.xaw.gz | |
136 | %attr(755,root,root) %{_libdir}/timidity/interface_a.so | |
137 | ||
138 | %files gtk | |
139 | %defattr(644,root,root,755) | |
140 | %attr(755,root,root) %{_libdir}/timidity/interface_g.so |