]>
Commit | Line | Data |
---|---|---|
0cb6b8cb JB |
1 | # |
2 | # Conditional build: | |
9955a6d6 | 3 | %bcond_without x # without X based interfaces (implies libX11 deps) |
9e6c0872 | 4 | %bcond_without alsa # without ALSA support |
13514b24 | 5 | %bcond_without ao # enable ao support |
6e491108 | 6 | %bcond_with arts # enable ARTS support (implies also glib(2) deps) |
605e559d | 7 | %bcond_with esd # enable ESD support |
8 | %bcond_with jack # enable JACK support | |
9 | %bcond_with nas # enable NAS support | |
10 | %bcond_with vorbis # enable Ogg Vorbis support | |
0cb6b8cb | 11 | # |
ebb334d4 | 12 | Summary: TiMidity++ - MIDI to WAV converter and player |
a0221428 ER |
13 | Summary(pl.UTF-8): TiMidity++ - konwerter do WAV oraz odtwarzacz plików MIDI |
14 | Summary(pt_BR.UTF-8): Sintetizador MIDI por software | |
15 | Summary(ru.UTF-8): Проигрыватель MIDI файлов и конвертор их в WAV формат | |
16 | Summary(uk.UTF-8): Програвач MIDI-файлів та конвертор їх в WAV формат | |
ea523cb1 | 17 | Name: TiMidity++ |
13514b24 WF |
18 | Version: 2.15.0 |
19 | Release: 1 | |
fb288e42 | 20 | License: GPL |
ea523cb1 | 21 | Group: Applications/Sound |
13514b24 WF |
22 | Source0: http://downloads.sourceforge.net/timidity/%{name}-%{version}.tar.xz |
23 | # Source0-md5: d85077febda2c85ffe9f9628023c2667 | |
a3e166bc | 24 | Source1: http://archive.cs.umbc.edu/pub/midia/instruments.tar.gz |
fc23fe90 | 25 | # Source1-md5: 4959787a78ee39d44a36185bd303cf20 |
bc691fd9 | 26 | Source2: britepno.pat.bz2 |
fc23fe90 | 27 | # Source2-md5: 324e265362f812883024b58cf3470d1a |
bc691fd9 | 28 | Source3: pistol.pat.bz2 |
fc23fe90 | 29 | # Source3-md5: f961325db679de6e0ea402ebe6a268f9 |
bc691fd9 | 30 | Source4: timidity.cfg |
55b3cb7a JK |
31 | Source5: timidity.init |
32 | Source6: timidity.sysconfig | |
167621d8 JR |
33 | Source7: timidity-modules-load.conf |
34 | Source8: timidity.service | |
55b3cb7a | 35 | Patch0: %{name}-detach.patch |
3ec60ad7 | 36 | Patch2: %{name}-configure.patch |
3cd607b2 | 37 | URL: http://timidity.sourceforge.net/ |
9e6c0872 | 38 | %{?with_alsa:BuildRequires: alsa-lib-devel} |
605e559d | 39 | %{?with_arts:BuildRequires: arts-devel} |
fb10de13 | 40 | BuildRequires: autoconf |
605e559d | 41 | %{?with_esd:BuildRequires: esound-devel} |
9955a6d6 | 42 | %{?with_x:BuildRequires: gtk+-devel} |
35a8a4d2 | 43 | %{?with_jack:BuildRequires: jack-audio-connection-kit-devel} |
13514b24 | 44 | %{?with_ao:BuildRequires: libao-devel} |
35a8a4d2 | 45 | %{?with_vorbis:BuildRequires: libvorbis-devel} |
9955a6d6 | 46 | %{?with_x:BuildRequires: motif-devel} |
605e559d | 47 | %{?with_nas:BuildRequires: nas-devel} |
dcf6098b | 48 | BuildRequires: ncurses-devel |
167621d8 | 49 | BuildRequires: rpmbuild(macros) >= 1.626 |
2565250f | 50 | BuildRequires: slang-devel >= 2.0.0 |
9955a6d6 JB |
51 | %{?with_x:BuildRequires: tk-devel >= 8.3.2} |
52 | %{?with_x:Provides: %{name}(X) = %{version}-%{release}} | |
00c45717 | 53 | Obsoletes: timidity |
dac7fe10 | 54 | Obsoletes: timidity++ |
55 | Obsoletes: timidity++-X11 | |
9e6c0872 | 56 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
ebb334d4 | 57 | |
58 | %description | |
59 | TiMidity++ is a converter that converts some of MIDI files ( formats : | |
d01f548e | 60 | Standard MIDI file (MID), Recomposer files (RCP, R36, G18, G36) and |
61 | Module file (mod) ) into formatted audio file (ex. RIFF WAVE). | |
62 | TiMidity uses Gravis Ultrasound-compatible patch files or Soundfonts | |
63 | (sfx, sf2) to generate digital audio data from MIDI files. The digital | |
64 | audio data generated by TiMidity can be stored in a file for | |
65 | processing, or played in real time through an audio device. In real | |
ed993824 | 66 | time playing, TiMidity if able to show the lyric contained in KAR file |
d01f548e | 67 | or WRD file. |
ea523cb1 | 68 | |
43c38e43 JR |
69 | %description -l pl.UTF-8 |
70 | TiMidity++ jest konwerterem z niektórych plików MIDI (formaty: | |
0049ea42 | 71 | Standard MIDI (MID), Recomposer (RCP, R36, G18, G36), Module (mod)) do |
43c38e43 JR |
72 | plików audio (np. RIFF WAVE). Do generowania danych z plików MIDI |
73 | TiMidity używa patchy takich jak Gravis Ultrasound albo Soundfontów | |
74 | (sfx, sf2). Cyfrowe dane audio mogą być zapisane do pliku albo | |
75 | odtwarzane w czasie rzeczywistym. Przy odtwarzaniu TiMidity może | |
76 | pokazywać słowa zawarte w pliku KAR lub WRD. | |
77 | ||
78 | %description -l pt_BR.UTF-8 | |
79 | O TiMidity++ é um sintetizador MIDI por software. Este pacote permite | |
8e7216ab | 80 | ouvir arquivos do tipo MIDI com a mesma qualidade de som que as placas |
81 | que utilizam o recurso de "wavetable" via hardware (como a AWE32), | |
43c38e43 | 82 | mesmo que esta não possua o recurso de "wavetable" (a SB16 por |
8e7216ab | 83 | exemplo). |
84 | ||
43c38e43 JR |
85 | %description -l ru.UTF-8 |
86 | Проигрыватель MIDI файлов, не требующий поддержки инструментов MIDI | |
87 | звуковой платой. Использует файлы инструментов в формате GUS/patch, | |
88 | может также использовать данные в формате SoundFont. Обеспечивает | |
89 | отличное качество звука MIDI за счет интенсивного использования | |
90 | процессора. | |
64b30223 | 91 | |
43c38e43 JR |
92 | %description -l uk.UTF-8 |
93 | Програвач MIDI файлів, якому не потрібна підтримка інструментів MIDI | |
94 | звуковою платою. Використовує файли інструментів у форматі GUS/patch, | |
95 | розуміє також формат SoundFont. Забезпечує відмінну якість звуку MIDI | |
96 | за рахунок інтенсивного використання процесора. | |
64b30223 | 97 | |
0ee04ccd | 98 | %package gspdir |
99 | Summary: Directory for TiMidity++ instruments | |
a0221428 | 100 | Summary(pl.UTF-8): Katalog na instrumenty TiMidity++ |
0ee04ccd | 101 | Group: Applications/Sound |
102 | ||
103 | %description gspdir | |
104 | Directory where TiMidity++ instruments should be placed in. | |
105 | ||
43c38e43 JR |
106 | %description gspdir -l pl.UTF-8 |
107 | Katalog, w którym powinny być instalowane instrumenty dla TiMidity++. | |
0ee04ccd | 108 | |
0ee04ccd | 109 | %package instruments |
d1ca9d2a | 110 | Summary: Instruments for TiMidity++ |
a0221428 ER |
111 | Summary(pl.UTF-8): Instrumenty dla TiMidity++ |
112 | Summary(pt_BR.UTF-8): Instrumentos básicos para o TiMidity++ | |
0ee04ccd | 113 | Group: Applications/Sound |
059c4b27 | 114 | Requires: %{name}-gspdir = %{version}-%{release} |
0ee04ccd | 115 | Obsoletes: timidity-patches |
116 | ||
117 | %description instruments | |
118 | Instruments for TiMidity++. | |
119 | ||
43c38e43 | 120 | %description instruments -l pl.UTF-8 |
0ee04ccd | 121 | Instrumenty dla TiMidity++. |
122 | ||
43c38e43 JR |
123 | %description instruments -l pt_BR.UTF-8 |
124 | Este pacote inclui um conjunto básico de instrumentos (chamados de | |
0ee04ccd | 125 | patches no meio musical) para o TiMidity++. |
ed993824 | 126 | |
da10d2d4 JB |
127 | %package emacs |
128 | Summary: Emacs interface for TiMidity++ | |
129 | Summary(pl.UTF-8): Interfejs TiMidity++ oparty o Emacsa | |
130 | Group: Applications/Sound | |
131 | Requires: %{name} = %{version}-%{release} | |
132 | Requires: emacs | |
133 | ||
134 | %description emacs | |
135 | Emacs interface for TiMidity++. | |
136 | ||
137 | %description emacs -l pl.UTF-8 | |
138 | Interfejs TiMidity++ oparty o Emacsa. | |
139 | ||
3cd607b2 JB |
140 | %package gtk |
141 | Summary: GTK+ interface for TiMidity++ | |
a0221428 | 142 | Summary(pl.UTF-8): Interfejs TiMidity++ oparty o bibliotekę GTK+ |
3cd607b2 | 143 | Group: Applications/Sound |
a38d5344 | 144 | Requires: %{name}(X) = %{version}-%{release} |
3cd607b2 JB |
145 | |
146 | %description gtk | |
147 | gtkmidi - GTK+ interface for TiMidity++. | |
148 | ||
43c38e43 JR |
149 | %description gtk -l pl.UTF-8 |
150 | gtkmidi - interfejs do TiMidity++ oparty o bibliotekę GTK+. | |
3cd607b2 | 151 | |
ea523cb1 | 152 | %package motif |
d01f548e | 153 | Summary: Motif interface for TiMidity++ |
a0221428 | 154 | Summary(pl.UTF-8): Interfejs TiMidity++ oparty o Motif |
ea523cb1 | 155 | Group: Applications/Sound |
a38d5344 | 156 | Requires: %{name}(X) = %{version}-%{release} |
ea523cb1 JR |
157 | |
158 | %description motif | |
d1ca9d2a | 159 | xmmidi - Motif interface for TiMidity++. |
ea523cb1 | 160 | |
43c38e43 JR |
161 | %description motif -l pl.UTF-8 |
162 | xmmidi - interfejs do TiMidity++ oparty o bibliotekę Motif. | |
ed993824 | 163 | |
0ee04ccd | 164 | %package slang |
165 | Summary: Slang interface for TiMidity++ | |
a0221428 | 166 | Summary(pl.UTF-8): Interfejs TiMidity++ oparty o bibliotekę Slang |
0ee04ccd | 167 | Group: Applications/Sound |
059c4b27 | 168 | Requires: %{name} = %{version}-%{release} |
0ee04ccd | 169 | |
170 | %description slang | |
171 | Slang interface for TiMidity++. | |
172 | ||
43c38e43 JR |
173 | %description slang -l pl.UTF-8 |
174 | Interfejs do TiMidity++ oparty o bibliotekę Slang. | |
0ee04ccd | 175 | |
ea523cb1 | 176 | %package tcltk |
d01f548e | 177 | Summary: Tcl/Tk interface for TiMidity++ |
a0221428 | 178 | Summary(pl.UTF-8): Interfejs TiMidity++ oparty o Tcl/Tk |
ea523cb1 | 179 | Group: Applications/Sound |
a38d5344 | 180 | Requires: %{name}(X) = %{version}-%{release} |
ea523cb1 JR |
181 | |
182 | %description tcltk | |
d1ca9d2a | 183 | tkmidi - Tcl/Tk interface for TiMidity++. |
ea523cb1 | 184 | |
43c38e43 | 185 | %description tcltk -l pl.UTF-8 |
ed993824 JB |
186 | tkmidi - interfejs do TiMidity++ oparty o Tcl/Tk. |
187 | ||
1341902d | 188 | %package vt100 |
d01f548e | 189 | Summary: VT100 interface for TiMidity++ |
a0221428 | 190 | Summary(pl.UTF-8): Interfejs TiMidity++ działający na terminalu VT100 |
1341902d | 191 | Group: Applications/Sound |
059c4b27 | 192 | Requires: %{name} = %{version}-%{release} |
1341902d AM |
193 | |
194 | %description vt100 | |
195 | VT100 interface for TiMidity++. | |
196 | ||
43c38e43 JR |
197 | %description vt100 -l pl.UTF-8 |
198 | Interfejs do TiMidity++ mogący działać na terminalu VT100. | |
ed993824 | 199 | |
0ee04ccd | 200 | %package xaw |
201 | Summary: Athena interface for TiMidity++ | |
a0221428 | 202 | Summary(pl.UTF-8): Interfejs TiMidity++ oparty o Athena Widgets |
245ed937 | 203 | Group: Applications/Sound |
a38d5344 | 204 | Requires: %{name}(X) = %{version}-%{release} |
245ed937 | 205 | |
0ee04ccd | 206 | %description xaw |
d1ca9d2a | 207 | xawmidi - Athena interface for TiMidity++. |
245ed937 | 208 | |
43c38e43 JR |
209 | %description xaw -l pl.UTF-8 |
210 | xawmidi - interfejs do TiMidity++ oparty o biblitekę widgetów Athena. | |
8e7216ab | 211 | |
6e491108 | 212 | %package xskin |
a38d5344 | 213 | Summary: "X Skin" interface for TiMidity++ |
a0221428 | 214 | Summary(pl.UTF-8): Interfejs TiMidity++ "X Skin" |
6e491108 | 215 | Group: Applications/Sound |
a38d5344 | 216 | Requires: %{name}(X) = %{version}-%{release} |
6e491108 | 217 | Obsoletes: TiMidity++ < 2.13.0-3 |
218 | ||
219 | %description xskin | |
a38d5344 | 220 | xskinmidi - "X Skin" interface for TiMidity++. |
6e491108 | 221 | |
43c38e43 | 222 | %description xskin -l pl.UTF-8 |
a38d5344 | 223 | xskinmidi - interfejs do TiMidity++ "X Skin". |
6e491108 | 224 | |
55b3cb7a JK |
225 | %package alsaseq |
226 | Summary: TiMidity++ ALSA sequencer interface | |
a0221428 | 227 | Summary(pl.UTF-8): TiMidity++ jako interfejs sekwencera ALSA |
55b3cb7a | 228 | Group: Applications/Sound |
25621aff | 229 | Requires(post,preun): /sbin/chkconfig |
fa61fed1 | 230 | Requires(post,preun,postun): systemd-units >= 38 |
55b3cb7a | 231 | Requires: %{name} = %{version}-%{release} |
25621aff | 232 | Requires: rc-scripts |
fa61fed1 | 233 | Requires: systemd-units >= 38 |
55b3cb7a JK |
234 | |
235 | %description alsaseq | |
9c66bcef JB |
236 | The ALSA sequencer interface communicates between ALSA sequencer core |
237 | and timidity. The interface receives events from sequencer and plays | |
238 | it in (quasi-)real-time. In this mode, TiMidity works purely as the | |
239 | software real-time MIDI render, that is as a software MIDI synth | |
240 | engine on ALSA. | |
241 | ||
43c38e43 JR |
242 | %description alsaseq -l pl.UTF-8 |
243 | Interfejs sekwencera ALSA komunikuje się między rdzeniem sekwencera | |
9c66bcef | 244 | ALSA a timidity. Interfejs odbiera zdarzenia od sekwencera od odtwarza |
43c38e43 JR |
245 | je w czasie (prawie) rzeczywistym. W tym trybie TiMidity działa |
246 | wyłącznie jako programowy odtwarzacz MIDI czasu rzeczywistego, czyli | |
9c66bcef | 247 | jako silnik syntezatora MIDI w architekturze ALSA. |
55b3cb7a | 248 | |
ebb334d4 | 249 | %prep |
3cd607b2 | 250 | %setup -q |
e11f023a JB |
251 | %patch0 -p1 |
252 | %patch2 -p1 | |
ebb334d4 | 253 | |
3cd607b2 | 254 | for f in doc/ja_JP.eucJP/README*; do |
e11f023a | 255 | %{__mv} $f ${f}.ja |
3cd607b2 JB |
256 | done |
257 | ||
ebb334d4 | 258 | %build |
c5b74de5 | 259 | cp -f /usr/share/automake/config.sub autoconf |
d8f7c8d1 | 260 | %{__autoconf} |
605e559d | 261 | |
262 | AUDIO=oss%{?with_alsa:,alsa}%{?with_arts:,arts}%{?with_esd:,esd}\ | |
13514b24 | 263 | %{?with_jack:,jack}%{?with_nas:,nas}%{?with_vorbis:,vorbis}%{?with_ao:,ao} |
605e559d | 264 | |
ea523cb1 | 265 | %configure \ |
38b9f1c9 | 266 | CPPFLAGS="-DUSE_INTERP_RESULT %{rpmcppflags}" \ |
55b3cb7a | 267 | %{?with_alsa:--enable-alsaseq} \ |
605e559d | 268 | --enable-audio=$AUDIO \ |
ea523cb1 | 269 | --enable-dynamic \ |
9955a6d6 | 270 | %{?with_x:--enable-gtk=dynamic} \ |
605e559d | 271 | --enable-emacs=dynamic \ |
9955a6d6 | 272 | %{?with_x:--enable-motif=dynamic} \ |
ea523cb1 | 273 | --enable-ncurses=dynamic \ |
605e559d | 274 | --enable-network \ |
275 | --enable-server \ | |
ea523cb1 | 276 | --enable-slang=dynamic \ |
9955a6d6 JB |
277 | %{?with_x:--enable-spectrogram} \ |
278 | %{?with_x:--enable-tcltk=dynamic} \ | |
605e559d | 279 | --enable-vt100=dynamic \ |
9955a6d6 JB |
280 | %{?with_x:--enable-xaw=dynamic} \ |
281 | %{?with_x:--enable-xskin=dynamic} \ | |
605e559d | 282 | --with-default-path=%{_sysconfdir} \ |
6e491108 | 283 | --with-elf \ |
9955a6d6 | 284 | %{!?with_x:--without-x} |
8e7216ab | 285 | |
06cdff29 JB |
286 | %{__make} \ |
287 | SHLIB_DIR=%{_libdir}/timidity | |
ebb334d4 | 288 | |
289 | %install | |
290 | rm -rf $RPM_BUILD_ROOT | |
167621d8 JR |
291 | install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_datadir}/GUSpatches,/etc/{rc.d/init.d,sysconfig}} \ |
292 | $RPM_BUILD_ROOT{%{systemdunitdir},/etc/modules-load.d} | |
ebb334d4 | 293 | |
fb10de13 | 294 | %{__make} install \ |
06cdff29 | 295 | DESTDIR=$RPM_BUILD_ROOT \ |
da10d2d4 | 296 | ELISP_DIR=%{_datadir}/emacs/site-lisp \ |
06cdff29 | 297 | SHLIB_DIR=%{_libdir}/timidity |
ebb334d4 | 298 | |
da10d2d4 JB |
299 | # missing in install_tk targets |
300 | %{__make} -C interface install.bitmaps \ | |
301 | DESTDIR=$RPM_BUILD_ROOT | |
302 | ||
f7879746 | 303 | ## based on timidity/timidity.c |
304 | ##ln -s timidity $RPM_BUILD_ROOT%{_bindir}/kmidi # does it work? | |
ff579e85 JB |
305 | ln -sf timidity $RPM_BUILD_ROOT%{_bindir}/gtkmidi |
306 | ln -sf timidity $RPM_BUILD_ROOT%{_bindir}/tkmidi | |
307 | ln -sf timidity $RPM_BUILD_ROOT%{_bindir}/xmmidi | |
308 | ln -sf timidity $RPM_BUILD_ROOT%{_bindir}/xawmidi | |
309 | ln -sf timidity $RPM_BUILD_ROOT%{_bindir}/xskinmidi | |
f7879746 | 310 | |
3cd607b2 JB |
311 | install -d $RPM_BUILD_ROOT%{_mandir}/ja/man{1,5} |
312 | install doc/ja_JP.eucJP/timidity.1 $RPM_BUILD_ROOT%{_mandir}/ja/man1 | |
313 | install doc/ja_JP.eucJP/timidity.cfg.5 $RPM_BUILD_ROOT%{_mandir}/ja/man5 | |
314 | ||
fb10de13 | 315 | install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir} |
245ed937 | 316 | |
fb10de13 | 317 | cd $RPM_BUILD_ROOT%{_datadir}/GUSpatches |
2506cddb | 318 | tar xzf %{SOURCE1} |
e11f023a | 319 | %{__mv} instruments/* . |
2506cddb | 320 | rmdir instruments |
bc691fd9 | 321 | bzip2 -cd %{SOURCE2} > britepno.pat |
322 | bzip2 -cd %{SOURCE3} > pistol.pat | |
245ed937 | 323 | |
55b3cb7a JK |
324 | install %{SOURCE5} $RPM_BUILD_ROOT/etc/rc.d/init.d/timidity |
325 | install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/timidity | |
326 | ||
167621d8 JR |
327 | install %{SOURCE7} $RPM_BUILD_ROOT/etc/modules-load.d/timidity.conf |
328 | install %{SOURCE8} $RPM_BUILD_ROOT%{systemdunitdir}/timidity.service | |
329 | ||
ebb334d4 | 330 | %clean |
331 | rm -rf $RPM_BUILD_ROOT | |
332 | ||
55b3cb7a JK |
333 | %post alsaseq |
334 | /sbin/chkconfig --add timidity | |
7736edf2 | 335 | %service timidity restart "TiMidity++ ALSA sequencer interface" |
167621d8 | 336 | %systemd_post timidity.service |
55b3cb7a JK |
337 | |
338 | %preun alsaseq | |
339 | if [ "$1" = "0" ]; then | |
7736edf2 | 340 | %service timidity stop |
55b3cb7a JK |
341 | /sbin/chkconfig --del timidity |
342 | fi | |
167621d8 JR |
343 | %systemd_preun timidity.service |
344 | ||
fa61fed1 | 345 | %postun alsaseq |
167621d8 JR |
346 | %systemd_reload |
347 | ||
348 | %triggerpostun alsaseq -- %{name}-alsaseq < 2.13.2-8 | |
349 | %systemd_trigger timidity.service | |
55b3cb7a | 350 | |
ebb334d4 | 351 | %files |
352 | %defattr(644,root,root,755) | |
3cd607b2 JB |
353 | %doc AUTHORS ChangeLog* NEWS README TODO doc/C/{CHANGES*,FAQ,README.[!tx]*} |
354 | %lang(ja) %doc README.ja doc/ja_JP.eucJP/README.[!tx]*.ja | |
ea523cb1 | 355 | %attr(755,root,root) %{_bindir}/timidity |
35a8a4d2 | 356 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/timidity.cfg |
ed993824 | 357 | %dir %{_libdir}/timidity |
13514b24 | 358 | %attr(755,root,root) %{_libdir}/timidity/if_ncurses.so |
3cd607b2 JB |
359 | %{_mandir}/man1/timidity.1* |
360 | %{_mandir}/man5/timidity.cfg.5* | |
361 | %lang(ja) %{_mandir}/ja/man1/timidity.1* | |
362 | %lang(ja) %{_mandir}/ja/man5/timidity.cfg.5* | |
0ee04ccd | 363 | |
364 | %files gspdir | |
365 | %defattr(644,root,root,755) | |
b1b0b590 | 366 | %dir %{_datadir}/GUSpatches |
ea523cb1 | 367 | |
0ee04ccd | 368 | %files instruments |
369 | %defattr(644,root,root,755) | |
370 | %{_datadir}/GUSpatches/* | |
ea523cb1 | 371 | |
da10d2d4 JB |
372 | %files emacs |
373 | %defattr(644,root,root,755) | |
374 | %attr(755,root,root) %{_libdir}/timidity/if_emacs.so | |
375 | %{_datadir}/emacs/site-lisp/timidity.el | |
376 | ||
9955a6d6 | 377 | %if %{with x} |
3cd607b2 JB |
378 | %files gtk |
379 | %defattr(644,root,root,755) | |
380 | %attr(755,root,root) %{_bindir}/gtkmidi | |
13514b24 | 381 | %attr(755,root,root) %{_libdir}/timidity/if_gtk.so |
6e491108 | 382 | %endif |
3cd607b2 | 383 | |
9955a6d6 | 384 | %if %{with x} |
ea523cb1 JR |
385 | %files motif |
386 | %defattr(644,root,root,755) | |
f7879746 | 387 | %attr(755,root,root) %{_bindir}/xmmidi |
13514b24 | 388 | %attr(755,root,root) %{_libdir}/timidity/if_motif.so |
6e491108 | 389 | %endif |
ea523cb1 | 390 | |
0ee04ccd | 391 | %files slang |
392 | %defattr(644,root,root,755) | |
13514b24 | 393 | %attr(755,root,root) %{_libdir}/timidity/if_slang.so |
0ee04ccd | 394 | |
9955a6d6 | 395 | %if %{with x} |
ea523cb1 JR |
396 | %files tcltk |
397 | %defattr(644,root,root,755) | |
0ee04ccd | 398 | %doc doc/C/README.tk |
3cd607b2 JB |
399 | %lang(ja) %doc doc/ja_JP.eucJP/README.tk.ja |
400 | %attr(755,root,root) %{_bindir}/tkmidi | |
13514b24 | 401 | %attr(755,root,root) %{_libdir}/timidity/if_tcltk.so |
da10d2d4 JB |
402 | %if "%{_lib}" != "lib" |
403 | %dir %{_prefix}/lib/timidity | |
404 | %endif | |
06cdff29 JB |
405 | %{_prefix}/lib/timidity/tclIndex |
406 | %{_prefix}/lib/timidity/*.tcl | |
da10d2d4 | 407 | %{_prefix}/lib/timidity/bitmaps |
6e491108 | 408 | %endif |
ea523cb1 | 409 | |
1341902d AM |
410 | %files vt100 |
411 | %defattr(644,root,root,755) | |
13514b24 | 412 | %attr(755,root,root) %{_libdir}/timidity/if_vt100.so |
245ed937 | 413 | |
9955a6d6 | 414 | %if %{with x} |
0ee04ccd | 415 | %files xaw |
245ed937 | 416 | %defattr(644,root,root,755) |
0ee04ccd | 417 | %doc doc/C/README.xaw |
3cd607b2 | 418 | %lang(ja) %doc doc/ja_JP.eucJP/README.xaw.ja |
0ee04ccd | 419 | %attr(755,root,root) %{_bindir}/xawmidi |
e11f023a | 420 | %attr(755,root,root) %{_libdir}/timidity/if_xaw.so |
6e491108 | 421 | |
422 | %files xskin | |
423 | %defattr(644,root,root,755) | |
424 | %doc doc/C/README.xskin | |
425 | %lang(ja) %doc doc/ja_JP.eucJP/README.xskin.ja | |
426 | %attr(755,root,root) %{_bindir}/xskinmidi | |
13514b24 | 427 | %attr(755,root,root) %{_libdir}/timidity/if_xskin.so |
6e491108 | 428 | %endif |
55b3cb7a JK |
429 | |
430 | %if %{with alsa} | |
431 | %files alsaseq | |
e6f9a97f | 432 | %defattr(644,root,root,755) |
55b3cb7a | 433 | %attr(754,root,root) /etc/rc.d/init.d/timidity |
35a8a4d2 | 434 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/timidity |
167621d8 JR |
435 | %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/timidity.conf |
436 | %{systemdunitdir}/timidity.service | |
55b3cb7a | 437 | %endif |