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: esound-devel
22 BuildRequires: gtk+-devel
23 BuildRequires: libmikmod-devel
24 BuildRequires: libvorbis-devel
25 BuildRequires: mad-devel
26 BuildRequires: nas-devel
27 BuildRequires: libtool
28 BuildRequires: automake
29 BuildRequires: autoconf
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 %define _noautoreqdep libGL.so.1 libGLU.so.1
33 %define _pkglibdir %{_libdir}/%{name}
34 %define _prefix /usr/X11R6
35 %define _mandir %{_prefix}/man
38 AlsaPlayer is a new type of PCM player. It is heavily multi-threaded
39 and tries to excercise 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/Multimedia
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/Multimedia
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/Multimedia
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 typa 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/Multimedia
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 libraraies 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 drivery alsa
182 Group: X11/Applications/Multimedia
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 drivery 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/Multimedia
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/Multimedia
207 Requires: %{name} = %{version}
209 %description output-nas
210 Alsaplayer plugin for playing sound through NAS (network audio
213 %description output-nas -l pl
214 Wtyczka do alsaplayera do odtwarzania d¼wiêku przez demona NAS
215 (network audio system).
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/Multimedia
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 Group: X11/Applications/Multimedia
232 Requires: %{name} = %{version}
234 %description scopes-gtk
235 Alsaplayer plugin for visualization.
237 %package scopes-opengl
238 Summary: Alsaplayer plugin for visualization using OpenGL
239 Group: X11/Applications/Multimedia
240 Requires: %{name} = %{version}
242 %description scopes-opengl
243 Alsaplayer plugin for visualization using OpenGL.
245 %package interface-gtk
246 Summary: GTK+ interface for Alsaplayer.
247 Group: X11/Applications/Multimedia
248 Requires: %{name} = %{version}
250 %description interface-gtk
251 GTK+ interface for Alsaplayer.
254 Summary: Library for remote control Alsaplayer.
255 Group: X11/Applications/Multimedia
256 Requires: %{name} = %{version}
259 Library for remote control Alsaplayer.
262 Summary: Library for remote control Alsaplayer - development files
263 Group: X11/Applications/Multimedia
264 Requires: %{name}-lib = %{version}
267 Library for remote control Alsaplayer - development files
280 CPPFLAGS=" -I/usr/X11R6/include"
281 LDFLAGS="%{rpmldflags} -L/usr/X11R6/lib"
282 export CPPFLAGS LDFLAGS
300 rm -rf $RPM_BUILD_ROOT
303 DESTDIR=$RPM_BUILD_ROOT \
304 pkgconfigdir=%{_pkgconfigdir}
307 rm -rf $RPM_BUILD_ROOT
310 %defattr(644,root,root,755)
311 %doc AUTHORS README ChangeLog
312 %attr(755,root,root) %{_bindir}/alsaplayer
314 %dir %{_pkglibdir}/input
315 %attr(755,root,root) %{_pkglibdir}/input/libcdda.so
316 %{_pkglibdir}/input/libcdda.la
317 %attr(755,root,root) %{_pkglibdir}/input/libwav.so
318 %{_pkglibdir}/input/libwav.la
319 %dir %{_pkglibdir}/output
320 %attr(755,root,root) %{_pkglibdir}/output/liboss_out.so
321 %{_pkglibdir}/output/liboss_out.la
322 %attr(755,root,root) %{_pkglibdir}/output/libnull_out.so
323 %{_pkglibdir}/output/libnull_out.la
325 %attr(755,root,root) %{_pkglibdir}/output/libsparc_out.so
326 %{_pkglibdir}/output/libsparc_out.la
328 %dir %{_pkglibdir}/interface
329 %attr(755,root,root) %{_pkglibdir}/interface/libtext.so
330 %{_pkglibdir}/interface/libtext.la
331 %attr(755,root,root) %{_pkglibdir}/interface/libdaemon.so
332 %{_pkglibdir}/interface/libdaemon.la
333 %dir %{_pkglibdir}/scopes
334 %dir %{_pkglibdir}/reader
335 %{_pkglibdir}/reader/libfile.la
336 %attr(755,root,root) %{_pkglibdir}/reader/libfile.so
337 %{_pkglibdir}/reader/libhttp.la
338 %attr(755,root,root) %{_pkglibdir}/reader/libhttp.so
342 %defattr(644,root,root,755)
343 %attr(755,root,root) %{_pkglibdir}/interface/libgtk.so
344 %{_pkglibdir}/interface/libgtk.la
347 %attr(755,root,root) %{_pkglibdir}/scopes/libblurscope.so
348 %{_pkglibdir}/scopes/libblurscope.la
349 %attr(755,root,root) %{_pkglibdir}/scopes/liblevelmeter.so
350 %{_pkglibdir}/scopes/liblevelmeter.la
351 %attr(755,root,root) %{_pkglibdir}/scopes/liblogbarfft.so
352 %{_pkglibdir}/scopes/liblogbarfft.la
353 %attr(755,root,root) %{_pkglibdir}/scopes/libmonoscope.so
354 %{_pkglibdir}/scopes/libmonoscope.la
355 %attr(755,root,root) %{_pkglibdir}/scopes/libspacescope.so
356 %{_pkglibdir}/scopes/libspacescope.la
357 %attr(755,root,root) %{_pkglibdir}/scopes/libsynaescope.so
358 %{_pkglibdir}/scopes/libsynaescope.la
361 %attr(755,root,root) %{_pkglibdir}/scopes/liboglspectrum.so
362 %{_pkglibdir}/scopes/liboglspectrum.la
365 %defattr(644,root,root,755)
366 %attr(755,root,root) %{_pkglibdir}/input/libmod.so
367 %{_pkglibdir}/input/libmod.la
370 %defattr(644,root,root,755)
371 %attr(755,root,root) %{_pkglibdir}/input/libvorbis_in.so
372 %{_pkglibdir}/input/libvorbis_in.la
374 %files input-audiofile
375 %defattr(644,root,root,755)
376 %attr(755,root,root) %{_pkglibdir}/input/libaf.so
377 %{_pkglibdir}/input/libaf.la
380 %attr(755,root,root) %{_pkglibdir}/input/libmad_in.so
381 %{_pkglibdir}/input/libmad_in.la
384 %defattr(644,root,root,755)
385 %attr(755,root,root) %{_pkglibdir}/output/libalsa_out.so
386 %{_pkglibdir}/output/libalsa_out.la
389 %defattr(644,root,root,755)
390 %attr(755,root,root) %{_pkglibdir}/output/libesound_out.so
391 %{_pkglibdir}/output/libesound_out.la
394 %defattr(644,root,root,755)
395 %attr(755,root,root) %{_pkglibdir}/output/libnas_out.so
396 %{_pkglibdir}/output/libnas_out.la
399 %defattr(644,root,root,755)
400 %{_pkglibdir}/reader/libcurl.la
401 %attr(755,root,root) %{_pkglibdir}/reader/libcurl.so
404 %attr(755,root,root) %{_libdir}/libalsaplayer.so.0.0.2
407 %{_includedir}/alsaplayer
408 %{_libdir}/libalsaplayer.la
409 %{_libdir}/libalsaplayer.so
410 %{_pkgconfigdir}/alsaplayer.pc