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 # Source0-md5: a13993ee322698b57c5311f4fb09d310
18 Patch1: %{name}-docs.patch
19 BuildRequires: alsa-lib-devel
20 BuildRequires: audiofile-devel
21 BuildRequires: autoconf
22 BuildRequires: automake
23 BuildRequires: esound-devel
24 BuildRequires: gtk+-devel
25 BuildRequires: libmikmod-devel
26 BuildRequires: libtool
27 BuildRequires: libvorbis-devel >= 1:1.0
28 BuildRequires: mad-devel
29 BuildRequires: nas-devel
30 BuildRequires: OpenGL-devel
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 %define _noautoreqdep libGL.so.1 libGLU.so.1
34 %define _pkglibdir %{_libdir}/%{name}
37 AlsaPlayer is a new type of PCM player. It is heavily multi-threaded
38 and tries to exercise the ALSA library and driver quite a bit.
43 - Ogg Vorbis support (subpackage)
44 - WAV support, 8-, 16-bit, mono, stereo, any sample rate
45 - CDDA support, CD Digital Audio playback! and thus USB ready :)
46 - Also plays files mapped by audiofs (CDDA)
48 - Module support (mikmod) (subpcakage)
51 - ALSA. Best supported of course :) (subpackage)
52 - OSS. Kernel native sound drivers
53 - Sparc. UltraSparc sound drivers
54 - SGI. SGI audio library driver
55 - ESD. Enlightened sound daemon support (subpackage)
56 - NAS. Network Audio System (subpakcage)
66 - More being developed...
69 - Full speed (pitch) control, positive *and* negative! (First Linux
70 player that does this!! MP3's and CD's do varispeed :)
71 - Queue (playlist) support
72 - Concurrent visual scopes (open as many as you want)
73 - Multi-threaded design for efficient/skip free playback (RT)
74 - GUI Interface based on gtk+
75 - NOGUI operation for shell script usage
76 - Plug-in core architecture
77 - Low latency mode, as low as 5ms when scheduled RT
79 - Software based volume/pan control
80 - Accurate scope/audio syncing using ALSA features
81 - Portable (well, we'll see about that :)
85 AlsaPlayer to nowy rodzaj odtwarzacza PCM. Jest wielow±tkowy i próbuje
86 solidnie przeæwiczyæ sterowniki i bibliotekê ALSA. Jego cechy to:
90 - obs³uga Ogg Vorbis (w podpakiecie)
91 - obs³uga WAV, 8 i 16-bitowych, mono, stereo, dowolna czêstotliwo¶æ
92 - obs³uga CD Digital Audio
93 - odtwarzanie plików podmapowanych przez audiofs (CDDA)
94 - obs³uga MAD - MPEG Audio
95 - obs³uga modu³ów (mikmod) (w podpakiecie)
98 - OSS - natywne sterowniki z j±dra
99 - ALSA - oczywi¶cie najlepiej obs³ugiwana :) (w podpakiecie)
100 - Sparc - sterowniki d¼wiêku dla UltraSparca
101 - SGI - biblioteka sterowników d¼wiêku SGI
102 - ESD - obs³uga O¶wieconego demona d¼wiêku (w podpakiecie)
103 - NAS - Sieciowego Systemu Audio (w podpakiecie)
109 - Wska¼nik poziomu d¼wiêku
110 - inne, wkrótce wiêcej...
113 - Kontrola szybko¶ci (w obie strony)
114 - obs³uga kolejki (playlisty)
115 - obs³uga wielu wska¼ników naraz
117 - interfejs graficzny bazuj±cy na gtk+
118 - operacje bez GUI na potrzeby skryptów
119 - architektura wtyczek
120 - programowa kontrola g³o¶no¶ci i balansu
121 - synchronizacja d¼wiêku i wska¼ników przy u¿yciu mo¿liwo¶ci ALSA
123 %package input-mikmod
124 Summary: Alsaplayer plugin for playing mod files
125 Summary(pl): Wtyczka do alsaplayera do odtwarzania plików mod
126 Group: X11/Applications/Sound
127 Requires: %{name} = %{version}
129 %description input-mikmod
130 Alsaplayer plugin for playing mod files.
132 %description input-mikmod -l pl
133 Wtyczka do alsaplayera do odtwarzania plików mod.
135 %package input-vorbis
136 Summary: Alsaplayer plugin for playing ogg/vorbis files
137 Summary(pl): Wtyczka do alsaplayera do odtwarzania plików ogg/vorbis
138 Group: X11/Applications/Sound
139 Requires: %{name} = %{version}
141 %description input-vorbis
142 Alsaplayer plugin for playing ogg/vorbis files.
144 %description input-vorbis -l pl
145 Wtyczka do alsaplayera do odtwarzania plików ogg/vorbis.
147 %package input-audiofile
148 Summary: Alsaplayer plugin for playing wave audio formats
149 Summary(pl): Wtyczka do alsaplayera do odtwarzania plików audio typu wave
150 Group: X11/Applications/Sound
151 Requires: %{name} = %{version}
153 %description input-audiofile
154 Alsaplayer plugin for playing wave audio formats (like AIFF, AIFC,
157 %description input-audiofile -l pl
158 Wtyczka do alsaplayera do odtwarzania plików audio typu wave (AIFF,
162 Summary: Alsaplayer plugin for playing MP3 files using MAD
163 Summary(pl): Wtyczka do alsaplayera do odtwarzania plików MP3 przy pomocy MAD
164 Group: X11/Applications/Sound
165 Requires: %{name} = %{version}
167 %description input-mad
168 Alsaplayer plugin for playing MP3 files using MAD.
170 %description input-mad -l pl
171 Wtyczka do alsaplayera do odtwarzania plików MP3 przy pomocy MAD.
174 # this plugin come in two versions, for alsa 0.5.x and 0.9.x
175 # but this libraries provide different .so number, so the
176 # version built will work only with correct alsa-lib version,
177 # what we do want :-)
179 Summary: Alsaplayer plugin for playing through alsa drivers
180 Summary(pl): Wtyczka do alsaplayera do odtwarzania przez sterowniki alsa
181 Group: X11/Applications/Sound
182 Requires: %{name} = %{version}
184 %description output-alsa
185 Alsaplayer plugin for playing sound through alsa drivers.
187 %description output-alsa -l pl
188 Wtyczka do alsaplayera do odtwarzania d¼wiêku przez sterowniki alsa.
190 %package output-esound
191 Summary: Alsaplayer plugin for playing through esound daemon
192 Summary(pl): Wtyczka do alsaplayera do odtwarzania przez demona esound
193 Group: X11/Applications/Sound
194 Requires: %{name} = %{version}
196 %description output-esound
197 Alsaplayer plugin for playing sound through esound daemon.
199 %description output-esound -l pl
200 Wtyczka do alsaplayera do odtwarzania d¼wiêku przez demona esound.
203 Summary: Alsaplayer plugin for playing through NAS daemon
204 Summary(pl): Wtyczka do alsaplayera do odtwarzania przez demona NAS
205 Group: X11/Applications/Sound
206 Requires: %{name} = %{version}
208 %description output-nas
209 Alsaplayer plugin for playing sound through NAS (network audio system)
212 %description output-nas -l pl
213 Wtyczka do alsaplayera do odtwarzania d¼wiêku przez demona NAS
214 (network audio system).
216 #%package reader-curl
217 #Summary: Alsaplayer plugin for reading files from network
218 #Summary(pl): Wtyczka do alsaplayera do odczytu plików z sieci
219 #Group: X11/Applications/Sound
220 #Requires: %{name} = %{version}
222 #%description reader-curl
223 #Alsaplayer plugin for reading files from network.
225 #%description reader-curl -l pl
226 #Wtyczka do alsaplayera do odczytu plików z sieci.
229 Summary: Alsaplayer plugin for visualization
230 Summary(pl): Wtyczka do alsaplayera do wizualizacji
231 Group: X11/Applications/Multimedia
232 Requires: %{name} = %{version}
234 %description scopes-gtk
235 Alsaplayer plugin for visualization.
237 %description scopes-gtk -l pl
238 Wtyczka do alsaplayera do wizualizacji.
240 %package scopes-opengl
241 Summary: Alsaplayer plugin for visualization using OpenGL
242 Summary(pl): Wtyczka do alsaplayera do wizualizacji z u¿yciem OpenGL
243 Group: X11/Applications/Multimedia
244 Requires: %{name} = %{version}
246 %description scopes-opengl
247 Alsaplayer plugin for visualization using OpenGL.
249 %description scopes-opengl -l pl
250 Wtyczka do alsaplayera do wizualizacji z u¿yciem OpenGL.
252 %package interface-gtk
253 Summary: GTK+ interface for Alsaplayer
254 Summary(pl): Interfejs GTK+ alsaplayera
255 Group: X11/Applications/Sound
256 Requires: %{name} = %{version}
258 %description interface-gtk
259 GTK+ interface for Alsaplayer.
261 %description interface-gtk -l pl
262 Interfejs GTK+ alsaplayera.
265 Summary: Library for remote control Alsaplayer
266 Summary(pl): Biblioteka do zdalnego sterowania alsaplayerem
267 Group: X11/Applications/Sound
268 Requires: %{name} = %{version}
271 Library for remote control Alsaplayer.
273 %description lib -l pl
274 Biblioteka do zdalnego sterowania alsaplayerem.
277 Summary: Library for remote control Alsaplayer - development files
278 Summary(pl): Biblioteka do zdalnego sterowania alsaplayerem - pliki nag³ówkowe
279 Group: X11/Applications/Sound
280 Requires: %{name}-lib = %{version}
283 Library for remote control Alsaplayer - development files.
286 Biblioteka do zdalnego sterowania alsaplayerem - pliki nag³ówkowe.
298 CPPFLAGS=" -I/usr/X11R6/include"
299 LDFLAGS="%{rpmldflags} -L/usr/X11R6/lib"
300 export CPPFLAGS LDFLAGS
318 rm -rf $RPM_BUILD_ROOT
321 DESTDIR=$RPM_BUILD_ROOT \
322 pkgconfigdir=%{_pkgconfigdir}
325 rm -rf $RPM_BUILD_ROOT
328 %defattr(644,root,root,755)
329 %doc AUTHORS README ChangeLog
330 %attr(755,root,root) %{_bindir}/alsaplayer
332 %dir %{_pkglibdir}/input
333 %attr(755,root,root) %{_pkglibdir}/input/libcdda.so
334 %{_pkglibdir}/input/libcdda.la
335 %attr(755,root,root) %{_pkglibdir}/input/libwav.so
336 %{_pkglibdir}/input/libwav.la
337 %dir %{_pkglibdir}/output
338 %attr(755,root,root) %{_pkglibdir}/output/liboss_out.so
339 %{_pkglibdir}/output/liboss_out.la
340 %attr(755,root,root) %{_pkglibdir}/output/libnull_out.so
341 %{_pkglibdir}/output/libnull_out.la
343 %attr(755,root,root) %{_pkglibdir}/output/libsparc_out.so
344 %{_pkglibdir}/output/libsparc_out.la
346 %dir %{_pkglibdir}/interface
347 %attr(755,root,root) %{_pkglibdir}/interface/libtext.so
348 %{_pkglibdir}/interface/libtext.la
349 %attr(755,root,root) %{_pkglibdir}/interface/libdaemon.so
350 %{_pkglibdir}/interface/libdaemon.la
351 %dir %{_pkglibdir}/scopes
352 %dir %{_pkglibdir}/reader
353 %{_pkglibdir}/reader/libfile.la
354 %attr(755,root,root) %{_pkglibdir}/reader/libfile.so
355 %{_pkglibdir}/reader/libhttp.la
356 %attr(755,root,root) %{_pkglibdir}/reader/libhttp.so
360 %defattr(644,root,root,755)
361 %attr(755,root,root) %{_pkglibdir}/interface/libgtk.so
362 %{_pkglibdir}/interface/libgtk.la
365 %defattr(644,root,root,755)
366 %attr(755,root,root) %{_pkglibdir}/scopes/libblurscope.so
367 %{_pkglibdir}/scopes/libblurscope.la
368 %attr(755,root,root) %{_pkglibdir}/scopes/liblevelmeter.so
369 %{_pkglibdir}/scopes/liblevelmeter.la
370 %attr(755,root,root) %{_pkglibdir}/scopes/liblogbarfft.so
371 %{_pkglibdir}/scopes/liblogbarfft.la
372 %attr(755,root,root) %{_pkglibdir}/scopes/libmonoscope.so
373 %{_pkglibdir}/scopes/libmonoscope.la
374 %attr(755,root,root) %{_pkglibdir}/scopes/libspacescope.so
375 %{_pkglibdir}/scopes/libspacescope.la
376 %attr(755,root,root) %{_pkglibdir}/scopes/libsynaescope.so
377 %{_pkglibdir}/scopes/libsynaescope.la
380 %defattr(644,root,root,755)
381 %attr(755,root,root) %{_pkglibdir}/scopes/liboglspectrum.so
382 %{_pkglibdir}/scopes/liboglspectrum.la
385 %defattr(644,root,root,755)
386 %attr(755,root,root) %{_pkglibdir}/input/libmod.so
387 %{_pkglibdir}/input/libmod.la
390 %defattr(644,root,root,755)
391 %attr(755,root,root) %{_pkglibdir}/input/libvorbis_in.so
392 %{_pkglibdir}/input/libvorbis_in.la
394 %files input-audiofile
395 %defattr(644,root,root,755)
396 %attr(755,root,root) %{_pkglibdir}/input/libaf.so
397 %{_pkglibdir}/input/libaf.la
400 %defattr(644,root,root,755)
401 %attr(755,root,root) %{_pkglibdir}/input/libmad_in.so
402 %{_pkglibdir}/input/libmad_in.la
405 %defattr(644,root,root,755)
406 %attr(755,root,root) %{_pkglibdir}/output/libalsa_out.so
407 %{_pkglibdir}/output/libalsa_out.la
410 %defattr(644,root,root,755)
411 %attr(755,root,root) %{_pkglibdir}/output/libesound_out.so
412 %{_pkglibdir}/output/libesound_out.la
415 %defattr(644,root,root,755)
416 %attr(755,root,root) %{_pkglibdir}/output/libnas_out.so
417 %{_pkglibdir}/output/libnas_out.la
420 #%defattr(644,root,root,755)
421 #%%{_pkglibdir}/reader/libcurl.la
422 #%attr(755,root,root) %{_pkglibdir}/reader/libcurl.so
425 %defattr(644,root,root,755)
426 %attr(755,root,root) %{_libdir}/libalsaplayer.so.0.0.2
429 %defattr(644,root,root,755)
430 %{_includedir}/alsaplayer
431 %{_libdir}/libalsaplayer.la
432 %{_libdir}/libalsaplayer.so
433 %{_pkgconfigdir}/alsaplayer.pc