3 # - add/check translations
4 Summary: Alsaplayer - CD/FLAC/MOD/MP3/OGG/WAV player
5 Summary(pl): Alsaplayer - odtwarzacz CD/FLAC/MOD/MP3/OGG/WAV
10 Group: X11/Applications/Sound
11 Source0: ftp://ftp.alsa-project.org/pub/people/andy/%{name}-%{version}.tar.bz2
12 # Source0-md5: 353b57058e05aa5f0c01f93fc049c650
13 Source1: %{name}.desktop
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
135 Summary: Deamon interface for Alsaplayer
136 Summary(pl): Interfejs demona alsaplayera
137 Group: X11/Applications/Sound
138 Requires: %{name} = %{version}
141 Deamon interface for Alsaplayer.
143 %description daemon -l pl
144 Interfejs demona alsaplayera.
146 %package input-audiofile
147 Summary: Alsaplayer plugin for playing wave audio formats
148 Summary(pl): Wtyczka do alsaplayera do odtwarzania plików audio typu wave
149 Group: X11/Applications/Sound
150 Requires: %{name} = %{version}
152 %description input-audiofile
153 Alsaplayer plugin for playing wave audio formats (like AIFF, AIFC,
156 %description input-audiofile -l pl
157 Wtyczka do alsaplayera do odtwarzania plików audio typu wave (AIFF,
161 Summary: Alsaplayer plugin for playing FLAC files
162 Summary(pl): Wtyczka do alsaplayera do odtwarzania plików FLAC
163 Group: X11/Applications/Sound
164 Requires: %{name} = %{version}
166 %description input-flac
167 Alsaplayer plugin for playing FLAC files.
169 %description input-flac -l pl
170 Wtyczka do alsaplayera do odtwarzania plików FLAC.
174 Summary: Alsaplayer plugin for playing MP3 files using MAD
175 Summary(pl): Wtyczka do alsaplayera do odtwarzania plików MP3 przy pomocy MAD
176 Group: X11/Applications/Sound
177 Requires: %{name} = %{version}
179 %description input-mad
180 Alsaplayer plugin for playing MP3 files using MAD.
182 %description input-mad -l pl
183 Wtyczka do alsaplayera do odtwarzania plików MP3 przy pomocy MAD.
185 %package input-mikmod
186 Summary: Alsaplayer plugin for playing mod files
187 Summary(pl): Wtyczka do alsaplayera do odtwarzania plików mod
188 Group: X11/Applications/Sound
189 Requires: %{name} = %{version}
191 %description input-mikmod
192 Alsaplayer plugin for playing mod files.
194 %description input-mikmod -l pl
195 Wtyczka do alsaplayera do odtwarzania plików mod.
197 %package input-sndfile
198 Summary: Alsaplayer plugin for playing wave audio formats
199 Summary(pl): Wtyczka do alsaplayera do odtwarzania plików audio typu wave
200 Group: X11/Applications/Sound
201 Requires: %{name} = %{version}
203 %description input-sndfile
204 Alsaplayer plugin for playing wave audio formats (like AIFF, AIFC,
207 %description input-sndfile -l pl
208 Wtyczka do alsaplayera do odtwarzania plików audio typu wave (AIFF,
211 %package input-vorbis
212 Summary: Alsaplayer plugin for playing ogg/vorbis files
213 Summary(pl): Wtyczka do alsaplayera do odtwarzania plików ogg/vorbis
214 Group: X11/Applications/Sound
215 Requires: %{name} = %{version}
217 %description input-vorbis
218 Alsaplayer plugin for playing ogg/vorbis files.
220 %description input-vorbis -l pl
221 Wtyczka do alsaplayera do odtwarzania plików ogg/vorbis.
223 %package interface-gtk
224 Summary: GTK+ interface for Alsaplayer
225 Summary(pl): Interfejs GTK+ alsaplayera
226 Group: X11/Applications/Sound
227 Requires: %{name} = %{version}
229 %description interface-gtk
230 GTK+ interface for Alsaplayer.
232 %description interface-gtk -l pl
233 Interfejs GTK+ alsaplayera.
235 %package interface-text
236 Summary: Text interface for Alsaplayer
237 Summary(pl): Interfejs tekstowy alsaplayera
238 Group: X11/Applications/Sound
239 Requires: %{name} = %{version}
241 %description interface-text
242 Text interface for Alsaplayer.
244 %description interface-text -l pl
245 Interfejs tekstowy alsaplayera.
247 %package interface-xosd
248 Summary: xosd interface for Alsaplayer
249 Summary(pl): Interfejs xosd alsaplayera
250 Group: X11/Applications/Sound
251 Requires: %{name} = %{version}
253 %description interface-xosd
254 xosd interface for Alsaplayer.
256 %description interface-xosd -l pl
257 Interfejs xosd alsaplayera.
260 Summary: Alsaplayer plugin for playing through alsa drivers
261 Summary(pl): Wtyczka do alsaplayera do odtwarzania przez sterowniki alsa
262 Group: X11/Applications/Sound
263 Requires: %{name} = %{version}
265 %description output-alsa
266 Alsaplayer plugin for playing sound through alsa drivers.
268 %description output-alsa -l pl
269 Wtyczka do alsaplayera do odtwarzania d¼wiêku przez sterowniki alsa.
271 %package output-esound
272 Summary: Alsaplayer plugin for playing through esound daemon
273 Summary(pl): Wtyczka do alsaplayera do odtwarzania przez demona esound
274 Group: X11/Applications/Sound
275 Requires: %{name} = %{version}
277 %description output-esound
278 Alsaplayer plugin for playing sound through esound daemon.
280 %description output-esound -l pl
281 Wtyczka do alsaplayera do odtwarzania d¼wiêku przez demona esound.
284 Summary: Alsaplayer plugin for playing through NAS daemon
285 Summary(pl): Wtyczka do alsaplayera do odtwarzania przez demona NAS
286 Group: X11/Applications/Sound
287 Requires: %{name} = %{version}
290 Summary: Alsaplayer plugin for playing sound through JACK
291 Summary(pl): Wtyczka do alsaplayera do odtwarzania d¼wiêku przez JACK
292 Group: X11/Applications/Sound
293 Requires: %{name} = %{version}
295 %description output-jack
296 Alsaplayer plugin for sound through JACK
298 %description output-jack -l pl
299 Wtyczka do alsaplayera do odtwarzania d¼wiêku przez JACK
301 %description output-nas
302 Alsaplayer plugin for playing sound through NAS (network audio system)
305 %description output-nas -l pl
306 Wtyczka do alsaplayera do odtwarzania d¼wiêku przez demona NAS
307 (network audio system).
310 Summary: Alsaplayer plugin for visualization
311 Summary(pl): Wtyczka do alsaplayera do wizualizacji
312 Group: X11/Applications/Multimedia
313 Requires: %{name} = %{version}
315 %description scopes-gtk
316 Alsaplayer plugin for visualization.
318 %description scopes-gtk -l pl
319 Wtyczka do alsaplayera do wizualizacji.
321 %package scopes-opengl
322 Summary: Alsaplayer plugin for visualization using OpenGL
323 Summary(pl): Wtyczka do alsaplayera do wizualizacji z u¿yciem OpenGL
324 Group: X11/Applications/Multimedia
325 Requires: %{name} = %{version}
328 %description scopes-opengl
329 Alsaplayer plugin for visualization using OpenGL.
331 %description scopes-opengl -l pl
332 Wtyczka do alsaplayera do wizualizacji z u¿yciem OpenGL.
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
394 install -d $RPM_BUILD_ROOT%{_desktopdir}
397 DESTDIR=$RPM_BUILD_ROOT \
398 pkgconfigdir=%{_pkgconfigdir}
400 install -c %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
402 rm -f $RPM_BUILD_ROOT%{_pkglibdir}/input/*.{a,la}
403 rm -f $RPM_BUILD_ROOT%{_pkglibdir}/interface/*.{a,la}
404 rm -f $RPM_BUILD_ROOT%{_pkglibdir}/output/*.{a,la}
405 rm -f $RPM_BUILD_ROOT%{_pkglibdir}/reader/*.{a,la}
406 rm -f $RPM_BUILD_ROOT%{_pkglibdir}/scopes/*.{a,la}
409 rm -rf $RPM_BUILD_ROOT
411 %post -p /sbin/ldconfig
412 %postun -p /sbin/ldconfig
415 %defattr(644,root,root,755)
416 %doc AUTHORS README ChangeLog
417 %attr(755,root,root) %{_bindir}/alsaplayer
418 %attr(755,root,root) %{_libdir}/libalsaplayer.so.0.0.2
420 %dir %{_pkglibdir}/input
421 %dir %{_pkglibdir}/interface
422 %dir %{_pkglibdir}/output
423 %dir %{_pkglibdir}/reader
424 %dir %{_pkglibdir}/scopes
425 %attr(755,root,root) %{_pkglibdir}/input/libcdda.so
426 %attr(755,root,root) %{_pkglibdir}/input/libwav.so
427 %attr(755,root,root) %{_pkglibdir}/output/liboss_out.so
428 %attr(755,root,root) %{_pkglibdir}/output/libnull_out.so
429 %attr(755,root,root) %{_pkglibdir}/reader/libfile.so
430 %attr(755,root,root) %{_pkglibdir}/reader/libhttp.so
432 %{_desktopdir}/%{name}.desktop
435 %attr(755,root,root) %{_pkglibdir}/output/libsparc_out.so
439 %defattr(644,root,root,755)
440 %attr(755,root,root) %{_pkglibdir}/interface/libdaemon_interface.so
443 %defattr(644,root,root,755)
444 %attr(755,root,root) %{_pkglibdir}/interface/libgtk_interface.so
446 %files interface-text
447 %defattr(644,root,root,755)
448 %attr(755,root,root) %{_pkglibdir}/interface/libtext_interface.so
450 %files interface-xosd
451 %defattr(644,root,root,755)
452 %attr(755,root,root) %{_pkglibdir}/interface/libxosd_interface.so
454 %files input-audiofile
455 %defattr(644,root,root,755)
456 %attr(755,root,root) %{_pkglibdir}/input/libaf.so
459 %defattr(644,root,root,755)
460 %attr(755,root,root) %{_pkglibdir}/input/libflac_in.so
463 %defattr(644,root,root,755)
464 %attr(755,root,root) %{_pkglibdir}/input/libmad_in.so
467 %defattr(644,root,root,755)
468 %attr(755,root,root) %{_pkglibdir}/input/libmod.so
471 %defattr(644,root,root,755)
472 %attr(755,root,root) %{_pkglibdir}/input/libsndfile_in.so
475 %defattr(644,root,root,755)
476 %attr(755,root,root) %{_pkglibdir}/input/libvorbis_in.so
479 %defattr(644,root,root,755)
480 %attr(755,root,root) %{_pkglibdir}/output/libalsa_out.so
483 %defattr(644,root,root,755)
484 %attr(755,root,root) %{_pkglibdir}/output/libesound_out.so
487 %defattr(644,root,root,755)
488 %attr(755,root,root) %{_pkglibdir}/output/libjack_out.so
491 %defattr(644,root,root,755)
492 %attr(755,root,root) %{_pkglibdir}/output/libnas_out.so
495 %defattr(644,root,root,755)
496 %attr(755,root,root) %{_pkglibdir}/scopes/libblurscope.so
497 %attr(755,root,root) %{_pkglibdir}/scopes/liblevelmeter.so
498 %attr(755,root,root) %{_pkglibdir}/scopes/liblogbarfft.so
499 %attr(755,root,root) %{_pkglibdir}/scopes/libmonoscope.so
500 %attr(755,root,root) %{_pkglibdir}/scopes/libspacescope.so
501 %attr(755,root,root) %{_pkglibdir}/scopes/libsynaescope.so
504 %defattr(644,root,root,755)
505 %attr(755,root,root) %{_pkglibdir}/scopes/liboglspectrum.so
508 %defattr(644,root,root,755)
509 %{_includedir}/alsaplayer
510 %{_libdir}/libalsaplayer.la
511 %{_libdir}/libalsaplayer.so
512 %{_pkgconfigdir}/alsaplayer.pc
515 %defattr(644,root,root,755)
516 %{_libdir}/libalsaplayer.a