1 Summary: Alsaplayer - CD/FLAC/MOD/MP3/OGG/WAV player
2 Summary(pl): Alsaplayer - odtwarzacz CD/FLAC/MOD/MP3/OGG/WAV
7 Group: Applications/Sound
8 Source0: ftp://ftp.alsa-project.org/pub/people/andy/%{name}-%{version}.tar.bz2
9 # Source0-md5: 353b57058e05aa5f0c01f93fc049c650
10 Source1: %{name}.desktop
11 Patch0: %{name}-docs.patch
12 Patch1: %{name}-gcc33.patch
13 URL: http://www.alsaplayer.org/
14 BuildRequires: OpenGL-devel
15 BuildRequires: alsa-lib-devel
16 BuildRequires: audiofile-devel
17 BuildRequires: autoconf
18 BuildRequires: automake
19 BuildRequires: esound-devel
20 BuildRequires: flac-devel
21 BuildRequires: gtk+-devel
22 BuildRequires: id3lib-devel
23 BuildRequires: jack-audio-connection-kit-devel >= 0.69.1
24 BuildRequires: libmikmod-devel
25 BuildRequires: libsndfile-devel
26 BuildRequires: libstdc++-devel
27 BuildRequires: libtool
28 BuildRequires: libvorbis-devel
29 BuildRequires: mad-devel
30 BuildRequires: nas-devel
31 BuildRequires: xosd-devel
32 Requires(post): /sbin/ldconfig
33 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 %define _noautoreqdep libGL.so.1 libGLU.so.1
36 %define _pkglibdir %{_libdir}/%{name}
39 AlsaPlayer is a new type of PCM player. It is heavily multi-threaded
40 and tries to exercise the ALSA library and driver quite a bit.
45 - Ogg Vorbis support (subpackage)
46 - WAV support, 8-, 16-bit, mono, stereo, any sample rate
47 - CDDA support, CD Digital Audio playback! and thus USB ready :)
48 - Also plays files mapped by audiofs (CDDA)
50 - Module support (mikmod) (subpcakage)
54 - ALSA. Best supported of course :) (subpackage)
55 - OSS. Kernel native sound drivers
56 - Sparc. UltraSparc sound drivers
57 - SGI. SGI audio library driver
58 - ESD. Enlightened sound daemon support (subpackage)
59 - NAS. Network Audio System (subpakcage)
60 - low latency JACK output
73 - Full speed (pitch) control, positive *and* negative! (First Linux
74 player that does this!! MP3's and CD's do varispeed :)
75 - Queue (playlist) support
76 - Concurrent visual scopes (open as many as you want)
77 - Multi-threaded design for efficient/skip free playback (RT)
78 - GUI Interface based on gtk+
79 - NOGUI operation for shell script usage
80 - On-screen-display based on xosd
81 - Plug-in core architecture
82 - Low latency mode, as low as 5ms when scheduled RT
84 - Software based volume/pan control
85 - Accurate scope/audio syncing using ALSA features
88 AlsaPlayer to nowy rodzaj odtwarzacza PCM. Jest wielow±tkowy i próbuje
89 solidnie przeæwiczyæ sterowniki i bibliotekê ALSA. Jego cechy to:
93 - obs³uga Ogg Vorbis (w podpakiecie)
94 - obs³uga WAV, 8 i 16-bitowych, mono, stereo o dowolnej czêstotliwo¶ci
95 - obs³uga CD Digital Audio
96 - odtwarzanie plików podmapowanych przez audiofs (CDDA)
97 - obs³uga MAD - MPEG Audio
98 - obs³uga modu³ów (mikmod) (w podpakiecie)
99 - obs³ug bezstratnej kompresji d¼wiêku FLAC
102 - OSS - natywne sterowniki z j±dra
103 - ALSA - oczywi¶cie najlepiej obs³ugiwana :) (w podpakiecie)
104 - Sparc - sterowniki d¼wiêku dla UltraSparca
105 - SGI - biblioteka sterowników d¼wiêku SGI
106 - ESD - obs³uga O¶wieconego demona d¼wiêku (w podpakiecie)
107 - NAS - Sieciowego Systemu Audio (w podpakiecie)
108 - JACK - zestaw po³±czeñ d¼wiêku o ma³ych opó¼nieniach (w podpakiecie)
114 - Wska¼nik poziomu d¼wiêku
115 - Wska¼niki oparte o analizê FFT
116 - analizator spektrum sygna³u w oparciu o OpenGL
119 - Kontrola szybko¶ci (w obie strony)
120 - obs³uga kolejki (playlisty)
121 - obs³uga wielu wska¼ników naraz
123 - interfejs graficzny bazuj±cy na gtk+
124 - operacje bez GUI na potrzeby skryptów
125 - tryb Informacje-na-ekranie oparty o xosd
126 - architektura wtyczek
127 - tryb "czasu rzeczywistego" daj±cy opó¼nienia rzêdu 5ms
128 - programowa kontrola g³o¶no¶ci i balansu
129 - synchronizacja d¼wiêku i wska¼ników przy u¿yciu mo¿liwo¶ci ALSA
132 Summary: Deamon interface for Alsaplayer
133 Summary(pl): Interfejs demona alsaplayera
134 Group: Applications/Sound
135 Requires: %{name} = %{version}
138 Deamon interface for Alsaplayer.
140 %description daemon -l pl
141 Interfejs demona alsaplayera.
143 %package input-audiofile
144 Summary: Alsaplayer plugin for playing wave audio formats using audiofile
145 Summary(pl): Wtyczka alsaplayera do odtwarzania plików audio typu wave przy u¿yciu audiofile
146 Group: Applications/Sound
147 Requires: %{name} = %{version}
149 %description input-audiofile
150 Alsaplayer plugin for playing wave audio formats (like AIFF, AIFC,
151 WAVE, ...) using audiofile library.
153 %description input-audiofile -l pl
154 Wtyczka alsaplayera do odtwarzania plików audio typu wave (AIFF,
155 AIFC, WAVE, ...) przy u¿yciu biblioteki audiofile.
158 Summary: Alsaplayer plugin for playing FLAC files
159 Summary(pl): Wtyczka alsaplayera do odtwarzania plików FLAC
160 Group: Applications/Sound
161 Requires: %{name} = %{version}
163 %description input-flac
164 Alsaplayer plugin for playing FLAC files.
166 %description input-flac -l pl
167 Wtyczka alsaplayera do odtwarzania plików FLAC.
170 Summary: Alsaplayer plugin for playing MP3 files using MAD
171 Summary(pl): Wtyczka alsaplayera do odtwarzania plików MP3 przy pomocy MAD
172 Group: Applications/Sound
173 Requires: %{name} = %{version}
175 %description input-mad
176 Alsaplayer plugin for playing MP3 files using MAD.
178 %description input-mad -l pl
179 Wtyczka alsaplayera do odtwarzania plików MP3 przy pomocy MAD.
181 %package input-mikmod
182 Summary: Alsaplayer plugin for playing mod files
183 Summary(pl): Wtyczka alsaplayera do odtwarzania plików mod
184 Group: Applications/Sound
185 Requires: %{name} = %{version}
187 %description input-mikmod
188 Alsaplayer plugin for playing mod files.
190 %description input-mikmod -l pl
191 Wtyczka alsaplayera do odtwarzania plików mod.
193 %package input-sndfile
194 Summary: Alsaplayer plugin for playing wave audio formats using libsndfile
195 Summary(pl): Wtyczka alsaplayera do odtwarzania plików audio typu wave przy u¿yciu libsndfile
196 Group: Applications/Sound
197 Requires: %{name} = %{version}
199 %description input-sndfile
200 Alsaplayer plugin for playing wave audio formats (like AIFF, AIFC,
201 WAVE, ...) using libsndfile library.
203 %description input-sndfile -l pl
204 Wtyczka do alsaplayera do odtwarzania plików audio typu wave (AIFF,
205 AIFC, WAVE, ...) przy u¿yciu biblioteki libsndfile.
207 %package input-vorbis
208 Summary: Alsaplayer plugin for playing ogg/vorbis files
209 Summary(pl): Wtyczka alsaplayera do odtwarzania plików ogg/vorbis
210 Group: Applications/Sound
211 Requires: %{name} = %{version}
213 %description input-vorbis
214 Alsaplayer plugin for playing ogg/vorbis files.
216 %description input-vorbis -l pl
217 Wtyczka alsaplayera do odtwarzania plików ogg/vorbis.
219 %package interface-gtk
220 Summary: GTK+ interface for Alsaplayer
221 Summary(pl): Interfejs GTK+ alsaplayera
222 Group: X11/Applications/Sound
223 Requires: %{name} = %{version}
225 %description interface-gtk
226 GTK+ interface for Alsaplayer.
228 %description interface-gtk -l pl
229 Interfejs GTK+ alsaplayera.
231 %package interface-text
232 Summary: Text interface for Alsaplayer
233 Summary(pl): Interfejs tekstowy alsaplayera
234 Group: Applications/Sound
235 Requires: %{name} = %{version}
237 %description interface-text
238 Text interface for Alsaplayer.
240 %description interface-text -l pl
241 Interfejs tekstowy alsaplayera.
243 %package interface-xosd
244 Summary: xosd interface for Alsaplayer
245 Summary(pl): Interfejs xosd alsaplayera
246 Group: X11/Applications/Sound
247 Requires: %{name} = %{version}
249 %description interface-xosd
250 xosd interface for Alsaplayer.
252 %description interface-xosd -l pl
253 Interfejs xosd alsaplayera.
256 Summary: Alsaplayer plugin for playing through alsa drivers
257 Summary(pl): Wtyczka alsaplayera do odtwarzania przez sterowniki alsa
258 Group: Applications/Sound
259 Requires: %{name} = %{version}
261 %description output-alsa
262 Alsaplayer plugin for playing sound through alsa drivers.
264 %description output-alsa -l pl
265 Wtyczka alsaplayera do odtwarzania d¼wiêku przez sterowniki alsa.
267 %package output-esound
268 Summary: Alsaplayer plugin for playing through esound daemon
269 Summary(pl): Wtyczka alsaplayera do odtwarzania przez demona esound
270 Group: Applications/Sound
271 Requires: %{name} = %{version}
273 %description output-esound
274 Alsaplayer plugin for playing sound through esound daemon.
276 %description output-esound -l pl
277 Wtyczka alsaplayera do odtwarzania d¼wiêku przez demona esound.
280 Summary: Alsaplayer plugin for playing through NAS daemon
281 Summary(pl): Wtyczka do alsaplayera do odtwarzania przez demona NAS
282 Group: Applications/Sound
283 Requires: %{name} = %{version}
285 %description output-nas
286 Alsaplayer plugin for playing sound through NAS (network audio system)
289 %description output-nas -l pl
290 Wtyczka alsaplayera do odtwarzania d¼wiêku przez demona NAS (network
294 Summary: Alsaplayer plugin for playing sound through JACK
295 Summary(pl): Wtyczka alsaplayera do odtwarzania d¼wiêku przez JACK
296 Group: Applications/Sound
297 Requires: %{name} = %{version}
299 %description output-jack
300 Alsaplayer plugin for sound through JACK system.
302 %description output-jack -l pl
303 Wtyczka alsaplayera do odtwarzania d¼wiêku przez system JACK.
306 Summary: Alsaplayer plugins for visualization
307 Summary(pl): Wtyczki alsaplayera do wizualizacji
308 Group: X11/Applications/Multimedia
309 Requires: %{name} = %{version}
311 %description scopes-gtk
312 Alsaplayer plugins for visualization.
314 %description scopes-gtk -l pl
315 Wtyczki do alsaplayera do wizualizacji.
317 %package scopes-opengl
318 Summary: Alsaplayer plugin for visualization using OpenGL
319 Summary(pl): Wtyczka alsaplayera do wizualizacji z u¿yciem OpenGL
320 Group: X11/Applications/Multimedia
321 Requires: %{name} = %{version}
324 %description scopes-opengl
325 Alsaplayer plugin for visualization using OpenGL.
327 %description scopes-opengl -l pl
328 Wtyczka do alsaplayera do wizualizacji z u¿yciem OpenGL.
331 Summary: Alsaplayer header files
332 Summary(pl): Pliki nag³ówkowe Alsaplayera
333 Group: Development/Libraries
334 Requires: %{name} = %{version}
337 Header files for Alsaplayer library.
339 %description devel -l pl
340 Pliki nag³ówkowe biblioteki Alsaplayera.
343 Summary: Alsaplayer static library
344 Summary(pl): Biblioteka statyczna Alsaplayera
345 Group: Development/Libraries
346 Requires: %{name}-devel = %{version}
349 Alsaplayer static library.
351 %description static -l pl
352 Biblioteka statyczna Alsaplayera.
365 CPPFLAGS=" -I/usr/X11R6/include"
366 LDFLAGS="%{rpmldflags} -L/usr/X11R6/lib"
367 export CPPFLAGS LDFLAGS
389 rm -rf $RPM_BUILD_ROOT
390 install -d $RPM_BUILD_ROOT%{_desktopdir}
393 DESTDIR=$RPM_BUILD_ROOT \
394 pkgconfigdir=%{_pkgconfigdir}
396 install -c %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
398 rm -f $RPM_BUILD_ROOT%{_pkglibdir}/input/*.{a,la}
399 rm -f $RPM_BUILD_ROOT%{_pkglibdir}/interface/*.{a,la}
400 rm -f $RPM_BUILD_ROOT%{_pkglibdir}/output/*.{a,la}
401 rm -f $RPM_BUILD_ROOT%{_pkglibdir}/reader/*.{a,la}
402 rm -f $RPM_BUILD_ROOT%{_pkglibdir}/scopes/*.{a,la}
405 rm -rf $RPM_BUILD_ROOT
407 %post -p /sbin/ldconfig
408 %postun -p /sbin/ldconfig
411 %defattr(644,root,root,755)
412 %doc AUTHORS README ChangeLog
413 %attr(755,root,root) %{_bindir}/alsaplayer
414 %attr(755,root,root) %{_libdir}/libalsaplayer.so.0.0.2
416 %dir %{_pkglibdir}/input
417 %dir %{_pkglibdir}/interface
418 %dir %{_pkglibdir}/output
419 %dir %{_pkglibdir}/reader
420 %dir %{_pkglibdir}/scopes
421 %attr(755,root,root) %{_pkglibdir}/input/libcdda.so
422 %attr(755,root,root) %{_pkglibdir}/input/libwav.so
423 %attr(755,root,root) %{_pkglibdir}/output/liboss_out.so
424 %attr(755,root,root) %{_pkglibdir}/output/libnull_out.so
425 %attr(755,root,root) %{_pkglibdir}/reader/libfile.so
426 %attr(755,root,root) %{_pkglibdir}/reader/libhttp.so
428 %{_desktopdir}/%{name}.desktop
431 %attr(755,root,root) %{_pkglibdir}/output/libsparc_out.so
435 %defattr(644,root,root,755)
436 %attr(755,root,root) %{_pkglibdir}/interface/libdaemon_interface.so
439 %defattr(644,root,root,755)
440 %attr(755,root,root) %{_pkglibdir}/interface/libgtk_interface.so
442 %files interface-text
443 %defattr(644,root,root,755)
444 %attr(755,root,root) %{_pkglibdir}/interface/libtext_interface.so
446 %files interface-xosd
447 %defattr(644,root,root,755)
448 %attr(755,root,root) %{_pkglibdir}/interface/libxosd_interface.so
450 %files input-audiofile
451 %defattr(644,root,root,755)
452 %attr(755,root,root) %{_pkglibdir}/input/libaf.so
455 %defattr(644,root,root,755)
456 %attr(755,root,root) %{_pkglibdir}/input/libflac_in.so
459 %defattr(644,root,root,755)
460 %attr(755,root,root) %{_pkglibdir}/input/libmad_in.so
463 %defattr(644,root,root,755)
464 %attr(755,root,root) %{_pkglibdir}/input/libmod.so
467 %defattr(644,root,root,755)
468 %attr(755,root,root) %{_pkglibdir}/input/libsndfile_in.so
471 %defattr(644,root,root,755)
472 %attr(755,root,root) %{_pkglibdir}/input/libvorbis_in.so
475 %defattr(644,root,root,755)
476 %attr(755,root,root) %{_pkglibdir}/output/libalsa_out.so
479 %defattr(644,root,root,755)
480 %attr(755,root,root) %{_pkglibdir}/output/libesound_out.so
483 %defattr(644,root,root,755)
484 %attr(755,root,root) %{_pkglibdir}/output/libjack_out.so
487 %defattr(644,root,root,755)
488 %attr(755,root,root) %{_pkglibdir}/output/libnas_out.so
491 %defattr(644,root,root,755)
492 %attr(755,root,root) %{_pkglibdir}/scopes/libblurscope.so
493 %attr(755,root,root) %{_pkglibdir}/scopes/liblevelmeter.so
494 %attr(755,root,root) %{_pkglibdir}/scopes/liblogbarfft.so
495 %attr(755,root,root) %{_pkglibdir}/scopes/libmonoscope.so
496 %attr(755,root,root) %{_pkglibdir}/scopes/libspacescope.so
497 %attr(755,root,root) %{_pkglibdir}/scopes/libsynaescope.so
500 %defattr(644,root,root,755)
501 %attr(755,root,root) %{_pkglibdir}/scopes/liboglspectrum.so
504 %defattr(644,root,root,755)
505 %attr(755,root,root) %{_libdir}/libalsaplayer.so
506 %{_libdir}/libalsaplayer.la
507 %{_includedir}/alsaplayer
508 %{_pkgconfigdir}/alsaplayer.pc
511 %defattr(644,root,root,755)
512 %{_libdir}/libalsaplayer.a