]> git.pld-linux.org Git - packages/alsaplayer.git/blob - alsaplayer.spec
0ba370d244a6bed9f404a63c3e643ff6e72a3b1b
[packages/alsaplayer.git] / alsaplayer.spec
1 # TODO:
2 # - check descriptions
3 # - add/check translations
4 # - add .desktop file
5 Summary:        Alsaplayer - MP2/MP3/WAV/CD player
6 Summary(pl):    Alsaplayer - odtwarzacz MP2/MP3/WAV/CD
7 Name:           alsaplayer
8 Version:        0.99.75
9 Release:        0.3
10 License:        GPL
11 Group:          X11/Applications/Sound
12 Source0:        ftp://ftp.alsa-project.org/pub/people/andy/%{name}-%{version}.tar.bz2
13 # Source0-md5:  353b57058e05aa5f0c01f93fc049c650
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 input-audiofile
135 Summary:        Alsaplayer plugin for playing wave audio formats
136 Summary(pl):    Wtyczka do alsaplayera do odtwarzania plików audio typu wave
137 Group:          X11/Applications/Sound
138 Requires:       %{name} = %{version}
139
140 %description input-audiofile
141 Alsaplayer plugin for playing wave audio formats (like AIFF, AIFC,
142 WAVE, ...).
143
144 %description input-audiofile -l pl
145 Wtyczka do alsaplayera do odtwarzania plików audio typu wave (AIFF,
146 AIFC, WAVE, ...)
147
148 %package input-flac
149 Summary:        Alsaplayer plugin for playing FLAC files
150 Summary(pl):    Wtyczka do alsaplayera do odtwarzania plików FLAC
151 Group:          X11/Applications/Sound
152 Requires:       %{name} = %{version}
153
154 %description input-flac
155 Alsaplayer plugin for playing FLAC files.
156
157 %description input-flac -l pl
158 Wtyczka do alsaplayera do odtwarzania plików FLAC.
159
160 %package output-jack
161 Summary:        Alsaplayer plugin for playing sound through JACK
162 Summary(pl):    Wtyczka do alsaplayera do odtwarzania d¼wiêku przez JACK
163 Group:          X11/Applications/Sound
164 Requires:       %{name} = %{version}
165
166 %description output-jack
167 Alsaplayer plugin for sound through JACK
168
169 %description output-jack -l pl
170 Wtyczka do alsaplayera do odtwarzania d¼wiêku przez JACK
171
172 %package input-mad
173 Summary:        Alsaplayer plugin for playing MP3 files using MAD
174 Summary(pl):    Wtyczka do alsaplayera do odtwarzania plików MP3 przy pomocy MAD
175 Group:          X11/Applications/Sound
176 Requires:       %{name} = %{version}
177
178 %description input-mad
179 Alsaplayer plugin for playing MP3 files using MAD.
180
181 %description input-mad -l pl
182 Wtyczka do alsaplayera do odtwarzania plików MP3 przy pomocy MAD.
183
184 %package input-mikmod
185 Summary:        Alsaplayer plugin for playing mod files
186 Summary(pl):    Wtyczka do alsaplayera do odtwarzania plików mod
187 Group:          X11/Applications/Sound
188 Requires:       %{name} = %{version}
189
190 %description input-mikmod
191 Alsaplayer plugin for playing mod files.
192
193 %description input-mikmod -l pl
194 Wtyczka do alsaplayera do odtwarzania plików mod.
195
196 %package input-sndfile
197 Summary:        Alsaplayer plugin for playing wave audio formats
198 Summary(pl):    Wtyczka do alsaplayera do odtwarzania plików audio typu wave
199 Group:          X11/Applications/Sound
200 Requires:       %{name} = %{version}
201
202 %description input-sndfile
203 Alsaplayer plugin for playing wave audio formats (like AIFF, AIFC,
204 WAVE, ...).
205
206 %description input-sndfile -l pl
207 Wtyczka do alsaplayera do odtwarzania plików audio typu wave (AIFF,
208 AIFC, WAVE, ...)
209
210 %package input-vorbis
211 Summary:        Alsaplayer plugin for playing ogg/vorbis files
212 Summary(pl):    Wtyczka do alsaplayera do odtwarzania plików ogg/vorbis
213 Group:          X11/Applications/Sound
214 Requires:       %{name} = %{version}
215
216 %description input-vorbis
217 Alsaplayer plugin for playing ogg/vorbis files.
218
219 %description input-vorbis -l pl
220 Wtyczka do alsaplayera do odtwarzania plików ogg/vorbis.
221
222
223 %package output-alsa
224 Summary:        Alsaplayer plugin for playing through alsa drivers
225 Summary(pl):    Wtyczka do alsaplayera do odtwarzania przez sterowniki alsa
226 Group:          X11/Applications/Sound
227 Requires:       %{name} = %{version}
228
229 %description output-alsa
230 Alsaplayer plugin for playing sound through alsa drivers.
231
232 %description output-alsa -l pl
233 Wtyczka do alsaplayera do odtwarzania d¼wiêku przez sterowniki alsa.
234
235 %package output-esound
236 Summary:        Alsaplayer plugin for playing through esound daemon
237 Summary(pl):    Wtyczka do alsaplayera do odtwarzania przez demona esound
238 Group:          X11/Applications/Sound
239 Requires:       %{name} = %{version}
240
241 %description output-esound
242 Alsaplayer plugin for playing sound through esound daemon.
243
244 %description output-esound -l pl
245 Wtyczka do alsaplayera do odtwarzania d¼wiêku przez demona esound.
246
247 %package output-nas
248 Summary:        Alsaplayer plugin for playing through NAS daemon
249 Summary(pl):    Wtyczka do alsaplayera do odtwarzania przez demona NAS
250 Group:          X11/Applications/Sound
251 Requires:       %{name} = %{version}
252
253 %description output-nas
254 Alsaplayer plugin for playing sound through NAS (network audio system)
255 daemon.
256
257 %description output-nas -l pl
258 Wtyczka do alsaplayera do odtwarzania d¼wiêku przez demona NAS
259 (network audio system).
260
261 %package scopes-gtk
262 Summary:        Alsaplayer plugin for visualization
263 Summary(pl):    Wtyczka do alsaplayera do wizualizacji
264 Group:          X11/Applications/Multimedia
265 Requires:       %{name} = %{version}
266
267 %description scopes-gtk
268 Alsaplayer plugin for visualization.
269
270 %description scopes-gtk -l pl
271 Wtyczka do alsaplayera do wizualizacji.
272
273 %package scopes-opengl
274 Summary:        Alsaplayer plugin for visualization using OpenGL
275 Summary(pl):    Wtyczka do alsaplayera do wizualizacji z u¿yciem OpenGL
276 Group:          X11/Applications/Multimedia
277 Requires:       %{name} = %{version}
278 Requires:       OpenGL
279
280 %description scopes-opengl
281 Alsaplayer plugin for visualization using OpenGL.
282
283 %description scopes-opengl -l pl
284 Wtyczka do alsaplayera do wizualizacji z u¿yciem OpenGL.
285
286 %package interface-daemon
287 Summary:        Deamon interface for Alsaplayer
288 Summary(pl):    Interfejs demona alsaplayera
289 Group:          X11/Applications/Sound
290 Requires:       %{name} = %{version}
291
292 %description daemon
293 Deamon interface for Alsaplayer.
294
295 %description daemon -l pl
296 Interfejs demona alsaplayera.
297
298 %package interface-gtk
299 Summary:        GTK+ interface for Alsaplayer
300 Summary(pl):    Interfejs GTK+ alsaplayera
301 Group:          X11/Applications/Sound
302 Requires:       %{name} = %{version}
303
304 %description interface-gtk
305 GTK+ interface for Alsaplayer.
306
307 %description interface-gtk -l pl
308 Interfejs GTK+ alsaplayera.
309
310 %package interface-text
311 Summary:        Text interface for Alsaplayer
312 Summary(pl):    Interfejs tekstowy alsaplayera
313 Group:          X11/Applications/Sound
314 Requires:       %{name} = %{version}
315
316 %description interface-text
317 Text interface for Alsaplayer.
318
319 %description interface-text -l pl
320 Interfejs tekstowy alsaplayera.
321
322 %package interface-xosd
323 Summary:        xosd interface for Alsaplayer
324 Summary(pl):    Interfejs xosd alsaplayera
325 Group:          X11/Applications/Sound
326 Requires:       %{name} = %{version}
327
328 %description interface-xosd
329 xosd interface for Alsaplayer.
330
331 %description interface-xosd -l pl
332 Interfejs xosd alsaplayera.
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
395 %{__make} install \
396         DESTDIR=$RPM_BUILD_ROOT \
397         pkgconfigdir=%{_pkgconfigdir}
398
399 rm -f $RPM_BUILD_ROOT%{_pkglibdir}/input/*.{a,la}
400 rm -f $RPM_BUILD_ROOT%{_pkglibdir}/interface/*.{a,la}
401 rm -f $RPM_BUILD_ROOT%{_pkglibdir}/output/*.{a,la}
402 rm -f $RPM_BUILD_ROOT%{_pkglibdir}/reader/*.{a,la}
403 rm -f $RPM_BUILD_ROOT%{_pkglibdir}/scopes/*.{a,la}
404
405 %clean
406 rm -rf $RPM_BUILD_ROOT
407
408 %post   -p /sbin/ldconfig
409 %postun -p /sbin/ldconfig
410
411 %files
412 %defattr(644,root,root,755)
413 %doc AUTHORS README ChangeLog
414 %attr(755,root,root) %{_bindir}/alsaplayer
415 %attr(755,root,root) %{_libdir}/libalsaplayer.so.0.0.2
416 %dir %{_pkglibdir}
417 %dir %{_pkglibdir}/input
418 %dir %{_pkglibdir}/interface
419 %dir %{_pkglibdir}/output
420 %dir %{_pkglibdir}/reader
421 %dir %{_pkglibdir}/scopes
422 %attr(755,root,root) %{_pkglibdir}/input/libcdda.so
423 %attr(755,root,root) %{_pkglibdir}/input/libwav.so
424 %attr(755,root,root) %{_pkglibdir}/output/liboss_out.so
425 %attr(755,root,root) %{_pkglibdir}/output/libnull_out.so
426 %attr(755,root,root) %{_pkglibdir}/reader/libfile.so
427 %attr(755,root,root) %{_pkglibdir}/reader/libhttp.so
428 %{_mandir}/man*/*
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 %{_includedir}/alsaplayer
506 %{_libdir}/libalsaplayer.la
507 %{_libdir}/libalsaplayer.so
508 %{_pkgconfigdir}/alsaplayer.pc
509
510 %files static
511 %defattr(644,root,root,755)
512 %{_libdir}/libalsaplayer.a
This page took 0.055325 seconds and 2 git commands to generate.