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