1 Summary: A MIDI sound file player
2 Summary(de): Zum Abspielen von midi-Dateien auf FM-, GUS- und MIDI-Geräten
3 Summary(fr): Joue des fichiers midi sur des périphériques FM, GUS et MIDI
4 Summary(pl): Odtwarzacz plików MIDI
5 Summary(tr): FM, GUS ve MIDI aygýtlarý üzerindeki midi dosyalarýný çalar
10 Group: Applications/Sound
11 Source0: ftp://ftp.linpeople.org/pub/People/nathan/%{name}-%{version}.tar.gz
12 # Source0-md5: ce27bfbc4e122f103bf3d2fe8d253011
13 Patch0: %{name}-hertz.patch
14 Patch1: %{name}-make.patch
15 Patch2: %{name}-midimap.patch
16 Patch3: %{name}-glibconfig.patch
17 BuildRequires: gtk+-devel
18 BuildRequires: ncurses-devel >= 5.0
20 BuildRequires: svgalib-devel
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 %define _sysconfdir /etc/midi
25 %define _appdefsdir /usr/X11R6/lib/X11/app-defaults
28 Playmidi plays MIDI (Musicial Instrument Digital Interface) sound
29 files through a sound card synthesizer. This package includes basic
30 drum samples for use with simple FM synthesizers. Install playmidi if
31 you want to play MIDI files using your computer's sound card.
34 Spielt MIDI-Sounddateien über einen Soundkarten-Synthesizer ab.
35 Enthält einfache Schlagzeug-Samples für einfache FM-Synthesizer.
38 Programme X pour jouer des fichiers MIDI par le synthétiseur d'une
39 carte son. Il contient des exemples de batterie de base pour les
40 synthétiseurs FM simples.
43 Playmidi odtwarza pliki MIDI poprzez syntetyzer karty d¼wiêkowej.
44 Pakiet zawiera podstawowe instrumenty perkusyjne do wykorzystania z
45 prostymi syntetyzerami FM.
48 Bir ses kartýnýn ses birleþtiricisi aracýlýðýyla MIDI ses dosyalarýný
49 çalar. FM ses birleþtirici ile kullaným için ana davul sesi örneklerý
53 Summary: An X Window System based MIDI sound file player
54 Summary(de): X-Window-Schnittstelle für den MIDI-Soundplayer
55 Summary(pl): Odtwarzacz plików MIDI dla systemu X Window
56 Summary(tr): MIDI ses çalýcý için X arayüzü
57 Group: X11/Applications/Sound
58 Requires: %{name} = %{version}
61 Playmidi-X11 provides an X Window System interface for playing MIDI
62 (Musical Instrument Digital Interface) sound files through a sound
63 card synthesizer. Install playmidi-X11 if you want to use an X
64 interface to play MIDI sound files using your computer's sound card.
66 %description X11 -l de
67 X-Programm zum Abspielen von MIDI-Sounddateien über einen Soundkarten-
68 Synthesizer. Enthält einfache Schlagzeug-Samples für einfache
71 %description X11 -l fr
72 Programme X pour jouer des fichiers MIDI par le synthétiseur d'une
73 carte son. Il contient des exemples de batterie de base pour les
74 synthétiseurs FM simples.
76 %description X11 -l pl
77 Playmidi-X11 dostarcza interfejs opary o system X Window umo¿liwiaj±cy
78 odtwarzanie plików MIDI poprzez kartê d¼wiêkow±.
80 %description X11 -l tr
81 MIDI ses dosyalarýný çalan playmidi uygulamasýnýn X arayüzü.
84 Summary: An SVGAlib based MIDI sound file player
85 Summary(pl): Odtwarzacz plików MIDI wykorzystuj±cy SVGAlib
86 Group: Applications/Sound
87 Requires: %{name} = %{version}
90 Playmidi-svga provides an SVGAlib interface for playing MIDI (Musical
91 Instrument Digital Interface) sound files through a sound card
92 synthesizer. Install playmidi-svga if you want to use an SVGAlib
93 interface to play MIDI sound files using your computer's sound card.
95 %description svga -l pl
96 Playmidi-svga dostarcza interfejs oparty o SVGAlib umo¿liwiaj±cy
97 odtwarzanie plików MIDI poprzez kartê d¼wiêkow±.
101 # awe_voice.h is now part of the kernel source.
109 %{__make} playmidi xplaymidi \
110 %ifarch %{ix86} alpha
113 OPT_FLAGS="%{rpmcflags}" <<EOF
118 rm -rf $RPM_BUILD_ROOT
119 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_mandir}/man1,%{_bindir},%{_appdefsdir}}
121 install playmidi xplaymidi $RPM_BUILD_ROOT%{_bindir}
122 install XPlaymidi.ad $RPM_BUILD_ROOT%{_appdefsdir}/XPlaymidi
123 install std.o3 drums.o3 std.sb drums.sb $RPM_BUILD_ROOT%{_sysconfdir}
124 install playmidi.1 $RPM_BUILD_ROOT%{_mandir}/man1
126 %ifarch %{ix86} alpha
127 install splaymidi $RPM_BUILD_ROOT%{_bindir}
128 echo '.so playmidi.1' > $RPM_BUILD_ROOT%{_mandir}/man1/splaymidi.1
132 rm -rf $RPM_BUILD_ROOT
135 %defattr(644,root,root,755)
137 %attr(755,root,root) %{_bindir}/playmidi
139 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/std.o3
140 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/std.sb
141 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/drums.o3
142 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/drums.sb
143 %{_mandir}/man1/playmidi.1*
146 %defattr(644,root,root,755)
147 %attr(755,root,root) %{_bindir}/xplaymidi
148 %{_appdefsdir}/XPlaymidi
150 %ifarch %{ix86} alpha
152 %defattr(644,root,root,755)
153 %attr(755,root,root) %{_bindir}/splaymidi
154 %{_mandir}/man1/splaymidi.1*