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