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