]> git.pld-linux.org Git - packages/alsaplayer.git/blob - alsaplayer.spec
- typos
[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 typu 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 #%package reader-curl
220 #Summary:       Alsaplayer plugin for reading files from network
221 #Summary(pl):   Wtyczka do alsaplayera do odczytu plików z sieci
222 #Group:         X11/Applications/Multimedia
223 #Requires:      %{name} = %{version}
224 #
225 #%description reader-curl
226 #Alsaplayer plugin for reading files from network.
227 #
228 #%description reader-curl -l pl
229 #Wtyczka do alsaplayera do odczytu plików z sieci.
230
231 %package scopes-gtk
232 Summary:        Alsaplayer plugin for visualization
233 Summary(pl):    Wtyczka do alsaplayera do wizualizacji
234 Group:          X11/Applications/Multimedia
235 Requires:       %{name} = %{version}
236
237 %description scopes-gtk
238 Alsaplayer plugin for visualization.
239
240 %description scopes-gtk -l pl
241 Wtyczka do alsaplayera do wizualizacji.
242
243 %package scopes-opengl
244 Summary:        Alsaplayer plugin for visualization using OpenGL
245 Summary(pl):    Wtyczka do alsaplayera do wizualizacji z u¿yciem OpenGL
246 Group:          X11/Applications/Multimedia
247 Requires:       %{name} = %{version}
248
249 %description scopes-opengl
250 Alsaplayer plugin for visualization using OpenGL.
251
252 %description scopes-opengl -l pl
253 Wtyczka do alsaplayera do wizualizacji z u¿yciem OpenGL.
254
255 %package interface-gtk
256 Summary:        GTK+ interface for Alsaplayer
257 Summary(pl):    Interfejs GTK+ alsaplayera
258 Group:          X11/Applications/Multimedia
259 Requires:       %{name} = %{version}
260
261 %description interface-gtk
262 GTK+ interface for Alsaplayer.
263
264 %description interface-gtk -l pl
265 Interfejs GTK+ alsaplayera.
266
267 %package lib
268 Summary:        Library for remote control Alsaplayer
269 Summary(pl):    Biblioteka do zdalnego sterowania alsaplayerem
270 Group:          X11/Applications/Multimedia
271 Requires:       %{name} = %{version}
272
273 %description lib
274 Library for remote control Alsaplayer.
275
276 %description lib -l pl
277 Biblioteka do zdalnego sterowania alsaplayerem.
278
279 %package devel
280 Summary:        Library for remote control Alsaplayer - development files
281 Summary(pl):    Biblioteka do zdalnego sterowania alsaplayerem - pliki nag³ówkowe
282 Group:          X11/Applications/Multimedia
283 Requires:       %{name}-lib = %{version}
284
285 %description devel
286 Library for remote control Alsaplayer - development files.
287
288 %description devel
289 Biblioteka do zdalnego sterowania alsaplayerem - pliki nag³ówkowe.
290
291 %prep
292 %setup -q
293 %patch0 -p1
294 %patch1 -p1
295
296 %build
297 rm -f missing
298 %{__libtoolize}
299 %{__aclocal}
300 %{__autoconf}
301 %{__automake}
302 CPPFLAGS=" -I/usr/X11R6/include"
303 LDFLAGS="%{rpmldflags} -L/usr/X11R6/lib"
304 export CPPFLAGS LDFLAGS
305 %configure \
306         --enable-alsa \
307         --enable-audiofile \
308         --enable-esd \
309         --enable-gtk \
310         --enable-mikmod \
311         --enable-nas \
312         --enable-oggvorbis \
313         --enable-opengl \
314         --enable-oss \
315 %ifarch sparc
316         --enable-sparc
317 %endif
318
319 %{__make}
320
321 %install
322 rm -rf $RPM_BUILD_ROOT
323
324 %{__make} install \
325         DESTDIR=$RPM_BUILD_ROOT \
326         pkgconfigdir=%{_pkgconfigdir}
327
328 %clean
329 rm -rf $RPM_BUILD_ROOT
330
331 %files
332 %defattr(644,root,root,755)
333 %doc AUTHORS README ChangeLog
334 %attr(755,root,root) %{_bindir}/alsaplayer
335 %dir %{_pkglibdir}
336 %dir %{_pkglibdir}/input
337 %attr(755,root,root) %{_pkglibdir}/input/libcdda.so
338 %{_pkglibdir}/input/libcdda.la
339 %attr(755,root,root) %{_pkglibdir}/input/libwav.so
340 %{_pkglibdir}/input/libwav.la
341 %dir %{_pkglibdir}/output
342 %attr(755,root,root) %{_pkglibdir}/output/liboss_out.so
343 %{_pkglibdir}/output/liboss_out.la
344 %attr(755,root,root) %{_pkglibdir}/output/libnull_out.so
345 %{_pkglibdir}/output/libnull_out.la
346 %ifarch sparc
347 %attr(755,root,root) %{_pkglibdir}/output/libsparc_out.so
348 %{_pkglibdir}/output/libsparc_out.la
349 %endif
350 %dir %{_pkglibdir}/interface
351 %attr(755,root,root) %{_pkglibdir}/interface/libtext.so
352 %{_pkglibdir}/interface/libtext.la
353 %attr(755,root,root) %{_pkglibdir}/interface/libdaemon.so
354 %{_pkglibdir}/interface/libdaemon.la
355 %dir %{_pkglibdir}/scopes
356 %dir %{_pkglibdir}/reader
357 %{_pkglibdir}/reader/libfile.la
358 %attr(755,root,root) %{_pkglibdir}/reader/libfile.so
359 %{_pkglibdir}/reader/libhttp.la
360 %attr(755,root,root) %{_pkglibdir}/reader/libhttp.so
361 %{_mandir}/man*/*
362
363 %files interface-gtk
364 %defattr(644,root,root,755)
365 %attr(755,root,root) %{_pkglibdir}/interface/libgtk.so
366 %{_pkglibdir}/interface/libgtk.la
367
368 %files scopes-gtk
369 %defattr(644,root,root,755)
370 %attr(755,root,root) %{_pkglibdir}/scopes/libblurscope.so
371 %{_pkglibdir}/scopes/libblurscope.la
372 %attr(755,root,root) %{_pkglibdir}/scopes/liblevelmeter.so
373 %{_pkglibdir}/scopes/liblevelmeter.la
374 %attr(755,root,root) %{_pkglibdir}/scopes/liblogbarfft.so
375 %{_pkglibdir}/scopes/liblogbarfft.la
376 %attr(755,root,root) %{_pkglibdir}/scopes/libmonoscope.so
377 %{_pkglibdir}/scopes/libmonoscope.la
378 %attr(755,root,root) %{_pkglibdir}/scopes/libspacescope.so
379 %{_pkglibdir}/scopes/libspacescope.la
380 %attr(755,root,root) %{_pkglibdir}/scopes/libsynaescope.so
381 %{_pkglibdir}/scopes/libsynaescope.la
382
383 %files scopes-opengl
384 %defattr(644,root,root,755)
385 %attr(755,root,root) %{_pkglibdir}/scopes/liboglspectrum.so
386 %{_pkglibdir}/scopes/liboglspectrum.la
387
388 %files input-mikmod
389 %defattr(644,root,root,755)
390 %attr(755,root,root) %{_pkglibdir}/input/libmod.so
391 %{_pkglibdir}/input/libmod.la
392
393 %files input-vorbis
394 %defattr(644,root,root,755)
395 %attr(755,root,root) %{_pkglibdir}/input/libvorbis_in.so
396 %{_pkglibdir}/input/libvorbis_in.la
397
398 %files input-audiofile
399 %defattr(644,root,root,755)
400 %attr(755,root,root) %{_pkglibdir}/input/libaf.so
401 %{_pkglibdir}/input/libaf.la
402
403 %files input-mad
404 %defattr(644,root,root,755)
405 %attr(755,root,root) %{_pkglibdir}/input/libmad_in.so
406 %{_pkglibdir}/input/libmad_in.la
407
408 %files output-alsa
409 %defattr(644,root,root,755)
410 %attr(755,root,root) %{_pkglibdir}/output/libalsa_out.so
411 %{_pkglibdir}/output/libalsa_out.la
412
413 %files output-esound
414 %defattr(644,root,root,755)
415 %attr(755,root,root) %{_pkglibdir}/output/libesound_out.so
416 %{_pkglibdir}/output/libesound_out.la
417
418 %files output-nas
419 %defattr(644,root,root,755)
420 %attr(755,root,root) %{_pkglibdir}/output/libnas_out.so
421 %{_pkglibdir}/output/libnas_out.la
422
423 #%files reader-curl
424 #%defattr(644,root,root,755)
425 #%{_pkglibdir}/reader/libcurl.la
426 #%attr(755,root,root) %{_pkglibdir}/reader/libcurl.so
427
428 %files lib
429 %defattr(644,root,root,755)
430 %attr(755,root,root) %{_libdir}/libalsaplayer.so.0.0.2
431
432 %files devel
433 %defattr(644,root,root,755)
434 %{_includedir}/alsaplayer
435 %{_libdir}/libalsaplayer.la
436 %{_libdir}/libalsaplayer.so
437 %{_pkgconfigdir}/alsaplayer.pc
This page took 0.119489 seconds and 4 git commands to generate.