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