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