1 Summary: An abstract soundfile decoder
2 Summary(pl): Abstrakcyjny dekoder plików d¼wiêkowych
8 Source0: http://www.icculus.org/SDL_sound/downloads/%{name}-%{version}.tar.gz
9 # Source0-md5: 49e197ef7c8ab623d0640dc74be43160
10 Patch0: %{name}-flac.patch
11 URL: http://www.icculus.org/SDL_sound/
12 BuildRequires: SDL-devel >= 1.2.6
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: flac-devel >= 1.1.3
16 BuildRequires: libmikmod-devel >= 3.1.5
17 BuildRequires: libmodplug-devel
18 BuildRequires: libvorbis-devel >= 1:1.0-6
19 BuildRequires: libtool
20 BuildRequires: physfs-devel
21 BuildRequires: smpeg-devel >= 0.4.4-12
22 BuildRequires: speex-devel
23 Requires: SDL >= 1.2.6
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 SDL_sound is a library that handles the decoding of several popular
28 sound file formats, such as .WAV and .MP3. It is meant to make the
29 programmer's sound playback tasks simpler. The programmer gives
30 SDL_sound a filename, or feeds it data directly from one of many
31 sources, and then reads the decoded waveform data back at her leisure.
32 If resource constraints are a concern, SDL_sound can process sound
33 data in programmer-specified blocks. Alternately, SDL_sound can decode
34 a whole sound file and hand back a single pointer to the whole
35 waveform. SDL_sound can also handle sample rate, audio format, and
36 channel conversion on-the-fly and behind-the-scenes, if the programmer
40 SDL_sound to biblioteka obs³uguj±ca dekodowanie kilku popularnych
41 formatów plików d¼wiêkowych, takich jak .WAV lub .MP3. Jej celem
42 jest uproszczenie pracy programisty przy odtwarzaniu d¼wiêku.
43 Programista przekazuje SDL_sound nazwê pliku lub dostarcza dane
44 bezpo¶rednio z jednego z wielu ¼róde³, a nastêpnie odczytuje strumieñ
45 zdekodowanych danych. Je¶li ograniczenia zasobów s± istotne, SDL_sound
46 mo¿e obs³ugiwaæ dane d¼wiêkowe w podanych blokach. Alternatywnie,
47 SDL_sound mo¿e dekodowaæ ca³y plik d¼wiêkowy i przekazywaæ z powrotem
48 pojedynczy wska¼nik do ca³o¶ci zdekodowanych danych. SDL_sound mo¿e
49 tak¿e obs³ugiwaæ w locie konwersjê czêstotliwo¶ci próbkowania, formatu
50 d¼wiêku i liczby kana³ów.
53 Summary: Header files and more to develop SDL_sound applications
54 Summary(pl): Pliki nag³ówkowe do tworzenia aplikacji z u¿yciem SDL_sound
55 Group: Development/Libraries
56 Requires: %{name} = %{version}-%{release}
57 Requires: SDL-devel >= 1.2.6
58 Requires: flac-devel >= 1.1.3
59 Requires: libmikmod-devel >= 3.1.5
60 Requires: libmodplug-devel
61 Requires: libvorbis-devel >= 1:1.0
62 Requires: smpeg-devel >= 0.4.4
66 Header files and more to develop SDL_sound applications.
68 %description devel -l pl
69 Pliki nag³ówkowe do tworzenia aplikacji z u¿yciem SDL_sound.
72 Summary: Static SDL_sound libraries
73 Summary(pl): Statyczne biblioteki SDL_sound
74 Group: Development/Libraries
75 Requires: %{name}-devel = %{version}-%{release}
78 Static SDL_sound libraries.
80 %description static -l pl
81 Statyczne biblioteki SDL_sound.
87 echo 'AC_DEFUN([AM_PATH_VORBIS],[XIPH_PATH_VORBIS])' > acinclude.m4
95 CPPFLAGS="-I/usr/include/libmodplug -I/usr/include/speex"
100 rm -rf $RPM_BUILD_ROOT
103 DESTDIR=$RPM_BUILD_ROOT
106 rm -rf $RPM_BUILD_ROOT
108 %post -p /sbin/ldconfig
109 %postun -p /sbin/ldconfig
112 %defattr(644,root,root,755)
113 %doc CHANGELOG CREDITS README TODO
114 %attr(755,root,root) %{_bindir}/playsound
115 %attr(755,root,root) %{_libdir}/lib*.so.*.*
118 %defattr(644,root,root,755)
119 %attr(755,root,root) %{_libdir}/lib*.so
124 %defattr(644,root,root,755)