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/Sound
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}
38 AlsaPlayer is a new type of PCM player. It is heavily multi-threaded
39 and tries to exercise the ALSA library and driver quite a bit.
44 - Ogg Vorbis support (subpackage)
45 - WAV support, 8-, 16-bit, mono, stereo, any sample rate
46 - CDDA support, CD Digital Audio playback! and thus USB ready :)
47 - Also plays files mapped by audiofs (CDDA)
49 - Module support (mikmod) (subpcakage)
52 - ALSA. Best supported of course :) (subpackage)
53 - OSS. Kernel native sound drivers
54 - Sparc. UltraSparc sound drivers
55 - SGI. SGI audio library driver
56 - ESD. Enlightened sound daemon support (subpackage)
57 - NAS. Network Audio System (subpakcage)
67 - More being developed...
70 - Full speed (pitch) control, positive *and* negative! (First Linux
71 player that does this!! MP3's and CD's do varispeed :)
72 - Queue (playlist) support
73 - Concurrent visual scopes (open as many as you want)
74 - Multi-threaded design for efficient/skip free playback (RT)
75 - GUI Interface based on gtk+
76 - NOGUI operation for shell script usage
77 - Plug-in core architecture
78 - Low latency mode, as low as 5ms when scheduled RT
80 - Software based volume/pan control
81 - Accurate scope/audio syncing using ALSA features
82 - Portable (well, we'll see about that :)
86 AlsaPlayer to nowy rodzaj odtwarzacza PCM. Jest wielow±tkowy i próbuje
87 solidnie przeæwiczyæ sterowniki i bibliotekê ALSA. Jego cechy to:
91 - obs³uga Ogg Vorbis (w podpakiecie)
92 - obs³uga WAV, 8 i 16-bitowych, mono, stereo, dowolna czêstotliwo¶æ
93 - obs³uga CD Digital Audio
94 - odtwarzanie plików podmapowanych przez audiofs (CDDA)
95 - obs³uga MAD - MPEG Audio
96 - obs³uga modu³ów (mikmod) (w podpakiecie)
99 - OSS - natywne sterowniki z j±dra
100 - ALSA - oczywi¶cie najlepiej obs³ugiwana :) (w podpakiecie)
101 - Sparc - sterowniki d¼wiêku dla UltraSparca
102 - SGI - biblioteka sterowników d¼wiêku SGI
103 - ESD - obs³uga O¶wieconego demona d¼wiêku (w podpakiecie)
104 - NAS - Sieciowego Systemu Audio (w podpakiecie)
110 - Wska¼nik poziomu d¼wiêku
111 - inne, wkrótce wiêcej...
114 - Kontrola szybko¶ci (w obie strony)
115 - obs³uga kolejki (playlisty)
116 - obs³uga wielu wska¼ników naraz
118 - interfejs graficzny bazuj±cy na gtk+
119 - operacje bez GUI na potrzeby skryptów
120 - architektura wtyczek
121 - programowa kontrola g³o¶no¶ci i balansu
122 - synchronizacja d¼wiêku i wska¼ników przy u¿yciu mo¿liwo¶ci ALSA
124 %package input-mikmod
125 Summary: Alsaplayer plugin for playing mod files
126 Summary(pl): Wtyczka do alsaplayera do odtwarzania plików mod
127 Group: X11/Applications/Sound
128 Requires: %{name} = %{version}
130 %description input-mikmod
131 Alsaplayer plugin for playing mod files.
133 %description input-mikmod -l pl
134 Wtyczka do alsaplayera do odtwarzania plików mod.
136 %package input-vorbis
137 Summary: Alsaplayer plugin for playing ogg/vorbis files
138 Summary(pl): Wtyczka do alsaplayera do odtwarzania plików ogg/vorbis
139 Group: X11/Applications/Sound
140 Requires: %{name} = %{version}
142 %description input-vorbis
143 Alsaplayer plugin for playing ogg/vorbis files.
145 %description input-vorbis -l pl
146 Wtyczka do alsaplayera do odtwarzania plików ogg/vorbis.
148 %package input-audiofile
149 Summary: Alsaplayer plugin for playing wave audio formats
150 Summary(pl): Wtyczka do alsaplayera do odtwarzania plików audio typu wave
151 Group: X11/Applications/Sound
152 Requires: %{name} = %{version}
154 %description input-audiofile
155 Alsaplayer plugin for playing wave audio formats (like AIFF, AIFC,
158 %description input-audiofile -l pl
159 Wtyczka do alsaplayera do odtwarzania plików audio typu wave (AIFF,
163 Summary: Alsaplayer plugin for playing MP3 files using MAD
164 Summary(pl): Wtyczka do alsaplayera do odtwarzania plików MP3 przy pomocy MAD
165 Group: X11/Applications/Sound
166 Requires: %{name} = %{version}
168 %description input-mad
169 Alsaplayer plugin for playing MP3 files using MAD.
171 %description input-mad -l pl
172 Wtyczka do alsaplayera do odtwarzania plików MP3 przy pomocy MAD.
175 # this plugin come in two versions, for alsa 0.5.x and 0.9.x
176 # but this libraries provide different .so number, so the
177 # version built will work only with correct alsa-lib version,
178 # what we do want :-)
180 Summary: Alsaplayer plugin for playing through alsa drivers
181 Summary(pl): Wtyczka do alsaplayera do odtwarzania przez sterowniki alsa
182 Group: X11/Applications/Sound
183 Requires: %{name} = %{version}
185 %description output-alsa
186 Alsaplayer plugin for playing sound through alsa drivers.
188 %description output-alsa -l pl
189 Wtyczka do alsaplayera do odtwarzania d¼wiêku przez sterowniki alsa.
191 %package output-esound
192 Summary: Alsaplayer plugin for playing through esound daemon
193 Summary(pl): Wtyczka do alsaplayera do odtwarzania przez demona esound
194 Group: X11/Applications/Sound
195 Requires: %{name} = %{version}
197 %description output-esound
198 Alsaplayer plugin for playing sound through esound daemon.
200 %description output-esound -l pl
201 Wtyczka do alsaplayera do odtwarzania d¼wiêku przez demona esound.
204 Summary: Alsaplayer plugin for playing through NAS daemon
205 Summary(pl): Wtyczka do alsaplayera do odtwarzania przez demona NAS
206 Group: X11/Applications/Sound
207 Requires: %{name} = %{version}
209 %description output-nas
210 Alsaplayer plugin for playing sound through NAS (network audio system)
213 %description output-nas -l pl
214 Wtyczka do alsaplayera do odtwarzania d¼wiêku przez demona NAS
215 (network audio system).
217 #%package reader-curl
218 #Summary: Alsaplayer plugin for reading files from network
219 #Summary(pl): Wtyczka do alsaplayera do odczytu plików z sieci
220 #Group: X11/Applications/Sound
221 #Requires: %{name} = %{version}
223 #%description reader-curl
224 #Alsaplayer plugin for reading files from network.
226 #%description reader-curl -l pl
227 #Wtyczka do alsaplayera do odczytu plików z sieci.
230 Summary: Alsaplayer plugin for visualization
231 Summary(pl): Wtyczka do alsaplayera do wizualizacji
232 Group: X11/Applications/Multimedia
233 Requires: %{name} = %{version}
235 %description scopes-gtk
236 Alsaplayer plugin for visualization.
238 %description scopes-gtk -l pl
239 Wtyczka do alsaplayera do wizualizacji.
241 %package scopes-opengl
242 Summary: Alsaplayer plugin for visualization using OpenGL
243 Summary(pl): Wtyczka do alsaplayera do wizualizacji z u¿yciem OpenGL
244 Group: X11/Applications/Multimedia
245 Requires: %{name} = %{version}
247 %description scopes-opengl
248 Alsaplayer plugin for visualization using OpenGL.
250 %description scopes-opengl -l pl
251 Wtyczka do alsaplayera do wizualizacji z u¿yciem OpenGL.
253 %package interface-gtk
254 Summary: GTK+ interface for Alsaplayer
255 Summary(pl): Interfejs GTK+ alsaplayera
256 Group: X11/Applications/Sound
257 Requires: %{name} = %{version}
259 %description interface-gtk
260 GTK+ interface for Alsaplayer.
262 %description interface-gtk -l pl
263 Interfejs GTK+ alsaplayera.
266 Summary: Library for remote control Alsaplayer
267 Summary(pl): Biblioteka do zdalnego sterowania alsaplayerem
268 Group: X11/Applications/Sound
269 Requires: %{name} = %{version}
272 Library for remote control Alsaplayer.
274 %description lib -l pl
275 Biblioteka do zdalnego sterowania alsaplayerem.
278 Summary: Library for remote control Alsaplayer - development files
279 Summary(pl): Biblioteka do zdalnego sterowania alsaplayerem - pliki nag³ówkowe
280 Group: X11/Applications/Sound
281 Requires: %{name}-lib = %{version}
284 Library for remote control Alsaplayer - development files.
287 Biblioteka do zdalnego sterowania alsaplayerem - pliki nag³ówkowe.
300 CPPFLAGS=" -I/usr/X11R6/include"
301 LDFLAGS="%{rpmldflags} -L/usr/X11R6/lib"
302 export CPPFLAGS LDFLAGS
320 rm -rf $RPM_BUILD_ROOT
323 DESTDIR=$RPM_BUILD_ROOT \
324 pkgconfigdir=%{_pkgconfigdir}
327 rm -rf $RPM_BUILD_ROOT
330 %defattr(644,root,root,755)
331 %doc AUTHORS README ChangeLog
332 %attr(755,root,root) %{_bindir}/alsaplayer
334 %dir %{_pkglibdir}/input
335 %attr(755,root,root) %{_pkglibdir}/input/libcdda.so
336 %{_pkglibdir}/input/libcdda.la
337 %attr(755,root,root) %{_pkglibdir}/input/libwav.so
338 %{_pkglibdir}/input/libwav.la
339 %dir %{_pkglibdir}/output
340 %attr(755,root,root) %{_pkglibdir}/output/liboss_out.so
341 %{_pkglibdir}/output/liboss_out.la
342 %attr(755,root,root) %{_pkglibdir}/output/libnull_out.so
343 %{_pkglibdir}/output/libnull_out.la
345 %attr(755,root,root) %{_pkglibdir}/output/libsparc_out.so
346 %{_pkglibdir}/output/libsparc_out.la
348 %dir %{_pkglibdir}/interface
349 %attr(755,root,root) %{_pkglibdir}/interface/libtext.so
350 %{_pkglibdir}/interface/libtext.la
351 %attr(755,root,root) %{_pkglibdir}/interface/libdaemon.so
352 %{_pkglibdir}/interface/libdaemon.la
353 %dir %{_pkglibdir}/scopes
354 %dir %{_pkglibdir}/reader
355 %{_pkglibdir}/reader/libfile.la
356 %attr(755,root,root) %{_pkglibdir}/reader/libfile.so
357 %{_pkglibdir}/reader/libhttp.la
358 %attr(755,root,root) %{_pkglibdir}/reader/libhttp.so
362 %defattr(644,root,root,755)
363 %attr(755,root,root) %{_pkglibdir}/interface/libgtk.so
364 %{_pkglibdir}/interface/libgtk.la
367 %defattr(644,root,root,755)
368 %attr(755,root,root) %{_pkglibdir}/scopes/libblurscope.so
369 %{_pkglibdir}/scopes/libblurscope.la
370 %attr(755,root,root) %{_pkglibdir}/scopes/liblevelmeter.so
371 %{_pkglibdir}/scopes/liblevelmeter.la
372 %attr(755,root,root) %{_pkglibdir}/scopes/liblogbarfft.so
373 %{_pkglibdir}/scopes/liblogbarfft.la
374 %attr(755,root,root) %{_pkglibdir}/scopes/libmonoscope.so
375 %{_pkglibdir}/scopes/libmonoscope.la
376 %attr(755,root,root) %{_pkglibdir}/scopes/libspacescope.so
377 %{_pkglibdir}/scopes/libspacescope.la
378 %attr(755,root,root) %{_pkglibdir}/scopes/libsynaescope.so
379 %{_pkglibdir}/scopes/libsynaescope.la
382 %defattr(644,root,root,755)
383 %attr(755,root,root) %{_pkglibdir}/scopes/liboglspectrum.so
384 %{_pkglibdir}/scopes/liboglspectrum.la
387 %defattr(644,root,root,755)
388 %attr(755,root,root) %{_pkglibdir}/input/libmod.so
389 %{_pkglibdir}/input/libmod.la
392 %defattr(644,root,root,755)
393 %attr(755,root,root) %{_pkglibdir}/input/libvorbis_in.so
394 %{_pkglibdir}/input/libvorbis_in.la
396 %files input-audiofile
397 %defattr(644,root,root,755)
398 %attr(755,root,root) %{_pkglibdir}/input/libaf.so
399 %{_pkglibdir}/input/libaf.la
402 %defattr(644,root,root,755)
403 %attr(755,root,root) %{_pkglibdir}/input/libmad_in.so
404 %{_pkglibdir}/input/libmad_in.la
407 %defattr(644,root,root,755)
408 %attr(755,root,root) %{_pkglibdir}/output/libalsa_out.so
409 %{_pkglibdir}/output/libalsa_out.la
412 %defattr(644,root,root,755)
413 %attr(755,root,root) %{_pkglibdir}/output/libesound_out.so
414 %{_pkglibdir}/output/libesound_out.la
417 %defattr(644,root,root,755)
418 %attr(755,root,root) %{_pkglibdir}/output/libnas_out.so
419 %{_pkglibdir}/output/libnas_out.la
422 #%defattr(644,root,root,755)
423 #%{_pkglibdir}/reader/libcurl.la
424 #%attr(755,root,root) %{_pkglibdir}/reader/libcurl.so
427 %defattr(644,root,root,755)
428 %attr(755,root,root) %{_libdir}/libalsaplayer.so.0.0.2
431 %defattr(644,root,root,755)
432 %{_includedir}/alsaplayer
433 %{_libdir}/libalsaplayer.la
434 %{_libdir}/libalsaplayer.so
435 %{_pkgconfigdir}/alsaplayer.pc