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