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