]> git.pld-linux.org Git - packages/alsaplayer.git/blob - alsaplayer.spec
- pl Summary/description fixes
[packages/alsaplayer.git] / alsaplayer.spec
1 # TODO:
2 # - fix description
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
11 Name:           alsaplayer
12 Version:        0.99.72
13 Release:        1
14 License:        GPL
15 Group:          X11/Applications/Multimedia
16 Source0:        ftp://ftp.alsa-project.org/pub/people/andy/%{name}-%{version}.tar.bz2
17 Patch0:         %{name}-nas.patch
18 Patch1:         %{name}-docs.patch
19 BuildRequires:  alsa-lib-devel
20 BuildRequires:  audiofile-devel
21 BuildRequires:  autoconf
22 BuildRequires:  automake
23 #BuildRequires: curl-devel
24 BuildRequires:  esound-devel
25 BuildRequires:  gtk+-devel
26 BuildRequires:  libmikmod-devel
27 BuildRequires:  libtool
28 BuildRequires:  libvorbis-devel >= 1:1.0
29 BuildRequires:  mad-devel
30 BuildRequires:  nas-devel
31 BuildRequires:  OpenGL-devel
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 %define         _noautoreqdep   libGL.so.1 libGLU.so.1
35 %define         _pkglibdir      %{_libdir}/%{name}
36 %define         _prefix         /usr/X11R6
37 %define         _mandir         %{_prefix}/man
38
39 %description
40 AlsaPlayer is a new type of PCM player. It is heavily multi-threaded
41 and tries to excercise the ALSA library and driver quite a bit.
42 Features include:
43
44 Input addons:
45  - MP2 and MP3 support
46  - Ogg Vorbis support (subpackage)
47  - WAV support, 8-, 16-bit, mono, stereo, any sample rate
48  - CDDA support, CD Digital Audio playback! and thus USB ready :)
49  - Also plays files mapped by audiofs (CDDA)
50  - MAD MPEG audio
51  - Module support (mikmod) (subpcakage)
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  - null :-)
61
62 Visual scopes:
63  - Stereoscope
64  - Monoscope
65  - Levelmeter
66  - Spacescope
67  - FFTscope
68  - FFTscope II
69  - More being developed...
70
71 General features:
72  - Full speed (pitch) control, positive *and* negative! (First Linux
73    player that does this!! MP3's and CD's do varispeed :)
74  - Queue (playlist) support
75  - Concurrent visual scopes (open as many as you want)
76  - Multi-threaded design for efficient/skip free playback (RT)
77  - GUI Interface based on gtk+
78  - NOGUI operation for shell script usage
79  - Plug-in core architecture
80  - Low latency mode, as low as 5ms when scheduled RT
81  - Effects stream
82  - Software based volume/pan control
83  - Accurate scope/audio syncing using ALSA features
84  - Portable (well, we'll see about that :)
85  - Open source(tm)
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, dowolna czêstotliwo¶æ
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
100 Wyj¶cie:
101  - OSS - natywne sterowniki z j±dra
102  - ALSA - oczywi¶cie najlepiej obs³ugiwana :) (w podpakiecie)
103  - Sparc - sterowniki d¼wiêku dla UltraSparca
104  - SGI - biblioteka sterowników d¼wiêku SGI
105  - ESD - obs³uga O¶wieconego demona d¼wiêku (w podpakiecie)
106  - NAS - Sieciowego Systemu Audio (w podpakiecie)
107  - null :-)
108
109 Wizualizacja:
110  - Stereoskop
111  - Monoskop
112  - Wska¼nik poziomu d¼wiêku
113  - inne, wkrótce wiêcej...
114
115 Ogólne cechy:
116  - Kontrola szybko¶ci (w obie strony)
117  - obs³uga kolejki (playlisty)
118  - obs³uga wielu wska¼ników naraz
119  - wielow±tkowo¶æ
120  - interfejs graficzny bazuj±cy na gtk+
121  - operacje bez GUI na potrzeby skryptów
122  - architektura wtyczek
123  - programowa kontrola g³o¶no¶ci i balansu
124  - synchronizacja d¼wiêku i wska¼ników przy u¿yciu mo¿liwo¶ci ALSA
125
126 %package input-mikmod
127 Summary:        Alsaplayer plugin for playing mod files
128 Summary(pl):    Wtyczka do alsaplayera do odtwarzania plików mod
129 Group:          X11/Applications/Multimedia
130 Requires:       %{name} = %{version}
131
132 %description input-mikmod
133 Alsaplayer plugin for playing mod files.
134
135 %description input-mikmod -l pl
136 Wtyczka do alsaplayera do odtwarzania plików mod.
137
138 %package input-vorbis
139 Summary:        Alsaplayer plugin for playing ogg/vorbis files
140 Summary(pl):    Wtyczka do alsaplayera do odtwarzania plików ogg/vorbis
141 Group:          X11/Applications/Multimedia
142 Requires:       %{name} = %{version}
143
144 %description input-vorbis
145 Alsaplayer plugin for playing ogg/vorbis files.
146
147 %description input-vorbis -l pl
148 Wtyczka do alsaplayera do odtwarzania plików ogg/vorbis.
149
150 %package input-audiofile
151 Summary:        Alsaplayer plugin for playing wave audio formats
152 Summary(pl):    Wtyczka do alsaplayera do odtwarzania plików audio typu wave
153 Group:          X11/Applications/Multimedia
154 Requires:       %{name} = %{version}
155
156 %description input-audiofile
157 Alsaplayer plugin for playing wave audio formats (like AIFF, AIFC,
158 WAVE, ...).
159
160 %description input-audiofile -l pl
161 Wtyczka do alsaplayera do odtwarzania plików audio typa wave (AIFF,
162 AIFC, WAVE, ...)
163
164 %package input-mad
165 Summary:        Alsaplayer plugin for playing MP3 files using MAD
166 Summary(pl):    Wtyczka do alsaplayera do odtwarzania plików MP3 przy pomocy MAD
167 Group:          X11/Applications/Multimedia
168 Requires:       %{name} = %{version}
169
170 %description input-mad
171 Alsaplayer plugin for playing MP3 files using MAD.
172
173 %description input-mad -l pl
174 Wtyczka do alsaplayera do odtwarzania plików MP3 przy pomocy MAD.
175
176 %package output-alsa
177 # this plugin come in two versions, for alsa 0.5.x and 0.9.x
178 # but this libraraies provide different .so number, so the
179 # version built will work only with correct alsa-lib version,
180 # what we do want :-)
181
182 Summary:        Alsaplayer plugin for playing through alsa drivers
183 Summary(pl):    Wtyczka do alsaplayera do odtwarzania przez sterowniki alsa
184 Group:          X11/Applications/Multimedia
185 Requires:       %{name} = %{version}
186
187 %description output-alsa
188 Alsaplayer plugin for playing sound through alsa drivers.
189
190 %description output-alsa -l pl
191 Wtyczka do alsaplayera do odtwarzania d¼wiêku przez sterowniki alsa.
192
193 %package output-esound
194 Summary:        Alsaplayer plugin for playing through esound daemon
195 Summary(pl):    Wtyczka do alsaplayera do odtwarzania przez demona esound
196 Group:          X11/Applications/Multimedia
197 Requires:       %{name} = %{version}
198
199 %description output-esound
200 Alsaplayer plugin for playing sound through esound daemon.
201
202 %description output-esound -l pl
203 Wtyczka do alsaplayera do odtwarzania d¼wiêku przez demona esound.
204
205 %package output-nas
206 Summary:        Alsaplayer plugin for playing through NAS daemon
207 Summary(pl):    Wtyczka do alsaplayera do odtwarzania przez demona NAS
208 Group:          X11/Applications/Multimedia
209 Requires:       %{name} = %{version}
210
211 %description output-nas
212 Alsaplayer plugin for playing sound through NAS (network audio system)
213 daemon.
214
215 %description output-nas -l pl
216 Wtyczka do alsaplayera do odtwarzania d¼wiêku przez demona NAS
217 (network audio system).
218
219
220 #%package reader-curl
221 #Summary:       Alsaplayer plugin for reading files from network
222 #Summary(pl):   Wtyczka do alsaplayera do odczytu plików z sieci
223 #Group:         X11/Applications/Multimedia
224 #Requires:      %{name} = %{version}
225 #
226 #%description reader-curl
227 #Alsaplayer plugin for reading files from network.
228 #
229 #%description reader-curl -l pl
230 #Wtyczka do alsaplayera do odczytu plików z sieci.
231
232 %package scopes-gtk
233 Summary:        Alsaplayer plugin for visualization
234 Summary(pl):    Wtyczka do alsaplayera do wizualizacji
235 Group:          X11/Applications/Multimedia
236 Requires:       %{name} = %{version}
237
238 %description scopes-gtk
239 Alsaplayer plugin for visualization.
240
241 %description scopes-gtk -l pl
242 tyczka do alsaplayera do wizualizacji.
243
244 %package scopes-opengl
245 Summary:        Alsaplayer plugin for visualization using OpenGL
246 Summary(pl):    Wtyczka do alsaplayera do wizualizacji z u¿yciem OpenGL
247 Group:          X11/Applications/Multimedia
248 Requires:       %{name} = %{version}
249
250 %description scopes-opengl
251 Alsaplayer plugin for visualization using OpenGL.
252
253 %description scopes-opengl -l pl
254 Wtyczka do alsaplayera do wizualizacji z u¿yciem OpenGL.
255
256 %package interface-gtk
257 Summary:        GTK+ interface for Alsaplayer
258 Summary(pl):    Interfejs GTK+ alsaplayera
259 Group:          X11/Applications/Multimedia
260 Requires:       %{name} = %{version}
261
262 %description interface-gtk
263 GTK+ interface for Alsaplayer.
264
265 %description interface-gtk -l pl
266 Interfejs GTK+ alsaplayera.
267
268 %package lib
269 Summary:        Library for remote control Alsaplayer
270 Summary(pl):    Biblioteka do zdalnego staerowania alsaplayerem
271 Group:          X11/Applications/Multimedia
272 Requires:       %{name} = %{version}
273
274 %description lib
275 Library for remote control Alsaplayer.
276
277 %description lib -l pl
278 Biblioteka do zdalnego staerowania alsaplayerem.
279
280 %package devel
281 Summary:        Library for remote control Alsaplayer - development files
282 Summary(pl):    Biblioteka do zdalnego staerowania alsaplayerem - pliki nag³ówkowe
283 Group:          X11/Applications/Multimedia
284 Requires:       %{name}-lib = %{version}
285
286 %description devel
287 Library for remote control Alsaplayer - development files.
288
289 %description devel
290 Biblioteka do zdalnego staerowania alsaplayerem - pliki nag³ówkowe.
291
292 %prep
293 %setup -q
294 %patch0 -p1
295 %patch1 -p1
296
297 %build
298 rm -f missing
299 %{__libtoolize}
300 %{__aclocal}
301 %{__autoconf}
302 %{__automake}
303 CPPFLAGS=" -I/usr/X11R6/include"
304 LDFLAGS="%{rpmldflags} -L/usr/X11R6/lib"
305 export CPPFLAGS LDFLAGS
306 %configure \
307         --enable-alsa \
308         --enable-audiofile \
309         --enable-esd \
310         --enable-gtk \
311         --enable-mikmod \
312         --enable-nas \
313         --enable-oggvorbis \
314         --enable-opengl \
315         --enable-oss \
316 %ifarch sparc
317         --enable-sparc
318 %endif
319
320 %{__make}
321
322 %install
323 rm -rf $RPM_BUILD_ROOT
324
325 %{__make} install \
326         DESTDIR=$RPM_BUILD_ROOT \
327         pkgconfigdir=%{_pkgconfigdir}
328
329 %clean
330 rm -rf $RPM_BUILD_ROOT
331
332 %files
333 %defattr(644,root,root,755)
334 %doc AUTHORS README ChangeLog
335 %attr(755,root,root) %{_bindir}/alsaplayer
336 %dir %{_pkglibdir}
337 %dir %{_pkglibdir}/input
338 %attr(755,root,root) %{_pkglibdir}/input/libcdda.so
339 %{_pkglibdir}/input/libcdda.la
340 %attr(755,root,root) %{_pkglibdir}/input/libwav.so
341 %{_pkglibdir}/input/libwav.la
342 %dir %{_pkglibdir}/output
343 %attr(755,root,root) %{_pkglibdir}/output/liboss_out.so
344 %{_pkglibdir}/output/liboss_out.la
345 %attr(755,root,root) %{_pkglibdir}/output/libnull_out.so
346 %{_pkglibdir}/output/libnull_out.la
347 %ifarch sparc
348 %attr(755,root,root) %{_pkglibdir}/output/libsparc_out.so
349 %{_pkglibdir}/output/libsparc_out.la
350 %endif
351 %dir %{_pkglibdir}/interface
352 %attr(755,root,root) %{_pkglibdir}/interface/libtext.so
353 %{_pkglibdir}/interface/libtext.la
354 %attr(755,root,root) %{_pkglibdir}/interface/libdaemon.so
355 %{_pkglibdir}/interface/libdaemon.la
356 %dir %{_pkglibdir}/scopes
357 %dir %{_pkglibdir}/reader
358 %{_pkglibdir}/reader/libfile.la
359 %attr(755,root,root) %{_pkglibdir}/reader/libfile.so
360 %{_pkglibdir}/reader/libhttp.la
361 %attr(755,root,root) %{_pkglibdir}/reader/libhttp.so
362 %{_mandir}/man*/*
363
364 %files interface-gtk
365 %defattr(644,root,root,755)
366 %attr(755,root,root) %{_pkglibdir}/interface/libgtk.so
367 %{_pkglibdir}/interface/libgtk.la
368
369 %files scopes-gtk
370 %defattr(644,root,root,755)
371 %attr(755,root,root) %{_pkglibdir}/scopes/libblurscope.so
372 %{_pkglibdir}/scopes/libblurscope.la
373 %attr(755,root,root) %{_pkglibdir}/scopes/liblevelmeter.so
374 %{_pkglibdir}/scopes/liblevelmeter.la
375 %attr(755,root,root) %{_pkglibdir}/scopes/liblogbarfft.so
376 %{_pkglibdir}/scopes/liblogbarfft.la
377 %attr(755,root,root) %{_pkglibdir}/scopes/libmonoscope.so
378 %{_pkglibdir}/scopes/libmonoscope.la
379 %attr(755,root,root) %{_pkglibdir}/scopes/libspacescope.so
380 %{_pkglibdir}/scopes/libspacescope.la
381 %attr(755,root,root) %{_pkglibdir}/scopes/libsynaescope.so
382 %{_pkglibdir}/scopes/libsynaescope.la
383
384 %files scopes-opengl
385 %defattr(644,root,root,755)
386 %attr(755,root,root) %{_pkglibdir}/scopes/liboglspectrum.so
387 %{_pkglibdir}/scopes/liboglspectrum.la
388
389 %files input-mikmod
390 %defattr(644,root,root,755)
391 %attr(755,root,root) %{_pkglibdir}/input/libmod.so
392 %{_pkglibdir}/input/libmod.la
393
394 %files input-vorbis
395 %defattr(644,root,root,755)
396 %attr(755,root,root) %{_pkglibdir}/input/libvorbis_in.so
397 %{_pkglibdir}/input/libvorbis_in.la
398
399 %files input-audiofile
400 %defattr(644,root,root,755)
401 %attr(755,root,root) %{_pkglibdir}/input/libaf.so
402 %{_pkglibdir}/input/libaf.la
403
404 %files input-mad
405 %defattr(644,root,root,755)
406 %attr(755,root,root) %{_pkglibdir}/input/libmad_in.so
407 %{_pkglibdir}/input/libmad_in.la
408
409 %files output-alsa
410 %defattr(644,root,root,755)
411 %attr(755,root,root) %{_pkglibdir}/output/libalsa_out.so
412 %{_pkglibdir}/output/libalsa_out.la
413
414 %files output-esound
415 %defattr(644,root,root,755)
416 %attr(755,root,root) %{_pkglibdir}/output/libesound_out.so
417 %{_pkglibdir}/output/libesound_out.la
418
419 %files output-nas
420 %defattr(644,root,root,755)
421 %attr(755,root,root) %{_pkglibdir}/output/libnas_out.so
422 %{_pkglibdir}/output/libnas_out.la
423
424 #%files reader-curl
425 #%defattr(644,root,root,755)
426 #%{_pkglibdir}/reader/libcurl.la
427 #%attr(755,root,root) %{_pkglibdir}/reader/libcurl.so
428
429 %files lib
430 %defattr(644,root,root,755)
431 %attr(755,root,root) %{_libdir}/libalsaplayer.so.0.0.2
432
433 %files devel
434 %defattr(644,root,root,755)
435 %{_includedir}/alsaplayer
436 %{_libdir}/libalsaplayer.la
437 %{_libdir}/libalsaplayer.so
438 %{_pkgconfigdir}/alsaplayer.pc
This page took 0.095427 seconds and 3 git commands to generate.