]> git.pld-linux.org Git - packages/alsaplayer.git/blob - alsaplayer.spec
- 0.99.76
[packages/alsaplayer.git] / alsaplayer.spec
1 Summary:        Alsaplayer - CD/FLAC/MOD/MP3/OGG/WAV player
2 Summary(pl):    Alsaplayer - odtwarzacz CD/FLAC/MOD/MP3/OGG/WAV
3 Name:           alsaplayer
4 Version:        0.99.76
5 Release:        0.1
6 License:        GPL
7 Group:          Applications/Sound
8 Source0:        ftp://ftp.alsa-project.org/pub/people/andy/%{name}-%{version}.tar.bz2
9 # Source0-md5:  a5566c15dbae1f5c86a08482eb405725
10 Source1:        %{name}.desktop
11 Patch0:         %{name}-docs.patch
12 Patch1:         %{name}-gcc33.patch
13 URL:            http://www.alsaplayer.org/
14 BuildRequires:  OpenGL-devel
15 BuildRequires:  alsa-lib-devel
16 BuildRequires:  audiofile-devel
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  esound-devel
20 BuildRequires:  flac-devel
21 BuildRequires:  gtk+-devel
22 BuildRequires:  jack-audio-connection-kit-devel >= 0.69.1
23 #BuildRequires: libid3tag-devel - checked for but not used (yet?)
24 BuildRequires:  libmad-devel
25 BuildRequires:  libmikmod-devel
26 BuildRequires:  libsndfile-devel
27 BuildRequires:  libstdc++-devel
28 BuildRequires:  libtool
29 BuildRequires:  libvorbis-devel
30 BuildRequires:  nas-devel
31 BuildRequires:  xosd-devel
32 Requires(post): /sbin/ldconfig
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %define         _noautoreqdep   libGL.so.1 libGLU.so.1
36 %define         _pkglibdir      %{_libdir}/%{name}
37
38 %description
39 AlsaPlayer is a new type of PCM player. It is heavily multi-threaded
40 and tries to exercise the ALSA library and driver quite a bit.
41 Features include:
42
43 Input addons:
44  - MP2 and MP3 support
45  - Ogg Vorbis support (subpackage)
46  - WAV support, 8-, 16-bit, mono, stereo, any sample rate
47  - CDDA support, CD Digital Audio playback! and thus USB ready :)
48  - Also plays files mapped by audiofs (CDDA)
49  - MAD MPEG audio
50  - Module support (mikmod) (subpcakage)
51  - FLAC support
52
53 Output addons:
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)
60  - low latency JACK output
61  - null :-)
62
63 Visual scopes:
64  - Stereoscope
65  - Monoscope
66  - Levelmeter
67  - Spacescope
68  - FFTscope
69  - FFTscope II
70  - Spectrum GL
71
72 General features:
73  - Full speed (pitch) control, positive *and* negative! (First Linux
74    player that does this!! MP3's and CD's do varispeed :)
75  - Queue (playlist) support
76  - Concurrent visual scopes (open as many as you want)
77  - Multi-threaded design for efficient/skip free playback (RT)
78  - GUI Interface based on gtk+
79  - NOGUI operation for shell script usage
80  - On-screen-display based on xosd
81  - Plug-in core architecture
82  - Low latency mode, as low as 5ms when scheduled RT
83  - Effects stream
84  - Software based volume/pan control
85  - Accurate scope/audio syncing using ALSA features
86
87 %description -l pl
88 AlsaPlayer to nowy rodzaj odtwarzacza PCM. Jest wielow±tkowy i próbuje
89 solidnie przeæwiczyæ sterowniki i bibliotekê ALSA. Jego cechy to:
90
91 Wej¶cie:
92  - obs³uga MP2 i MP3
93  - obs³uga Ogg Vorbis (w podpakiecie)
94  - obs³uga WAV, 8 i 16-bitowych, mono, stereo o dowolnej czêstotliwo¶ci
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)
99  - obs³ug bezstratnej kompresji d¼wiêku FLAC
100
101 Wyj¶cie:
102  - OSS - natywne sterowniki z j±dra
103  - ALSA - oczywi¶cie najlepiej obs³ugiwana :) (w podpakiecie)
104  - Sparc - sterowniki d¼wiêku dla UltraSparca
105  - SGI - biblioteka sterowników d¼wiêku SGI
106  - ESD - obs³uga O¶wieconego demona d¼wiêku (w podpakiecie)
107  - NAS - Sieciowego Systemu Audio (w podpakiecie)
108  - JACK - zestaw po³±czeñ d¼wiêku o ma³ych opó¼nieniach (w podpakiecie)
109  - null :-)
110
111 Wizualizacja:
112  - Stereoskop
113  - Monoskop
114  - Wska¼nik poziomu d¼wiêku
115  - Wska¼niki oparte o analizê FFT
116  - analizator spektrum sygna³u w oparciu o OpenGL
117
118 Ogólne cechy:
119  - Kontrola szybko¶ci (w obie strony)
120  - obs³uga kolejki (playlisty)
121  - obs³uga wielu wska¼ników naraz
122  - wielow±tkowo¶æ
123  - interfejs graficzny bazuj±cy na gtk+
124  - operacje bez GUI na potrzeby skryptów
125  - tryb Informacje-na-ekranie oparty o xosd
126  - architektura wtyczek
127  - tryb "czasu rzeczywistego" daj±cy opó¼nienia rzêdu 5ms
128  - programowa kontrola g³o¶no¶ci i balansu
129  - synchronizacja d¼wiêku i wska¼ników przy u¿yciu mo¿liwo¶ci ALSA
130
131 %package daemon
132 Summary:        Deamon interface for Alsaplayer
133 Summary(pl):    Interfejs demona alsaplayera
134 Group:          Applications/Sound
135 Requires:       %{name} = %{version}
136
137 %description daemon
138 Deamon interface for Alsaplayer.
139
140 %description daemon -l pl
141 Interfejs demona alsaplayera.
142
143 %package input-audiofile
144 Summary:        Alsaplayer plugin for playing wave audio formats using audiofile
145 Summary(pl):    Wtyczka alsaplayera do odtwarzania plików audio typu wave przy u¿yciu audiofile
146 Group:          Applications/Sound
147 Requires:       %{name} = %{version}
148
149 %description input-audiofile
150 Alsaplayer plugin for playing wave audio formats (like AIFF, AIFC,
151 WAVE, ...) using audiofile library.
152
153 %description input-audiofile -l pl
154 Wtyczka alsaplayera do odtwarzania plików audio typu wave (AIFF,
155 AIFC, WAVE, ...) przy u¿yciu biblioteki audiofile.
156
157 %package input-flac
158 Summary:        Alsaplayer plugin for playing FLAC files
159 Summary(pl):    Wtyczka alsaplayera do odtwarzania plików FLAC
160 Group:          Applications/Sound
161 Requires:       %{name} = %{version}
162
163 %description input-flac
164 Alsaplayer plugin for playing FLAC files.
165
166 %description input-flac -l pl
167 Wtyczka alsaplayera do odtwarzania plików FLAC.
168
169 %package input-mad
170 Summary:        Alsaplayer plugin for playing MP3 files using MAD
171 Summary(pl):    Wtyczka alsaplayera do odtwarzania plików MP3 przy pomocy MAD
172 Group:          Applications/Sound
173 Requires:       %{name} = %{version}
174
175 %description input-mad
176 Alsaplayer plugin for playing MP3 files using MAD.
177
178 %description input-mad -l pl
179 Wtyczka alsaplayera do odtwarzania plików MP3 przy pomocy MAD.
180
181 %package input-mikmod
182 Summary:        Alsaplayer plugin for playing mod files
183 Summary(pl):    Wtyczka alsaplayera do odtwarzania plików mod
184 Group:          Applications/Sound
185 Requires:       %{name} = %{version}
186
187 %description input-mikmod
188 Alsaplayer plugin for playing mod files.
189
190 %description input-mikmod -l pl
191 Wtyczka alsaplayera do odtwarzania plików mod.
192
193 %package input-sndfile
194 Summary:        Alsaplayer plugin for playing wave audio formats using libsndfile
195 Summary(pl):    Wtyczka alsaplayera do odtwarzania plików audio typu wave przy u¿yciu libsndfile
196 Group:          Applications/Sound
197 Requires:       %{name} = %{version}
198
199 %description input-sndfile
200 Alsaplayer plugin for playing wave audio formats (like AIFF, AIFC,
201 WAVE, ...) using libsndfile library.
202
203 %description input-sndfile -l pl
204 Wtyczka do alsaplayera do odtwarzania plików audio typu wave (AIFF,
205 AIFC, WAVE, ...) przy u¿yciu biblioteki libsndfile.
206
207 %package input-vorbis
208 Summary:        Alsaplayer plugin for playing ogg/vorbis files
209 Summary(pl):    Wtyczka alsaplayera do odtwarzania plików ogg/vorbis
210 Group:          Applications/Sound
211 Requires:       %{name} = %{version}
212
213 %description input-vorbis
214 Alsaplayer plugin for playing ogg/vorbis files.
215
216 %description input-vorbis -l pl
217 Wtyczka alsaplayera do odtwarzania plików ogg/vorbis.
218
219 %package interface-gtk
220 Summary:        GTK+ interface for Alsaplayer
221 Summary(pl):    Interfejs GTK+ alsaplayera
222 Group:          X11/Applications/Sound
223 Requires:       %{name} = %{version}
224
225 %description interface-gtk
226 GTK+ interface for Alsaplayer.
227
228 %description interface-gtk -l pl
229 Interfejs GTK+ alsaplayera.
230
231 %package interface-text
232 Summary:        Text interface for Alsaplayer
233 Summary(pl):    Interfejs tekstowy alsaplayera
234 Group:          Applications/Sound
235 Requires:       %{name} = %{version}
236
237 %description interface-text
238 Text interface for Alsaplayer.
239
240 %description interface-text -l pl
241 Interfejs tekstowy alsaplayera.
242
243 %package interface-xosd
244 Summary:        xosd interface for Alsaplayer
245 Summary(pl):    Interfejs xosd alsaplayera
246 Group:          X11/Applications/Sound
247 Requires:       %{name} = %{version}
248
249 %description interface-xosd
250 xosd interface for Alsaplayer.
251
252 %description interface-xosd -l pl
253 Interfejs xosd alsaplayera.
254
255 %package output-alsa
256 Summary:        Alsaplayer plugin for playing through alsa drivers
257 Summary(pl):    Wtyczka alsaplayera do odtwarzania przez sterowniki alsa
258 Group:          Applications/Sound
259 Requires:       %{name} = %{version}
260
261 %description output-alsa
262 Alsaplayer plugin for playing sound through alsa drivers.
263
264 %description output-alsa -l pl
265 Wtyczka alsaplayera do odtwarzania d¼wiêku przez sterowniki alsa.
266
267 %package output-esound
268 Summary:        Alsaplayer plugin for playing through esound daemon
269 Summary(pl):    Wtyczka alsaplayera do odtwarzania przez demona esound
270 Group:          Applications/Sound
271 Requires:       %{name} = %{version}
272
273 %description output-esound
274 Alsaplayer plugin for playing sound through esound daemon.
275
276 %description output-esound -l pl
277 Wtyczka alsaplayera do odtwarzania d¼wiêku przez demona esound.
278
279 %package output-nas
280 Summary:        Alsaplayer plugin for playing through NAS daemon
281 Summary(pl):    Wtyczka do alsaplayera do odtwarzania przez demona NAS
282 Group:          Applications/Sound
283 Requires:       %{name} = %{version}
284
285 %description output-nas
286 Alsaplayer plugin for playing sound through NAS (network audio system)
287 daemon.
288
289 %description output-nas -l pl
290 Wtyczka alsaplayera do odtwarzania d¼wiêku przez demona NAS (network
291 audio system).
292
293 %package output-jack
294 Summary:        Alsaplayer plugin for playing sound through JACK
295 Summary(pl):    Wtyczka alsaplayera do odtwarzania d¼wiêku przez JACK
296 Group:          Applications/Sound
297 Requires:       %{name} = %{version}
298
299 %description output-jack
300 Alsaplayer plugin for sound through JACK system.
301
302 %description output-jack -l pl
303 Wtyczka alsaplayera do odtwarzania d¼wiêku przez system JACK.
304
305 %package scopes-gtk
306 Summary:        Alsaplayer plugins for visualization
307 Summary(pl):    Wtyczki alsaplayera do wizualizacji
308 Group:          X11/Applications/Multimedia
309 Requires:       %{name} = %{version}
310
311 %description scopes-gtk
312 Alsaplayer plugins for visualization.
313
314 %description scopes-gtk -l pl
315 Wtyczki do alsaplayera do wizualizacji.
316
317 %package scopes-opengl
318 Summary:        Alsaplayer plugin for visualization using OpenGL
319 Summary(pl):    Wtyczka alsaplayera do wizualizacji z u¿yciem OpenGL
320 Group:          X11/Applications/Multimedia
321 Requires:       %{name} = %{version}
322 Requires:       OpenGL
323
324 %description scopes-opengl
325 Alsaplayer plugin for visualization using OpenGL.
326
327 %description scopes-opengl -l pl
328 Wtyczka do alsaplayera do wizualizacji z u¿yciem OpenGL.
329
330 %package devel
331 Summary:        Alsaplayer header files
332 Summary(pl):    Pliki nag³ówkowe Alsaplayera
333 Group:          Development/Libraries
334 Requires:       %{name} = %{version}
335
336 %description devel
337 Header files for Alsaplayer library.
338
339 %description devel -l pl
340 Pliki nag³ówkowe biblioteki Alsaplayera.
341
342 %package static
343 Summary:        Alsaplayer static library
344 Summary(pl):    Biblioteka statyczna Alsaplayera
345 Group:          Development/Libraries
346 Requires:       %{name}-devel = %{version}
347
348 %description static
349 Alsaplayer static library.
350
351 %description static -l pl
352 Biblioteka statyczna Alsaplayera.
353
354 %prep
355 %setup -q
356 %patch0 -p1
357 %patch1 -p1
358
359 %build
360 rm -f missing
361 %{__libtoolize}
362 %{__aclocal}
363 %{__autoconf}
364 %{__automake}
365 CPPFLAGS=" -I/usr/X11R6/include"
366 LDFLAGS="%{rpmldflags} -L/usr/X11R6/lib"
367 export CPPFLAGS LDFLAGS
368 %configure \
369         --enable-alsa \
370         --enable-audiofile \
371         --enable-esd \
372         --enable-flac \
373         --enable-gtk \
374         --enable-jack \
375         --enable-mikmod \
376         --enable-nas \
377         --enable-oggflac \
378         --enable-oggvorbis \
379         --enable-opengl \
380         --enable-oss \
381         --enable-static \
382 %ifarch sparc
383         --enable-sparc
384 %endif
385
386 %{__make}
387
388 %install
389 rm -rf $RPM_BUILD_ROOT
390 install -d $RPM_BUILD_ROOT%{_desktopdir}
391
392 %{__make} install \
393         DESTDIR=$RPM_BUILD_ROOT \
394         pkgconfigdir=%{_pkgconfigdir}
395
396 install -c %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
397
398 rm -f $RPM_BUILD_ROOT%{_pkglibdir}/input/*.{a,la}
399 rm -f $RPM_BUILD_ROOT%{_pkglibdir}/interface/*.{a,la}
400 rm -f $RPM_BUILD_ROOT%{_pkglibdir}/output/*.{a,la}
401 rm -f $RPM_BUILD_ROOT%{_pkglibdir}/reader/*.{a,la}
402 rm -f $RPM_BUILD_ROOT%{_pkglibdir}/scopes/*.{a,la}
403
404 %clean
405 rm -rf $RPM_BUILD_ROOT
406
407 %post   -p /sbin/ldconfig
408 %postun -p /sbin/ldconfig
409
410 %files
411 %defattr(644,root,root,755)
412 %doc AUTHORS README ChangeLog
413 %attr(755,root,root) %{_bindir}/alsaplayer
414 %attr(755,root,root) %{_libdir}/libalsaplayer.so.0.0.2
415 %dir %{_pkglibdir}
416 %dir %{_pkglibdir}/input
417 %dir %{_pkglibdir}/interface
418 %dir %{_pkglibdir}/output
419 %dir %{_pkglibdir}/reader
420 %dir %{_pkglibdir}/scopes
421 %attr(755,root,root) %{_pkglibdir}/input/libcdda.so
422 %attr(755,root,root) %{_pkglibdir}/input/libwav.so
423 %attr(755,root,root) %{_pkglibdir}/output/liboss_out.so
424 %attr(755,root,root) %{_pkglibdir}/output/libnull_out.so
425 %attr(755,root,root) %{_pkglibdir}/reader/libfile.so
426 %attr(755,root,root) %{_pkglibdir}/reader/libhttp.so
427 %{_mandir}/man*/*
428 %{_desktopdir}/%{name}.desktop
429
430 %ifarch sparc
431 %attr(755,root,root) %{_pkglibdir}/output/libsparc_out.so
432 %endif
433
434 %files daemon
435 %defattr(644,root,root,755)
436 %attr(755,root,root) %{_pkglibdir}/interface/libdaemon_interface.so
437
438 %files interface-gtk
439 %defattr(644,root,root,755)
440 %attr(755,root,root) %{_pkglibdir}/interface/libgtk_interface.so
441
442 %files interface-text
443 %defattr(644,root,root,755)
444 %attr(755,root,root) %{_pkglibdir}/interface/libtext_interface.so
445
446 %files interface-xosd
447 %defattr(644,root,root,755)
448 %attr(755,root,root) %{_pkglibdir}/interface/libxosd_interface.so
449
450 %files input-audiofile
451 %defattr(644,root,root,755)
452 %attr(755,root,root) %{_pkglibdir}/input/libaf.so
453
454 %files input-flac
455 %defattr(644,root,root,755)
456 %attr(755,root,root) %{_pkglibdir}/input/libflac_in.so
457
458 %files input-mad
459 %defattr(644,root,root,755)
460 %attr(755,root,root) %{_pkglibdir}/input/libmad_in.so
461
462 %files input-mikmod
463 %defattr(644,root,root,755)
464 %attr(755,root,root) %{_pkglibdir}/input/libmod.so
465
466 %files input-sndfile
467 %defattr(644,root,root,755)
468 %attr(755,root,root) %{_pkglibdir}/input/libsndfile_in.so
469
470 %files input-vorbis
471 %defattr(644,root,root,755)
472 %attr(755,root,root) %{_pkglibdir}/input/libvorbis_in.so
473
474 %files output-alsa
475 %defattr(644,root,root,755)
476 %attr(755,root,root) %{_pkglibdir}/output/libalsa_out.so
477
478 %files output-esound
479 %defattr(644,root,root,755)
480 %attr(755,root,root) %{_pkglibdir}/output/libesound_out.so
481
482 %files output-jack
483 %defattr(644,root,root,755)
484 %attr(755,root,root) %{_pkglibdir}/output/libjack_out.so
485
486 %files output-nas
487 %defattr(644,root,root,755)
488 %attr(755,root,root) %{_pkglibdir}/output/libnas_out.so
489
490 %files scopes-gtk
491 %defattr(644,root,root,755)
492 %attr(755,root,root) %{_pkglibdir}/scopes/libblurscope.so
493 %attr(755,root,root) %{_pkglibdir}/scopes/liblevelmeter.so
494 %attr(755,root,root) %{_pkglibdir}/scopes/liblogbarfft.so
495 %attr(755,root,root) %{_pkglibdir}/scopes/libmonoscope.so
496 %attr(755,root,root) %{_pkglibdir}/scopes/libspacescope.so
497 %attr(755,root,root) %{_pkglibdir}/scopes/libsynaescope.so
498
499 %files scopes-opengl
500 %defattr(644,root,root,755)
501 %attr(755,root,root) %{_pkglibdir}/scopes/liboglspectrum.so
502
503 %files devel
504 %defattr(644,root,root,755)
505 %attr(755,root,root) %{_libdir}/libalsaplayer.so
506 %{_libdir}/libalsaplayer.la
507 %{_includedir}/alsaplayer
508 %{_pkgconfigdir}/alsaplayer.pc
509
510 %files static
511 %defattr(644,root,root,755)
512 %{_libdir}/libalsaplayer.a
This page took 0.057285 seconds and 3 git commands to generate.