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 Patch1: %{name}-docs.patch
18 BuildRequires: alsa-lib-devel
19 BuildRequires: audiofile-devel
20 BuildRequires: autoconf
21 BuildRequires: automake
22 BuildRequires: esound-devel
23 BuildRequires: gtk+-devel
24 BuildRequires: libmikmod-devel
25 BuildRequires: libtool
26 BuildRequires: libvorbis-devel >= 1:1.0
27 BuildRequires: mad-devel
28 BuildRequires: nas-devel
29 BuildRequires: OpenGL-devel
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 %define _noautoreqdep libGL.so.1 libGLU.so.1
33 %define _pkglibdir %{_libdir}/%{name}
36 AlsaPlayer is a new type of PCM player. It is heavily multi-threaded
37 and tries to exercise the ALSA library and driver quite a bit.
42 - Ogg Vorbis support (subpackage)
43 - WAV support, 8-, 16-bit, mono, stereo, any sample rate
44 - CDDA support, CD Digital Audio playback! and thus USB ready :)
45 - Also plays files mapped by audiofs (CDDA)
47 - Module support (mikmod) (subpcakage)
50 - ALSA. Best supported of course :) (subpackage)
51 - OSS. Kernel native sound drivers
52 - Sparc. UltraSparc sound drivers
53 - SGI. SGI audio library driver
54 - ESD. Enlightened sound daemon support (subpackage)
55 - NAS. Network Audio System (subpakcage)
65 - More being developed...
68 - Full speed (pitch) control, positive *and* negative! (First Linux
69 player that does this!! MP3's and CD's do varispeed :)
70 - Queue (playlist) support
71 - Concurrent visual scopes (open as many as you want)
72 - Multi-threaded design for efficient/skip free playback (RT)
73 - GUI Interface based on gtk+
74 - NOGUI operation for shell script usage
75 - Plug-in core architecture
76 - Low latency mode, as low as 5ms when scheduled RT
78 - Software based volume/pan control
79 - Accurate scope/audio syncing using ALSA features
80 - Portable (well, we'll see about that :)
84 AlsaPlayer to nowy rodzaj odtwarzacza PCM. Jest wielow±tkowy i próbuje
85 solidnie przeæwiczyæ sterowniki i bibliotekê ALSA. Jego cechy to:
89 - obs³uga Ogg Vorbis (w podpakiecie)
90 - obs³uga WAV, 8 i 16-bitowych, mono, stereo, dowolna czêstotliwo¶æ
91 - obs³uga CD Digital Audio
92 - odtwarzanie plików podmapowanych przez audiofs (CDDA)
93 - obs³uga MAD - MPEG Audio
94 - obs³uga modu³ów (mikmod) (w podpakiecie)
97 - OSS - natywne sterowniki z j±dra
98 - ALSA - oczywi¶cie najlepiej obs³ugiwana :) (w podpakiecie)
99 - Sparc - sterowniki d¼wiêku dla UltraSparca
100 - SGI - biblioteka sterowników d¼wiêku SGI
101 - ESD - obs³uga O¶wieconego demona d¼wiêku (w podpakiecie)
102 - NAS - Sieciowego Systemu Audio (w podpakiecie)
108 - Wska¼nik poziomu d¼wiêku
109 - inne, wkrótce wiêcej...
112 - Kontrola szybko¶ci (w obie strony)
113 - obs³uga kolejki (playlisty)
114 - obs³uga wielu wska¼ników naraz
116 - interfejs graficzny bazuj±cy na gtk+
117 - operacje bez GUI na potrzeby skryptów
118 - architektura wtyczek
119 - programowa kontrola g³o¶no¶ci i balansu
120 - synchronizacja d¼wiêku i wska¼ników przy u¿yciu mo¿liwo¶ci ALSA
122 %package input-mikmod
123 Summary: Alsaplayer plugin for playing mod files
124 Summary(pl): Wtyczka do alsaplayera do odtwarzania plików mod
125 Group: X11/Applications/Sound
126 Requires: %{name} = %{version}
128 %description input-mikmod
129 Alsaplayer plugin for playing mod files.
131 %description input-mikmod -l pl
132 Wtyczka do alsaplayera do odtwarzania plików mod.
134 %package input-vorbis
135 Summary: Alsaplayer plugin for playing ogg/vorbis files
136 Summary(pl): Wtyczka do alsaplayera do odtwarzania plików ogg/vorbis
137 Group: X11/Applications/Sound
138 Requires: %{name} = %{version}
140 %description input-vorbis
141 Alsaplayer plugin for playing ogg/vorbis files.
143 %description input-vorbis -l pl
144 Wtyczka do alsaplayera do odtwarzania plików ogg/vorbis.
146 %package input-audiofile
147 Summary: Alsaplayer plugin for playing wave audio formats
148 Summary(pl): Wtyczka do alsaplayera do odtwarzania plików audio typu wave
149 Group: X11/Applications/Sound
150 Requires: %{name} = %{version}
152 %description input-audiofile
153 Alsaplayer plugin for playing wave audio formats (like AIFF, AIFC,
156 %description input-audiofile -l pl
157 Wtyczka do alsaplayera do odtwarzania plików audio typu wave (AIFF,
161 Summary: Alsaplayer plugin for playing MP3 files using MAD
162 Summary(pl): Wtyczka do alsaplayera do odtwarzania plików MP3 przy pomocy MAD
163 Group: X11/Applications/Sound
164 Requires: %{name} = %{version}
166 %description input-mad
167 Alsaplayer plugin for playing MP3 files using MAD.
169 %description input-mad -l pl
170 Wtyczka do alsaplayera do odtwarzania plików MP3 przy pomocy MAD.
173 # this plugin come in two versions, for alsa 0.5.x and 0.9.x
174 # but this libraries provide different .so number, so the
175 # version built will work only with correct alsa-lib version,
176 # what we do want :-)
178 Summary: Alsaplayer plugin for playing through alsa drivers
179 Summary(pl): Wtyczka do alsaplayera do odtwarzania przez sterowniki alsa
180 Group: X11/Applications/Sound
181 Requires: %{name} = %{version}
183 %description output-alsa
184 Alsaplayer plugin for playing sound through alsa drivers.
186 %description output-alsa -l pl
187 Wtyczka do alsaplayera do odtwarzania d¼wiêku przez sterowniki alsa.
189 %package output-esound
190 Summary: Alsaplayer plugin for playing through esound daemon
191 Summary(pl): Wtyczka do alsaplayera do odtwarzania przez demona esound
192 Group: X11/Applications/Sound
193 Requires: %{name} = %{version}
195 %description output-esound
196 Alsaplayer plugin for playing sound through esound daemon.
198 %description output-esound -l pl
199 Wtyczka do alsaplayera do odtwarzania d¼wiêku przez demona esound.
202 Summary: Alsaplayer plugin for playing through NAS daemon
203 Summary(pl): Wtyczka do alsaplayera do odtwarzania przez demona NAS
204 Group: X11/Applications/Sound
205 Requires: %{name} = %{version}
207 %description output-nas
208 Alsaplayer plugin for playing sound through NAS (network audio system)
211 %description output-nas -l pl
212 Wtyczka do alsaplayera do odtwarzania d¼wiêku przez demona NAS
213 (network audio system).
215 #%package reader-curl
216 #Summary: Alsaplayer plugin for reading files from network
217 #Summary(pl): Wtyczka do alsaplayera do odczytu plików z sieci
218 #Group: X11/Applications/Sound
219 #Requires: %{name} = %{version}
221 #%description reader-curl
222 #Alsaplayer plugin for reading files from network.
224 #%description reader-curl -l pl
225 #Wtyczka do alsaplayera do odczytu plików z sieci.
228 Summary: Alsaplayer plugin for visualization
229 Summary(pl): Wtyczka do alsaplayera do wizualizacji
230 Group: X11/Applications/Multimedia
231 Requires: %{name} = %{version}
233 %description scopes-gtk
234 Alsaplayer plugin for visualization.
236 %description scopes-gtk -l pl
237 Wtyczka do alsaplayera do wizualizacji.
239 %package scopes-opengl
240 Summary: Alsaplayer plugin for visualization using OpenGL
241 Summary(pl): Wtyczka do alsaplayera do wizualizacji z u¿yciem OpenGL
242 Group: X11/Applications/Multimedia
243 Requires: %{name} = %{version}
245 %description scopes-opengl
246 Alsaplayer plugin for visualization using OpenGL.
248 %description scopes-opengl -l pl
249 Wtyczka do alsaplayera do wizualizacji z u¿yciem OpenGL.
251 %package interface-gtk
252 Summary: GTK+ interface for Alsaplayer
253 Summary(pl): Interfejs GTK+ alsaplayera
254 Group: X11/Applications/Sound
255 Requires: %{name} = %{version}
257 %description interface-gtk
258 GTK+ interface for Alsaplayer.
260 %description interface-gtk -l pl
261 Interfejs GTK+ alsaplayera.
264 Summary: Library for remote control Alsaplayer
265 Summary(pl): Biblioteka do zdalnego sterowania alsaplayerem
266 Group: X11/Applications/Sound
267 Requires: %{name} = %{version}
270 Library for remote control Alsaplayer.
272 %description lib -l pl
273 Biblioteka do zdalnego sterowania alsaplayerem.
276 Summary: Library for remote control Alsaplayer - development files
277 Summary(pl): Biblioteka do zdalnego sterowania alsaplayerem - pliki nag³ówkowe
278 Group: X11/Applications/Sound
279 Requires: %{name}-lib = %{version}
282 Library for remote control Alsaplayer - development files.
285 Biblioteka do zdalnego sterowania alsaplayerem - pliki nag³ówkowe.
297 CPPFLAGS=" -I/usr/X11R6/include"
298 LDFLAGS="%{rpmldflags} -L/usr/X11R6/lib"
299 export CPPFLAGS LDFLAGS
317 rm -rf $RPM_BUILD_ROOT
320 DESTDIR=$RPM_BUILD_ROOT \
321 pkgconfigdir=%{_pkgconfigdir}
324 rm -rf $RPM_BUILD_ROOT
327 %defattr(644,root,root,755)
328 %doc AUTHORS README ChangeLog
329 %attr(755,root,root) %{_bindir}/alsaplayer
331 %dir %{_pkglibdir}/input
332 %attr(755,root,root) %{_pkglibdir}/input/libcdda.so
333 %{_pkglibdir}/input/libcdda.la
334 %attr(755,root,root) %{_pkglibdir}/input/libwav.so
335 %{_pkglibdir}/input/libwav.la
336 %dir %{_pkglibdir}/output
337 %attr(755,root,root) %{_pkglibdir}/output/liboss_out.so
338 %{_pkglibdir}/output/liboss_out.la
339 %attr(755,root,root) %{_pkglibdir}/output/libnull_out.so
340 %{_pkglibdir}/output/libnull_out.la
342 %attr(755,root,root) %{_pkglibdir}/output/libsparc_out.so
343 %{_pkglibdir}/output/libsparc_out.la
345 %dir %{_pkglibdir}/interface
346 %attr(755,root,root) %{_pkglibdir}/interface/libtext.so
347 %{_pkglibdir}/interface/libtext.la
348 %attr(755,root,root) %{_pkglibdir}/interface/libdaemon.so
349 %{_pkglibdir}/interface/libdaemon.la
350 %dir %{_pkglibdir}/scopes
351 %dir %{_pkglibdir}/reader
352 %{_pkglibdir}/reader/libfile.la
353 %attr(755,root,root) %{_pkglibdir}/reader/libfile.so
354 %{_pkglibdir}/reader/libhttp.la
355 %attr(755,root,root) %{_pkglibdir}/reader/libhttp.so
359 %defattr(644,root,root,755)
360 %attr(755,root,root) %{_pkglibdir}/interface/libgtk.so
361 %{_pkglibdir}/interface/libgtk.la
364 %defattr(644,root,root,755)
365 %attr(755,root,root) %{_pkglibdir}/scopes/libblurscope.so
366 %{_pkglibdir}/scopes/libblurscope.la
367 %attr(755,root,root) %{_pkglibdir}/scopes/liblevelmeter.so
368 %{_pkglibdir}/scopes/liblevelmeter.la
369 %attr(755,root,root) %{_pkglibdir}/scopes/liblogbarfft.so
370 %{_pkglibdir}/scopes/liblogbarfft.la
371 %attr(755,root,root) %{_pkglibdir}/scopes/libmonoscope.so
372 %{_pkglibdir}/scopes/libmonoscope.la
373 %attr(755,root,root) %{_pkglibdir}/scopes/libspacescope.so
374 %{_pkglibdir}/scopes/libspacescope.la
375 %attr(755,root,root) %{_pkglibdir}/scopes/libsynaescope.so
376 %{_pkglibdir}/scopes/libsynaescope.la
379 %defattr(644,root,root,755)
380 %attr(755,root,root) %{_pkglibdir}/scopes/liboglspectrum.so
381 %{_pkglibdir}/scopes/liboglspectrum.la
384 %defattr(644,root,root,755)
385 %attr(755,root,root) %{_pkglibdir}/input/libmod.so
386 %{_pkglibdir}/input/libmod.la
389 %defattr(644,root,root,755)
390 %attr(755,root,root) %{_pkglibdir}/input/libvorbis_in.so
391 %{_pkglibdir}/input/libvorbis_in.la
393 %files input-audiofile
394 %defattr(644,root,root,755)
395 %attr(755,root,root) %{_pkglibdir}/input/libaf.so
396 %{_pkglibdir}/input/libaf.la
399 %defattr(644,root,root,755)
400 %attr(755,root,root) %{_pkglibdir}/input/libmad_in.so
401 %{_pkglibdir}/input/libmad_in.la
404 %defattr(644,root,root,755)
405 %attr(755,root,root) %{_pkglibdir}/output/libalsa_out.so
406 %{_pkglibdir}/output/libalsa_out.la
409 %defattr(644,root,root,755)
410 %attr(755,root,root) %{_pkglibdir}/output/libesound_out.so
411 %{_pkglibdir}/output/libesound_out.la
414 %defattr(644,root,root,755)
415 %attr(755,root,root) %{_pkglibdir}/output/libnas_out.so
416 %{_pkglibdir}/output/libnas_out.la
419 #%defattr(644,root,root,755)
420 #%%{_pkglibdir}/reader/libcurl.la
421 #%attr(755,root,root) %{_pkglibdir}/reader/libcurl.so
424 %defattr(644,root,root,755)
425 %attr(755,root,root) %{_libdir}/libalsaplayer.so.0.0.2
428 %defattr(644,root,root,755)
429 %{_includedir}/alsaplayer
430 %{_libdir}/libalsaplayer.la
431 %{_libdir}/libalsaplayer.so
432 %{_pkgconfigdir}/alsaplayer.pc