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 typu 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 sterowniki 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 sterowniki 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 system)
215 %description output-nas -l pl
216 Wtyczka do alsaplayera do odtwarzania d¼wiêku przez demona NAS
217 (network audio system).
219 #%package reader-curl
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 Summary(pl): Wtyczka do alsaplayera do wizualizacji
234 Group: X11/Applications/Multimedia
235 Requires: %{name} = %{version}
237 %description scopes-gtk
238 Alsaplayer plugin for visualization.
240 %description scopes-gtk -l pl
241 Wtyczka do alsaplayera do wizualizacji.
243 %package scopes-opengl
244 Summary: Alsaplayer plugin for visualization using OpenGL
245 Summary(pl): Wtyczka do alsaplayera do wizualizacji z u¿yciem OpenGL
246 Group: X11/Applications/Multimedia
247 Requires: %{name} = %{version}
249 %description scopes-opengl
250 Alsaplayer plugin for visualization using OpenGL.
252 %description scopes-opengl -l pl
253 Wtyczka do alsaplayera do wizualizacji z u¿yciem OpenGL.
255 %package interface-gtk
256 Summary: GTK+ interface for Alsaplayer
257 Summary(pl): Interfejs GTK+ alsaplayera
258 Group: X11/Applications/Multimedia
259 Requires: %{name} = %{version}
261 %description interface-gtk
262 GTK+ interface for Alsaplayer.
264 %description interface-gtk -l pl
265 Interfejs GTK+ alsaplayera.
268 Summary: Library for remote control Alsaplayer
269 Summary(pl): Biblioteka do zdalnego sterowania alsaplayerem
270 Group: X11/Applications/Multimedia
271 Requires: %{name} = %{version}
274 Library for remote control Alsaplayer.
276 %description lib -l pl
277 Biblioteka do zdalnego sterowania alsaplayerem.
280 Summary: Library for remote control Alsaplayer - development files
281 Summary(pl): Biblioteka do zdalnego sterowania alsaplayerem - pliki nag³ówkowe
282 Group: X11/Applications/Multimedia
283 Requires: %{name}-lib = %{version}
286 Library for remote control Alsaplayer - development files.
289 Biblioteka do zdalnego sterowania alsaplayerem - pliki nag³ówkowe.
302 CPPFLAGS=" -I/usr/X11R6/include"
303 LDFLAGS="%{rpmldflags} -L/usr/X11R6/lib"
304 export CPPFLAGS LDFLAGS
322 rm -rf $RPM_BUILD_ROOT
325 DESTDIR=$RPM_BUILD_ROOT \
326 pkgconfigdir=%{_pkgconfigdir}
329 rm -rf $RPM_BUILD_ROOT
332 %defattr(644,root,root,755)
333 %doc AUTHORS README ChangeLog
334 %attr(755,root,root) %{_bindir}/alsaplayer
336 %dir %{_pkglibdir}/input
337 %attr(755,root,root) %{_pkglibdir}/input/libcdda.so
338 %{_pkglibdir}/input/libcdda.la
339 %attr(755,root,root) %{_pkglibdir}/input/libwav.so
340 %{_pkglibdir}/input/libwav.la
341 %dir %{_pkglibdir}/output
342 %attr(755,root,root) %{_pkglibdir}/output/liboss_out.so
343 %{_pkglibdir}/output/liboss_out.la
344 %attr(755,root,root) %{_pkglibdir}/output/libnull_out.so
345 %{_pkglibdir}/output/libnull_out.la
347 %attr(755,root,root) %{_pkglibdir}/output/libsparc_out.so
348 %{_pkglibdir}/output/libsparc_out.la
350 %dir %{_pkglibdir}/interface
351 %attr(755,root,root) %{_pkglibdir}/interface/libtext.so
352 %{_pkglibdir}/interface/libtext.la
353 %attr(755,root,root) %{_pkglibdir}/interface/libdaemon.so
354 %{_pkglibdir}/interface/libdaemon.la
355 %dir %{_pkglibdir}/scopes
356 %dir %{_pkglibdir}/reader
357 %{_pkglibdir}/reader/libfile.la
358 %attr(755,root,root) %{_pkglibdir}/reader/libfile.so
359 %{_pkglibdir}/reader/libhttp.la
360 %attr(755,root,root) %{_pkglibdir}/reader/libhttp.so
364 %defattr(644,root,root,755)
365 %attr(755,root,root) %{_pkglibdir}/interface/libgtk.so
366 %{_pkglibdir}/interface/libgtk.la
369 %defattr(644,root,root,755)
370 %attr(755,root,root) %{_pkglibdir}/scopes/libblurscope.so
371 %{_pkglibdir}/scopes/libblurscope.la
372 %attr(755,root,root) %{_pkglibdir}/scopes/liblevelmeter.so
373 %{_pkglibdir}/scopes/liblevelmeter.la
374 %attr(755,root,root) %{_pkglibdir}/scopes/liblogbarfft.so
375 %{_pkglibdir}/scopes/liblogbarfft.la
376 %attr(755,root,root) %{_pkglibdir}/scopes/libmonoscope.so
377 %{_pkglibdir}/scopes/libmonoscope.la
378 %attr(755,root,root) %{_pkglibdir}/scopes/libspacescope.so
379 %{_pkglibdir}/scopes/libspacescope.la
380 %attr(755,root,root) %{_pkglibdir}/scopes/libsynaescope.so
381 %{_pkglibdir}/scopes/libsynaescope.la
384 %defattr(644,root,root,755)
385 %attr(755,root,root) %{_pkglibdir}/scopes/liboglspectrum.so
386 %{_pkglibdir}/scopes/liboglspectrum.la
389 %defattr(644,root,root,755)
390 %attr(755,root,root) %{_pkglibdir}/input/libmod.so
391 %{_pkglibdir}/input/libmod.la
394 %defattr(644,root,root,755)
395 %attr(755,root,root) %{_pkglibdir}/input/libvorbis_in.so
396 %{_pkglibdir}/input/libvorbis_in.la
398 %files input-audiofile
399 %defattr(644,root,root,755)
400 %attr(755,root,root) %{_pkglibdir}/input/libaf.so
401 %{_pkglibdir}/input/libaf.la
404 %defattr(644,root,root,755)
405 %attr(755,root,root) %{_pkglibdir}/input/libmad_in.so
406 %{_pkglibdir}/input/libmad_in.la
409 %defattr(644,root,root,755)
410 %attr(755,root,root) %{_pkglibdir}/output/libalsa_out.so
411 %{_pkglibdir}/output/libalsa_out.la
414 %defattr(644,root,root,755)
415 %attr(755,root,root) %{_pkglibdir}/output/libesound_out.so
416 %{_pkglibdir}/output/libesound_out.la
419 %defattr(644,root,root,755)
420 %attr(755,root,root) %{_pkglibdir}/output/libnas_out.so
421 %{_pkglibdir}/output/libnas_out.la
424 #%defattr(644,root,root,755)
425 #%{_pkglibdir}/reader/libcurl.la
426 #%attr(755,root,root) %{_pkglibdir}/reader/libcurl.so
429 %defattr(644,root,root,755)
430 %attr(755,root,root) %{_libdir}/libalsaplayer.so.0.0.2
433 %defattr(644,root,root,755)
434 %{_includedir}/alsaplayer
435 %{_libdir}/libalsaplayer.la
436 %{_libdir}/libalsaplayer.so
437 %{_pkgconfigdir}/alsaplayer.pc