3 # - add/check translations
5 Summary: Alsaplayer - MP2/MP3/WAV/CD player
6 Summary(pl): Alsaplayer - odtwarzacz MP2/MP3/WAV/CD
11 Group: X11/Applications/Sound
12 Source0: ftp://ftp.alsa-project.org/pub/people/andy/%{name}-%{version}.tar.bz2
13 # Source0-md5: 353b57058e05aa5f0c01f93fc049c650
14 Patch0: %{name}-docs.patch
15 Patch1: %{name}-gcc33.patch
16 URL: http://www.alsaplayer.org/
17 BuildRequires: OpenGL-devel
18 BuildRequires: alsa-lib-devel
19 BuildRequires: audiofile-devel
20 BuildRequires: autoconf
21 BuildRequires: automake
22 BuildRequires: esound-devel
23 BuildRequires: flac-devel
24 BuildRequires: gtk+-devel
25 BuildRequires: id3lib-devel
26 BuildRequires: jack-audio-connection-kit-devel >= 0.69.1
27 BuildRequires: libmikmod-devel
28 BuildRequires: libsndfile-devel
29 BuildRequires: libstdc++-devel
30 BuildRequires: libtool
31 BuildRequires: libvorbis-devel
32 BuildRequires: mad-devel
33 BuildRequires: nas-devel
34 BuildRequires: xosd-devel
35 Requires(post): /sbin/ldconfig
36 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38 %define _noautoreqdep libGL.so.1 libGLU.so.1
39 %define _pkglibdir %{_libdir}/%{name}
42 AlsaPlayer is a new type of PCM player. It is heavily multi-threaded
43 and tries to exercise the ALSA library and driver quite a bit.
48 - Ogg Vorbis support (subpackage)
49 - WAV support, 8-, 16-bit, mono, stereo, any sample rate
50 - CDDA support, CD Digital Audio playback! and thus USB ready :)
51 - Also plays files mapped by audiofs (CDDA)
53 - Module support (mikmod) (subpcakage)
57 - ALSA. Best supported of course :) (subpackage)
58 - OSS. Kernel native sound drivers
59 - Sparc. UltraSparc sound drivers
60 - SGI. SGI audio library driver
61 - ESD. Enlightened sound daemon support (subpackage)
62 - NAS. Network Audio System (subpakcage)
63 - low latency JACK output
76 - Full speed (pitch) control, positive *and* negative! (First Linux
77 player that does this!! MP3's and CD's do varispeed :)
78 - Queue (playlist) support
79 - Concurrent visual scopes (open as many as you want)
80 - Multi-threaded design for efficient/skip free playback (RT)
81 - GUI Interface based on gtk+
82 - NOGUI operation for shell script usage
83 - On-screen-display based on xosd
84 - Plug-in core architecture
85 - Low latency mode, as low as 5ms when scheduled RT
87 - Software based volume/pan control
88 - Accurate scope/audio syncing using ALSA features
91 AlsaPlayer to nowy rodzaj odtwarzacza PCM. Jest wielow±tkowy i próbuje
92 solidnie przeæwiczyæ sterowniki i bibliotekê ALSA. Jego cechy to:
96 - obs³uga Ogg Vorbis (w podpakiecie)
97 - obs³uga WAV, 8 i 16-bitowych, mono, stereo, dowolna czêstotliwo¶æ
98 - obs³uga CD Digital Audio
99 - odtwarzanie plików podmapowanych przez audiofs (CDDA)
100 - obs³uga MAD - MPEG Audio
101 - obs³uga modu³ów (mikmod) (w podpakiecie)
102 - obs³ug bezstratnej kompresji d¼wiêku FLAC
105 - OSS - natywne sterowniki z j±dra
106 - ALSA - oczywi¶cie najlepiej obs³ugiwana :) (w podpakiecie)
107 - Sparc - sterowniki d¼wiêku dla UltraSparca
108 - SGI - biblioteka sterowników d¼wiêku SGI
109 - ESD - obs³uga O¶wieconego demona d¼wiêku (w podpakiecie)
110 - NAS - Sieciowego Systemu Audio (w podpakiecie)
111 - JACK - zestaw po³±czeñ d¼wiêku o ma³ych opó¼nieniach (w podpakiecie)
117 - Wska¼nik poziomu d¼wiêku
118 - Wska¼niki oparte o analizê FFT
119 - analizator spektrum sygna³u w oparciu o OpenGL
122 - Kontrola szybko¶ci (w obie strony)
123 - obs³uga kolejki (playlisty)
124 - obs³uga wielu wska¼ników naraz
126 - interfejs graficzny bazuj±cy na gtk+
127 - operacje bez GUI na potrzeby skryptów
128 - tryb Informacje-na-ekranie oparty o xosd
129 - architektura wtyczek
130 - tryb "czasu rzeczywistego" daj±cy opó¼nienia rzêdu 5ms
131 - programowa kontrola g³o¶no¶ci i balansu
132 - synchronizacja d¼wiêku i wska¼ników przy u¿yciu mo¿liwo¶ci ALSA
134 %package input-audiofile
135 Summary: Alsaplayer plugin for playing wave audio formats
136 Summary(pl): Wtyczka do alsaplayera do odtwarzania plików audio typu wave
137 Group: X11/Applications/Sound
138 Requires: %{name} = %{version}
140 %description input-audiofile
141 Alsaplayer plugin for playing wave audio formats (like AIFF, AIFC,
144 %description input-audiofile -l pl
145 Wtyczka do alsaplayera do odtwarzania plików audio typu wave (AIFF,
149 Summary: Alsaplayer plugin for playing FLAC files
150 Summary(pl): Wtyczka do alsaplayera do odtwarzania plików FLAC
151 Group: X11/Applications/Sound
152 Requires: %{name} = %{version}
154 %description input-flac
155 Alsaplayer plugin for playing FLAC files.
157 %description input-flac -l pl
158 Wtyczka do alsaplayera do odtwarzania plików FLAC.
161 Summary: Alsaplayer plugin for playing sound through JACK
162 Summary(pl): Wtyczka do alsaplayera do odtwarzania d¼wiêku przez JACK
163 Group: X11/Applications/Sound
164 Requires: %{name} = %{version}
166 %description output-jack
167 Alsaplayer plugin for sound through JACK
169 %description output-jack -l pl
170 Wtyczka do alsaplayera do odtwarzania d¼wiêku przez JACK
173 Summary: Alsaplayer plugin for playing MP3 files using MAD
174 Summary(pl): Wtyczka do alsaplayera do odtwarzania plików MP3 przy pomocy MAD
175 Group: X11/Applications/Sound
176 Requires: %{name} = %{version}
178 %description input-mad
179 Alsaplayer plugin for playing MP3 files using MAD.
181 %description input-mad -l pl
182 Wtyczka do alsaplayera do odtwarzania plików MP3 przy pomocy MAD.
184 %package input-mikmod
185 Summary: Alsaplayer plugin for playing mod files
186 Summary(pl): Wtyczka do alsaplayera do odtwarzania plików mod
187 Group: X11/Applications/Sound
188 Requires: %{name} = %{version}
190 %description input-mikmod
191 Alsaplayer plugin for playing mod files.
193 %description input-mikmod -l pl
194 Wtyczka do alsaplayera do odtwarzania plików mod.
196 %package input-sndfile
197 Summary: Alsaplayer plugin for playing wave audio formats
198 Summary(pl): Wtyczka do alsaplayera do odtwarzania plików audio typu wave
199 Group: X11/Applications/Sound
200 Requires: %{name} = %{version}
202 %description input-sndfile
203 Alsaplayer plugin for playing wave audio formats (like AIFF, AIFC,
206 %description input-sndfile -l pl
207 Wtyczka do alsaplayera do odtwarzania plików audio typu wave (AIFF,
210 %package input-vorbis
211 Summary: Alsaplayer plugin for playing ogg/vorbis files
212 Summary(pl): Wtyczka do alsaplayera do odtwarzania plików ogg/vorbis
213 Group: X11/Applications/Sound
214 Requires: %{name} = %{version}
216 %description input-vorbis
217 Alsaplayer plugin for playing ogg/vorbis files.
219 %description input-vorbis -l pl
220 Wtyczka do alsaplayera do odtwarzania plików ogg/vorbis.
224 Summary: Alsaplayer plugin for playing through alsa drivers
225 Summary(pl): Wtyczka do alsaplayera do odtwarzania przez sterowniki alsa
226 Group: X11/Applications/Sound
227 Requires: %{name} = %{version}
229 %description output-alsa
230 Alsaplayer plugin for playing sound through alsa drivers.
232 %description output-alsa -l pl
233 Wtyczka do alsaplayera do odtwarzania d¼wiêku przez sterowniki alsa.
235 %package output-esound
236 Summary: Alsaplayer plugin for playing through esound daemon
237 Summary(pl): Wtyczka do alsaplayera do odtwarzania przez demona esound
238 Group: X11/Applications/Sound
239 Requires: %{name} = %{version}
241 %description output-esound
242 Alsaplayer plugin for playing sound through esound daemon.
244 %description output-esound -l pl
245 Wtyczka do alsaplayera do odtwarzania d¼wiêku przez demona esound.
248 Summary: Alsaplayer plugin for playing through NAS daemon
249 Summary(pl): Wtyczka do alsaplayera do odtwarzania przez demona NAS
250 Group: X11/Applications/Sound
251 Requires: %{name} = %{version}
253 %description output-nas
254 Alsaplayer plugin for playing sound through NAS (network audio system)
257 %description output-nas -l pl
258 Wtyczka do alsaplayera do odtwarzania d¼wiêku przez demona NAS
259 (network audio system).
262 Summary: Alsaplayer plugin for visualization
263 Summary(pl): Wtyczka do alsaplayera do wizualizacji
264 Group: X11/Applications/Multimedia
265 Requires: %{name} = %{version}
267 %description scopes-gtk
268 Alsaplayer plugin for visualization.
270 %description scopes-gtk -l pl
271 Wtyczka do alsaplayera do wizualizacji.
273 %package scopes-opengl
274 Summary: Alsaplayer plugin for visualization using OpenGL
275 Summary(pl): Wtyczka do alsaplayera do wizualizacji z u¿yciem OpenGL
276 Group: X11/Applications/Multimedia
277 Requires: %{name} = %{version}
280 %description scopes-opengl
281 Alsaplayer plugin for visualization using OpenGL.
283 %description scopes-opengl -l pl
284 Wtyczka do alsaplayera do wizualizacji z u¿yciem OpenGL.
286 %package interface-daemon
287 Summary: Deamon interface for Alsaplayer
288 Summary(pl): Interfejs demona alsaplayera
289 Group: X11/Applications/Sound
290 Requires: %{name} = %{version}
293 Deamon interface for Alsaplayer.
295 %description daemon -l pl
296 Interfejs demona alsaplayera.
298 %package interface-gtk
299 Summary: GTK+ interface for Alsaplayer
300 Summary(pl): Interfejs GTK+ alsaplayera
301 Group: X11/Applications/Sound
302 Requires: %{name} = %{version}
304 %description interface-gtk
305 GTK+ interface for Alsaplayer.
307 %description interface-gtk -l pl
308 Interfejs GTK+ alsaplayera.
310 %package interface-text
311 Summary: Text interface for Alsaplayer
312 Summary(pl): Interfejs tekstowy alsaplayera
313 Group: X11/Applications/Sound
314 Requires: %{name} = %{version}
316 %description interface-text
317 Text interface for Alsaplayer.
319 %description interface-text -l pl
320 Interfejs tekstowy alsaplayera.
322 %package interface-xosd
323 Summary: xosd interface for Alsaplayer
324 Summary(pl): Interfejs xosd alsaplayera
325 Group: X11/Applications/Sound
326 Requires: %{name} = %{version}
328 %description interface-xosd
329 xosd interface for Alsaplayer.
331 %description interface-xosd -l pl
332 Interfejs xosd alsaplayera.
335 Summary: Alsaplayer header files
336 Summary(pl): Pliki nag³ówkowe Alsaplayera
337 Group: X11/Applications/Sound
338 Requires: %{name} = %{version}
341 Alsaplayer header files.
344 Alsaplayer - pliki nag³ówkowe.
347 Summary: Alsaplayer static library
348 Summary(pl): Biblioteka statyczna Alsaplayera
349 Group: X11/Applications/Sound
350 Requires: %{name} = %{version}
353 Alsaplayer static library.
356 Biblioteka statyczna Alsaplayera.
369 CPPFLAGS=" -I/usr/X11R6/include"
370 LDFLAGS="%{rpmldflags} -L/usr/X11R6/lib"
371 export CPPFLAGS LDFLAGS
393 rm -rf $RPM_BUILD_ROOT
396 DESTDIR=$RPM_BUILD_ROOT \
397 pkgconfigdir=%{_pkgconfigdir}
399 rm -f $RPM_BUILD_ROOT%{_pkglibdir}/input/*.{a,la}
400 rm -f $RPM_BUILD_ROOT%{_pkglibdir}/interface/*.{a,la}
401 rm -f $RPM_BUILD_ROOT%{_pkglibdir}/output/*.{a,la}
402 rm -f $RPM_BUILD_ROOT%{_pkglibdir}/reader/*.{a,la}
403 rm -f $RPM_BUILD_ROOT%{_pkglibdir}/scopes/*.{a,la}
406 rm -rf $RPM_BUILD_ROOT
408 %post -p /sbin/ldconfig
409 %postun -p /sbin/ldconfig
412 %defattr(644,root,root,755)
413 %doc AUTHORS README ChangeLog
414 %attr(755,root,root) %{_bindir}/alsaplayer
415 %attr(755,root,root) %{_libdir}/libalsaplayer.so.0.0.2
417 %dir %{_pkglibdir}/input
418 %dir %{_pkglibdir}/interface
419 %dir %{_pkglibdir}/output
420 %dir %{_pkglibdir}/reader
421 %dir %{_pkglibdir}/scopes
422 %attr(755,root,root) %{_pkglibdir}/input/libcdda.so
423 %attr(755,root,root) %{_pkglibdir}/input/libwav.so
424 %attr(755,root,root) %{_pkglibdir}/output/liboss_out.so
425 %attr(755,root,root) %{_pkglibdir}/output/libnull_out.so
426 %attr(755,root,root) %{_pkglibdir}/reader/libfile.so
427 %attr(755,root,root) %{_pkglibdir}/reader/libhttp.so
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 %{_includedir}/alsaplayer
506 %{_libdir}/libalsaplayer.la
507 %{_libdir}/libalsaplayer.so
508 %{_pkgconfigdir}/alsaplayer.pc
511 %defattr(644,root,root,755)
512 %{_libdir}/libalsaplayer.a