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