3 # ** mpg123 plugin are removed, so alsaplayer play mp3 only via mad plugin
4 # ** add info about new subpackages (scopes, interface-gtk and others)
5 # - add output-jack plugin (requires jackit.sf.net)
6 # - add input-flac plugin (requires flac.sf.net)
7 # - think about static libalsaplayer.a (add --enable-static to %%configure and make subpackage)
8 # - add/check translations
9 Summary: Alsaplayer - MP2/MP3/WAV/CD player
10 Summary(pl): Alsaplayer - odtwarzacz MP2/MP3/WAV/CD
15 Group: X11/Applications/Multimedia
16 Source0: ftp://ftp.alsa-project.org/pub/people/andy/%{name}-%{version}.tar.bz2
17 Patch0: %{name}-nas.patch
18 Patch1: %{name}-docs.patch
19 BuildRequires: alsa-lib-devel
20 BuildRequires: audiofile-devel
21 BuildRequires: autoconf
22 BuildRequires: automake
23 BuildRequires: curl-devel
24 BuildRequires: esound-devel
25 BuildRequires: gtk+-devel
26 BuildRequires: libmikmod-devel
27 BuildRequires: libtool
28 BuildRequires: libvorbis-devel >= 1:1.0
29 BuildRequires: mad-devel
30 BuildRequires: nas-devel
31 BuildRequires: OpenGL-devel
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 %define _noautoreqdep libGL.so.1 libGLU.so.1
35 %define _pkglibdir %{_libdir}/%{name}
36 %define _prefix /usr/X11R6
37 %define _mandir %{_prefix}/man
40 AlsaPlayer is a new type of PCM player. It is heavily multi-threaded
41 and tries to excercise the ALSA library and driver quite a bit.
46 - Ogg Vorbis support (subpackage)
47 - WAV support, 8-, 16-bit, mono, stereo, any sample rate
48 - CDDA support, CD Digital Audio playback! and thus USB ready :)
49 - Also plays files mapped by audiofs (CDDA)
51 - 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)
69 - More being developed...
72 - Full speed (pitch) control, positive *and* negative! (First Linux
73 player that does this!! MP3's and CD's do varispeed :)
74 - Queue (playlist) support
75 - Concurrent visual scopes (open as many as you want)
76 - Multi-threaded design for efficient/skip free playback (RT)
77 - GUI Interface based on gtk+
78 - NOGUI operation for shell script usage
79 - Plug-in core architecture
80 - Low latency mode, as low as 5ms when scheduled RT
82 - Software based volume/pan control
83 - Accurate scope/audio syncing using ALSA features
84 - Portable (well, we'll see about that :)
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, dowolna czêstotliwo¶æ
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)
101 - OSS - natywne sterowniki z j±dra
102 - ALSA - oczywi¶cie najlepiej obs³ugiwana :) (w podpakiecie)
103 - Sparc - sterowniki d¼wiêku dla UltraSparca
104 - SGI - biblioteka sterowników d¼wiêku SGI
105 - ESD - obs³uga O¶wieconego demona d¼wiêku (w podpakiecie)
106 - NAS - Sieciowego Systemu Audio (w podpakiecie)
112 - Wska¼nik poziomu d¼wiêku
113 - inne, wkrótce wiêcej...
116 - Kontrola szybko¶ci (w obie strony)
117 - obs³uga kolejki (playlisty)
118 - obs³uga wielu wska¼ników naraz
120 - interfejs graficzny bazuj±cy na gtk+
121 - operacje bez GUI na potrzeby skryptów
122 - architektura wtyczek
123 - programowa kontrola g³o¶no¶ci i balansu
124 - synchronizacja d¼wiêku i wska¼ników przy u¿yciu mo¿liwo¶ci ALSA
126 %package input-mikmod
127 Summary: Alsaplayer plugin for playing mod files
128 Summary(pl): Wtyczka do alsaplayera do odtwarzania plików mod
129 Group: X11/Applications/Multimedia
130 Requires: %{name} = %{version}
132 %description input-mikmod
133 Alsaplayer plugin for playing mod files.
135 %description input-mikmod -l pl
136 Wtyczka do alsaplayera do odtwarzania plików mod.
138 %package input-vorbis
139 Summary: Alsaplayer plugin for playing ogg/vorbis files
140 Summary(pl): Wtyczka do alsaplayera do odtwarzania plików ogg/vorbis
141 Group: X11/Applications/Multimedia
142 Requires: %{name} = %{version}
144 %description input-vorbis
145 Alsaplayer plugin for playing ogg/vorbis files.
147 %description input-vorbis -l pl
148 Wtyczka do alsaplayera do odtwarzania plików ogg/vorbis.
150 %package input-audiofile
151 Summary: Alsaplayer plugin for playing wave audio formats
152 Summary(pl): Wtyczka do alsaplayera do odtwarzania plików audio typu wave
153 Group: X11/Applications/Multimedia
154 Requires: %{name} = %{version}
156 %description input-audiofile
157 Alsaplayer plugin for playing wave audio formats (like AIFF, AIFC,
160 %description input-audiofile -l pl
161 Wtyczka do alsaplayera do odtwarzania plików audio typa wave (AIFF,
165 Summary: Alsaplayer plugin for playing MP3 files using MAD
166 Summary(pl): Wtyczka do alsaplayera do odtwarzania plików MP3 przy pomocy MAD
167 Group: X11/Applications/Multimedia
168 Requires: %{name} = %{version}
170 %description input-mad
171 Alsaplayer plugin for playing MP3 files using MAD.
173 %description input-mad -l pl
174 Wtyczka do alsaplayera do odtwarzania plików MP3 przy pomocy MAD.
177 # this plugin come in two versions, for alsa 0.5.x and 0.9.x
178 # but this libraraies provide different .so number, so the
179 # version built will work only with correct alsa-lib version,
180 # what we do want :-)
182 Summary: Alsaplayer plugin for playing through alsa drivers
183 Summary(pl): Wtyczka do alsaplayera do odtwarzania przez drivery alsa
184 Group: X11/Applications/Multimedia
185 Requires: %{name} = %{version}
187 %description output-alsa
188 Alsaplayer plugin for playing sound through alsa drivers.
190 %description output-alsa -l pl
191 Wtyczka do alsaplayera do odtwarzania d¼wiêku przez drivery alsa.
193 %package output-esound
194 Summary: Alsaplayer plugin for playing through esound daemon
195 Summary(pl): Wtyczka do alsaplayera do odtwarzania przez demona esound
196 Group: X11/Applications/Multimedia
197 Requires: %{name} = %{version}
199 %description output-esound
200 Alsaplayer plugin for playing sound through esound daemon.
202 %description output-esound -l pl
203 Wtyczka do alsaplayera do odtwarzania d¼wiêku przez demona esound.
206 Summary: Alsaplayer plugin for playing through NAS daemon
207 Summary(pl): Wtyczka do alsaplayera do odtwarzania przez demona NAS
208 Group: X11/Applications/Multimedia
209 Requires: %{name} = %{version}
211 %description output-nas
212 Alsaplayer plugin for playing sound through NAS (network audio
215 %description output-nas -l pl
216 Wtyczka do alsaplayera do odtwarzania d¼wiêku przez demona NAS
217 (network audio system).
220 Summary: Alsaplayer plugin for reading files from network
221 Summary(pl): Wtyczka do alsaplayera do odczytu plików z sieci
222 Group: X11/Applications/Multimedia
223 Requires: %{name} = %{version}
225 %description reader-curl
226 Alsaplayer plugin for reading files from network.
228 %description reader-curl -l pl
229 Wtyczka do alsaplayera do odczytu plików z sieci.
232 Summary: Alsaplayer plugin for visualization
233 Group: X11/Applications/Multimedia
234 Requires: %{name} = %{version}
236 %description scopes-gtk
237 Alsaplayer plugin for visualization.
239 %package scopes-opengl
240 Summary: Alsaplayer plugin for visualization using OpenGL
241 Group: X11/Applications/Multimedia
242 Requires: %{name} = %{version}
244 %description scopes-opengl
245 Alsaplayer plugin for visualization using OpenGL.
247 %package interface-gtk
248 Summary: GTK+ interface for Alsaplayer.
249 Group: X11/Applications/Multimedia
250 Requires: %{name} = %{version}
252 %description interface-gtk
253 GTK+ interface for Alsaplayer.
256 Summary: Library for remote control Alsaplayer.
257 Group: X11/Applications/Multimedia
258 Requires: %{name} = %{version}
261 Library for remote control Alsaplayer.
264 Summary: Library for remote control Alsaplayer - development files
265 Group: X11/Applications/Multimedia
266 Requires: %{name}-lib = %{version}
269 Library for remote control Alsaplayer - development files
282 CPPFLAGS=" -I/usr/X11R6/include"
283 LDFLAGS="%{rpmldflags} -L/usr/X11R6/lib"
284 export CPPFLAGS LDFLAGS
302 rm -rf $RPM_BUILD_ROOT
305 DESTDIR=$RPM_BUILD_ROOT \
306 pkgconfigdir=%{_pkgconfigdir}
309 rm -rf $RPM_BUILD_ROOT
312 %defattr(644,root,root,755)
313 %doc AUTHORS README ChangeLog
314 %attr(755,root,root) %{_bindir}/alsaplayer
316 %dir %{_pkglibdir}/input
317 %attr(755,root,root) %{_pkglibdir}/input/libcdda.so
318 %{_pkglibdir}/input/libcdda.la
319 %attr(755,root,root) %{_pkglibdir}/input/libwav.so
320 %{_pkglibdir}/input/libwav.la
321 %dir %{_pkglibdir}/output
322 %attr(755,root,root) %{_pkglibdir}/output/liboss_out.so
323 %{_pkglibdir}/output/liboss_out.la
324 %attr(755,root,root) %{_pkglibdir}/output/libnull_out.so
325 %{_pkglibdir}/output/libnull_out.la
327 %attr(755,root,root) %{_pkglibdir}/output/libsparc_out.so
328 %{_pkglibdir}/output/libsparc_out.la
330 %dir %{_pkglibdir}/interface
331 %attr(755,root,root) %{_pkglibdir}/interface/libtext.so
332 %{_pkglibdir}/interface/libtext.la
333 %attr(755,root,root) %{_pkglibdir}/interface/libdaemon.so
334 %{_pkglibdir}/interface/libdaemon.la
335 %dir %{_pkglibdir}/scopes
336 %dir %{_pkglibdir}/reader
337 %{_pkglibdir}/reader/libfile.la
338 %attr(755,root,root) %{_pkglibdir}/reader/libfile.so
339 %{_pkglibdir}/reader/libhttp.la
340 %attr(755,root,root) %{_pkglibdir}/reader/libhttp.so
344 %defattr(644,root,root,755)
345 %attr(755,root,root) %{_pkglibdir}/interface/libgtk.so
346 %{_pkglibdir}/interface/libgtk.la
349 %attr(755,root,root) %{_pkglibdir}/scopes/libblurscope.so
350 %{_pkglibdir}/scopes/libblurscope.la
351 %attr(755,root,root) %{_pkglibdir}/scopes/liblevelmeter.so
352 %{_pkglibdir}/scopes/liblevelmeter.la
353 %attr(755,root,root) %{_pkglibdir}/scopes/liblogbarfft.so
354 %{_pkglibdir}/scopes/liblogbarfft.la
355 %attr(755,root,root) %{_pkglibdir}/scopes/libmonoscope.so
356 %{_pkglibdir}/scopes/libmonoscope.la
357 %attr(755,root,root) %{_pkglibdir}/scopes/libspacescope.so
358 %{_pkglibdir}/scopes/libspacescope.la
359 %attr(755,root,root) %{_pkglibdir}/scopes/libsynaescope.so
360 %{_pkglibdir}/scopes/libsynaescope.la
363 %attr(755,root,root) %{_pkglibdir}/scopes/liboglspectrum.so
364 %{_pkglibdir}/scopes/liboglspectrum.la
367 %defattr(644,root,root,755)
368 %attr(755,root,root) %{_pkglibdir}/input/libmod.so
369 %{_pkglibdir}/input/libmod.la
372 %defattr(644,root,root,755)
373 %attr(755,root,root) %{_pkglibdir}/input/libvorbis_in.so
374 %{_pkglibdir}/input/libvorbis_in.la
376 %files input-audiofile
377 %defattr(644,root,root,755)
378 %attr(755,root,root) %{_pkglibdir}/input/libaf.so
379 %{_pkglibdir}/input/libaf.la
382 %attr(755,root,root) %{_pkglibdir}/input/libmad_in.so
383 %{_pkglibdir}/input/libmad_in.la
386 %defattr(644,root,root,755)
387 %attr(755,root,root) %{_pkglibdir}/output/libalsa_out.so
388 %{_pkglibdir}/output/libalsa_out.la
391 %defattr(644,root,root,755)
392 %attr(755,root,root) %{_pkglibdir}/output/libesound_out.so
393 %{_pkglibdir}/output/libesound_out.la
396 %defattr(644,root,root,755)
397 %attr(755,root,root) %{_pkglibdir}/output/libnas_out.so
398 %{_pkglibdir}/output/libnas_out.la
401 %defattr(644,root,root,755)
402 %{_pkglibdir}/reader/libcurl.la
403 %attr(755,root,root) %{_pkglibdir}/reader/libcurl.so
406 %attr(755,root,root) %{_libdir}/libalsaplayer.so.0.0.2
409 %{_includedir}/alsaplayer
410 %{_libdir}/libalsaplayer.la
411 %{_libdir}/libalsaplayer.so
412 %{_pkgconfigdir}/alsaplayer.pc