3 # - add info about new subpackages (scopes, interface-gtk and others)
4 # - are static libs really need?
5 # - add/check translations
6 # - add .desktop file (maybe icon too?)
7 # - interface-daemon - maybe other name will be better
8 Summary: Alsaplayer - MP2/MP3/WAV/CD player
9 Summary(pl): Alsaplayer - odtwarzacz MP2/MP3/WAV/CD
14 Group: X11/Applications/Sound
15 Source0: ftp://ftp.alsa-project.org/pub/people/andy/%{name}-%{version}.tar.bz2
16 # Source0-md5: 353b57058e05aa5f0c01f93fc049c650
17 Patch0: %{name}-docs.patch
18 Patch1: %{name}-gcc33.patch
19 URL: http://www.alsaplayer.org/
20 BuildRequires: OpenGL-devel
21 BuildRequires: alsa-lib-devel
22 BuildRequires: audiofile-devel
23 BuildRequires: autoconf
24 BuildRequires: automake
25 BuildRequires: esound-devel
26 BuildRequires: flac-devel
27 BuildRequires: gtk+-devel
28 BuildRequires: id3lib-devel
29 BuildRequires: jack-audio-connection-kit-devel >= 0.69.1
30 BuildRequires: libmikmod-devel
31 BuildRequires: libsndfile-devel
32 BuildRequires: libstdc++-devel
33 BuildRequires: libtool
34 BuildRequires: libvorbis-devel
35 BuildRequires: mad-devel
36 BuildRequires: nas-devel
37 BuildRequires: xosd-devel
38 Requires(post): /sbin/ldconfig
39 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41 %define _noautoreqdep libGL.so.1 libGLU.so.1
42 %define _pkglibdir %{_libdir}/%{name}
45 AlsaPlayer is a new type of PCM player. It is heavily multi-threaded
46 and tries to exercise the ALSA library and driver quite a bit.
51 - Ogg Vorbis support (subpackage)
52 - WAV support, 8-, 16-bit, mono, stereo, any sample rate
53 - CDDA support, CD Digital Audio playback! and thus USB ready :)
54 - Also plays files mapped by audiofs (CDDA)
56 - Module support (mikmod) (subpcakage)
60 - ALSA. Best supported of course :) (subpackage)
61 - OSS. Kernel native sound drivers
62 - Sparc. UltraSparc sound drivers
63 - SGI. SGI audio library driver
64 - ESD. Enlightened sound daemon support (subpackage)
65 - NAS. Network Audio System (subpakcage)
66 - low latency JACK output
76 - More being developed...
79 - Full speed (pitch) control, positive *and* negative! (First Linux
80 player that does this!! MP3's and CD's do varispeed :)
81 - Queue (playlist) support
82 - Concurrent visual scopes (open as many as you want)
83 - Multi-threaded design for efficient/skip free playback (RT)
84 - GUI Interface based on gtk+
85 - NOGUI operation for shell script usage
86 - On-screen-display based on xosd
87 - Plug-in core architecture
88 - Low latency mode, as low as 5ms when scheduled RT
90 - Software based volume/pan control
91 - Accurate scope/audio syncing using ALSA features
92 - Portable (well, we'll see about that :)
95 AlsaPlayer to nowy rodzaj odtwarzacza PCM. Jest wielow±tkowy i próbuje
96 solidnie przeæwiczyæ sterowniki i bibliotekê ALSA. Jego cechy to:
100 - obs³uga Ogg Vorbis (w podpakiecie)
101 - obs³uga WAV, 8 i 16-bitowych, mono, stereo, dowolna czêstotliwo¶æ
102 - obs³uga CD Digital Audio
103 - odtwarzanie plików podmapowanych przez audiofs (CDDA)
104 - obs³uga MAD - MPEG Audio
105 - obs³uga modu³ów (mikmod) (w podpakiecie)
106 - obs³ug bezstratnej kompresji d¼wiêku FLAC
109 - OSS - natywne sterowniki z j±dra
110 - ALSA - oczywi¶cie najlepiej obs³ugiwana :) (w podpakiecie)
111 - Sparc - sterowniki d¼wiêku dla UltraSparca
112 - SGI - biblioteka sterowników d¼wiêku SGI
113 - ESD - obs³uga O¶wieconego demona d¼wiêku (w podpakiecie)
114 - NAS - Sieciowego Systemu Audio (w podpakiecie)
121 - Wska¼nik poziomu d¼wiêku
122 - inne, wkrótce wiêcej...
125 - Kontrola szybko¶ci (w obie strony)
126 - obs³uga kolejki (playlisty)
127 - obs³uga wielu wska¼ników naraz
129 - interfejs graficzny bazuj±cy na gtk+
130 - operacje bez GUI na potrzeby skryptów
131 - architektura wtyczek
132 - programowa kontrola g³o¶no¶ci i balansu
133 - synchronizacja d¼wiêku i wska¼ników przy u¿yciu mo¿liwo¶ci ALSA
135 %package input-audiofile
136 Summary: Alsaplayer plugin for playing wave audio formats
137 Summary(pl): Wtyczka do alsaplayera do odtwarzania plików audio typu wave
138 Group: X11/Applications/Sound
139 Requires: %{name} = %{version}
141 %description input-audiofile
142 Alsaplayer plugin for playing wave audio formats (like AIFF, AIFC,
145 %description input-audiofile -l pl
146 Wtyczka do alsaplayera do odtwarzania plików audio typu wave (AIFF,
150 Summary: Alsaplayer plugin for playing FLAC files
151 Summary(pl): Wtyczka do alsaplayera do odtwarzania plików FLAC
152 Group: X11/Applications/Sound
153 Requires: %{name} = %{version}
155 %description input-flac
156 Alsaplayer plugin for playing FLAC files.
158 %description input-flac -l pl
159 Wtyczka do alsaplayera do odtwarzania plików FLAC.
162 Summary: Alsaplayer plugin for playing sound through JACK
163 Summary(pl): Wtyczka do alsaplayera do odtwarzania d¼wiêku przez JACK
164 Group: X11/Applications/Sound
165 Requires: %{name} = %{version}
167 %description output-jack
168 Alsaplayer plugin for sound through JACK
170 %description output-jack -l pl
171 Wtyczka do alsaplayera do odtwarzania d¼wiêku przez JACK
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.
225 Summary: Alsaplayer plugin for playing through alsa drivers
226 Summary(pl): Wtyczka do alsaplayera do odtwarzania przez sterowniki alsa
227 Group: X11/Applications/Sound
228 Requires: %{name} = %{version}
230 %description output-alsa
231 Alsaplayer plugin for playing sound through alsa drivers.
233 %description output-alsa -l pl
234 Wtyczka do alsaplayera do odtwarzania d¼wiêku przez sterowniki alsa.
236 %package output-esound
237 Summary: Alsaplayer plugin for playing through esound daemon
238 Summary(pl): Wtyczka do alsaplayera do odtwarzania przez demona esound
239 Group: X11/Applications/Sound
240 Requires: %{name} = %{version}
242 %description output-esound
243 Alsaplayer plugin for playing sound through esound daemon.
245 %description output-esound -l pl
246 Wtyczka do alsaplayera do odtwarzania d¼wiêku przez demona esound.
249 Summary: Alsaplayer plugin for playing through NAS daemon
250 Summary(pl): Wtyczka do alsaplayera do odtwarzania przez demona NAS
251 Group: X11/Applications/Sound
252 Requires: %{name} = %{version}
254 %description output-nas
255 Alsaplayer plugin for playing sound through NAS (network audio system)
258 %description output-nas -l pl
259 Wtyczka do alsaplayera do odtwarzania d¼wiêku przez demona NAS
260 (network audio system).
263 Summary: Alsaplayer plugin for visualization
264 Summary(pl): Wtyczka do alsaplayera do wizualizacji
265 Group: X11/Applications/Multimedia
266 Requires: %{name} = %{version}
268 %description scopes-gtk
269 Alsaplayer plugin for visualization.
271 %description scopes-gtk -l pl
272 Wtyczka do alsaplayera do wizualizacji.
274 %package scopes-opengl
275 Summary: Alsaplayer plugin for visualization using OpenGL
276 Summary(pl): Wtyczka do alsaplayera do wizualizacji z u¿yciem OpenGL
277 Group: X11/Applications/Multimedia
278 Requires: %{name} = %{version}
281 %description scopes-opengl
282 Alsaplayer plugin for visualization using OpenGL.
284 %description scopes-opengl -l pl
285 Wtyczka do alsaplayera do wizualizacji z u¿yciem OpenGL.
287 %package interface-daemon
288 Summary: Deamon interface for Alsaplayer
289 Summary(pl): Interfejs demona alsaplayera
290 Group: X11/Applications/Sound
291 Requires: %{name} = %{version}
293 %description interface-daemon
294 Deamon interface for Alsaplayer.
296 %description interface-daemon -l pl
297 Interfejs demona alsaplayera.
299 %package interface-gtk
300 Summary: GTK+ interface for Alsaplayer
301 Summary(pl): Interfejs GTK+ alsaplayera
302 Group: X11/Applications/Sound
303 Requires: %{name} = %{version}
305 %description interface-gtk
306 GTK+ interface for Alsaplayer.
308 %description interface-gtk -l pl
309 Interfejs GTK+ alsaplayera.
311 %package interface-text
312 Summary: Text interface for Alsaplayer
313 Summary(pl): Interfejs tekstowy alsaplayera
314 Group: X11/Applications/Sound
315 Requires: %{name} = %{version}
317 %description interface-text
318 Text interface for Alsaplayer.
320 %description interface-text -l pl
321 Interfejs tekstowy alsaplayera.
323 %package interface-xosd
324 Summary: xosd interface for Alsaplayer
325 Summary(pl): Interfejs xosd alsaplayera
326 Group: X11/Applications/Sound
327 Requires: %{name} = %{version}
329 %description interface-xosd
330 xosd interface for Alsaplayer.
332 %description interface-xosd -l pl
333 Interfejs xosd alsaplayera.
336 Summary: Alsaplayer header files
337 Summary(pl): Pliki nag³ówkowe Alsaplayera
338 Group: X11/Applications/Sound
339 Requires: %{name} = %{version}
342 Alsaplayer header files.
345 Alsaplayer - pliki nag³ówkowe.
348 Summary: Alsaplayer static library
349 Summary(pl): Biblioteka statyczna Alsaplayera
350 Group: X11/Applications/Sound
351 Requires: %{name} = %{version}
354 Alsaplayer static library.
357 Biblioteka statyczna Alsaplayera.
370 CPPFLAGS=" -I/usr/X11R6/include"
371 LDFLAGS="%{rpmldflags} -L/usr/X11R6/lib"
372 export CPPFLAGS LDFLAGS
394 rm -rf $RPM_BUILD_ROOT
397 DESTDIR=$RPM_BUILD_ROOT \
398 pkgconfigdir=%{_pkgconfigdir}
400 rm -f $RPM_BUILD_ROOT%{_pkglibdir}/input/*.{a,la}
401 rm -f $RPM_BUILD_ROOT%{_pkglibdir}/interface/*.{a,la}
402 rm -f $RPM_BUILD_ROOT%{_pkglibdir}/output/*.{a,la}
403 rm -f $RPM_BUILD_ROOT%{_pkglibdir}/reader/*.{a,la}
404 rm -f $RPM_BUILD_ROOT%{_pkglibdir}/scopes/*.{a,la}
407 rm -rf $RPM_BUILD_ROOT
409 %post -p /sbin/ldconfig
410 %postun -p /sbin/ldconfig
413 %defattr(644,root,root,755)
414 %doc AUTHORS README ChangeLog
415 %attr(755,root,root) %{_bindir}/alsaplayer
416 %attr(755,root,root) %{_libdir}/libalsaplayer.so.0.0.2
418 %dir %{_pkglibdir}/input
419 %dir %{_pkglibdir}/interface
420 %dir %{_pkglibdir}/output
421 %dir %{_pkglibdir}/reader
422 %dir %{_pkglibdir}/scopes
423 %attr(755,root,root) %{_pkglibdir}/input/libcdda.so
424 %attr(755,root,root) %{_pkglibdir}/input/libwav.so
425 %attr(755,root,root) %{_pkglibdir}/output/liboss_out.so
426 %attr(755,root,root) %{_pkglibdir}/output/libnull_out.so
427 %attr(755,root,root) %{_pkglibdir}/reader/libfile.so
428 %attr(755,root,root) %{_pkglibdir}/reader/libhttp.so
432 %attr(755,root,root) %{_pkglibdir}/output/libsparc_out.so
435 %files interface-daemon
436 %defattr(644,root,root,755)
437 %attr(755,root,root) %{_pkglibdir}/interface/libdaemon_interface.so
440 %defattr(644,root,root,755)
441 %attr(755,root,root) %{_pkglibdir}/interface/libgtk_interface.so
443 %files interface-text
444 %defattr(644,root,root,755)
445 %attr(755,root,root) %{_pkglibdir}/interface/libtext_interface.so
447 %files interface-xosd
448 %defattr(644,root,root,755)
449 %attr(755,root,root) %{_pkglibdir}/interface/libxosd_interface.so
451 %files input-audiofile
452 %defattr(644,root,root,755)
453 %attr(755,root,root) %{_pkglibdir}/input/libaf.so
456 %defattr(644,root,root,755)
457 %attr(755,root,root) %{_pkglibdir}/input/libflac_in.so
460 %defattr(644,root,root,755)
461 %attr(755,root,root) %{_pkglibdir}/input/libmad_in.so
464 %defattr(644,root,root,755)
465 %attr(755,root,root) %{_pkglibdir}/input/libmod.so
468 %defattr(644,root,root,755)
469 %attr(755,root,root) %{_pkglibdir}/input/libsndfile_in.so
472 %defattr(644,root,root,755)
473 %attr(755,root,root) %{_pkglibdir}/input/libvorbis_in.so
476 %defattr(644,root,root,755)
477 %attr(755,root,root) %{_pkglibdir}/output/libalsa_out.so
480 %defattr(644,root,root,755)
481 %attr(755,root,root) %{_pkglibdir}/output/libesound_out.so
484 %defattr(644,root,root,755)
485 %attr(755,root,root) %{_pkglibdir}/output/libjack_out.so
488 %defattr(644,root,root,755)
489 %attr(755,root,root) %{_pkglibdir}/output/libnas_out.so
492 %defattr(644,root,root,755)
493 %attr(755,root,root) %{_pkglibdir}/scopes/libblurscope.so
494 %attr(755,root,root) %{_pkglibdir}/scopes/liblevelmeter.so
495 %attr(755,root,root) %{_pkglibdir}/scopes/liblogbarfft.so
496 %attr(755,root,root) %{_pkglibdir}/scopes/libmonoscope.so
497 %attr(755,root,root) %{_pkglibdir}/scopes/libspacescope.so
498 %attr(755,root,root) %{_pkglibdir}/scopes/libsynaescope.so
501 %defattr(644,root,root,755)
502 %attr(755,root,root) %{_pkglibdir}/scopes/liboglspectrum.so
505 %defattr(644,root,root,755)
506 %{_includedir}/alsaplayer
507 %{_libdir}/libalsaplayer.la
508 %{_libdir}/libalsaplayer.so
509 %{_pkgconfigdir}/alsaplayer.pc
512 %defattr(644,root,root,755)
513 %{_libdir}/libalsaplayer.a