]>
Commit | Line | Data |
---|---|---|
713085e9 | 1 | Summary: An abstract soundfile decoder |
321fcf57 | 2 | Summary(pl.UTF-8): Abstrakcyjny dekoder plików dźwiękowych |
e204f46d | 3 | Name: SDL_sound |
f06608c3 | 4 | Version: 1.0.3 |
85785ff1 | 5 | Release: 3 |
f06608c3 | 6 | License: LGPL v2.1+ |
e204f46d | 7 | Group: Libraries |
6341b64f | 8 | Source0: http://www.icculus.org/SDL_sound/downloads/%{name}-%{version}.tar.gz |
f06608c3 | 9 | # Source0-md5: aa09cd52df85d29bee87a664424c94b5 |
e204f46d | 10 | URL: http://www.icculus.org/SDL_sound/ |
8c8c947a | 11 | BuildRequires: SDL-devel >= 1.2.6 |
e204f46d | 12 | BuildRequires: autoconf |
13 | BuildRequires: automake | |
d54f7083 | 14 | BuildRequires: flac-devel >= 1.1.3 |
8dcd6e11 | 15 | BuildRequires: libmikmod-devel >= 3.1.5 |
f79fdee5 | 16 | BuildRequires: libmodplug-devel |
8dcd6e11 | 17 | BuildRequires: libvorbis-devel >= 1:1.0-6 |
e204f46d | 18 | BuildRequires: libtool |
04392f3e | 19 | BuildRequires: physfs-devel >= 1.0.1 |
8dcd6e11 JB |
20 | BuildRequires: smpeg-devel >= 0.4.4-12 |
21 | BuildRequires: speex-devel | |
8c8c947a | 22 | Requires: SDL >= 1.2.6 |
e204f46d | 23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
24 | ||
e204f46d | 25 | %description |
26 | SDL_sound is a library that handles the decoding of several popular | |
27 | sound file formats, such as .WAV and .MP3. It is meant to make the | |
28 | programmer's sound playback tasks simpler. The programmer gives | |
29 | SDL_sound a filename, or feeds it data directly from one of many | |
30 | sources, and then reads the decoded waveform data back at her leisure. | |
31 | If resource constraints are a concern, SDL_sound can process sound | |
32 | data in programmer-specified blocks. Alternately, SDL_sound can decode | |
33 | a whole sound file and hand back a single pointer to the whole | |
34 | waveform. SDL_sound can also handle sample rate, audio format, and | |
35 | channel conversion on-the-fly and behind-the-scenes, if the programmer | |
36 | desires. | |
37 | ||
7bf6386f JR |
38 | %description -l pl.UTF-8 |
39 | SDL_sound to biblioteka obsługująca dekodowanie kilku popularnych | |
40 | formatów plików dźwiękowych, takich jak .WAV lub .MP3. Jej celem | |
41 | jest uproszczenie pracy programisty przy odtwarzaniu dźwięku. | |
42 | Programista przekazuje SDL_sound nazwę pliku lub dostarcza dane | |
43 | bezpośrednio z jednego z wielu źródeł, a następnie odczytuje strumień | |
44 | zdekodowanych danych. Jeśli ograniczenia zasobów są istotne, SDL_sound | |
45 | może obsługiwać dane dźwiękowe w podanych blokach. Alternatywnie, | |
46 | SDL_sound może dekodować cały plik dźwiękowy i przekazywać z powrotem | |
47 | pojedynczy wskaźnik do całości zdekodowanych danych. SDL_sound może | |
48 | także obsługiwać w locie konwersję częstotliwości próbkowania, formatu | |
49 | dźwięku i liczby kanałów. | |
713085e9 | 50 | |
e204f46d | 51 | %package devel |
52 | Summary: Header files and more to develop SDL_sound applications | |
321fcf57 | 53 | Summary(pl.UTF-8): Pliki nagłówkowe do tworzenia aplikacji z użyciem SDL_sound |
e204f46d | 54 | Group: Development/Libraries |
7b652f1b | 55 | Requires: %{name} = %{version}-%{release} |
8dcd6e11 | 56 | Requires: SDL-devel >= 1.2.6 |
d54f7083 | 57 | Requires: flac-devel >= 1.1.3 |
8dcd6e11 | 58 | Requires: libmikmod-devel >= 3.1.5 |
f79fdee5 | 59 | Requires: libmodplug-devel |
8dcd6e11 JB |
60 | Requires: libvorbis-devel >= 1:1.0 |
61 | Requires: smpeg-devel >= 0.4.4 | |
62 | Requires: speex-devel | |
e204f46d | 63 | |
64 | %description devel | |
65 | Header files and more to develop SDL_sound applications. | |
66 | ||
7bf6386f JR |
67 | %description devel -l pl.UTF-8 |
68 | Pliki nagłówkowe do tworzenia aplikacji z użyciem SDL_sound. | |
713085e9 | 69 | |
e204f46d | 70 | %package static |
71 | Summary: Static SDL_sound libraries | |
321fcf57 | 72 | Summary(pl.UTF-8): Statyczne biblioteki SDL_sound |
e204f46d | 73 | Group: Development/Libraries |
7b652f1b | 74 | Requires: %{name}-devel = %{version}-%{release} |
e204f46d | 75 | |
76 | %description static | |
713085e9 JB |
77 | Static SDL_sound libraries. |
78 | ||
7bf6386f | 79 | %description static -l pl.UTF-8 |
713085e9 | 80 | Statyczne biblioteki SDL_sound. |
e204f46d | 81 | |
82 | %prep | |
83 | %setup -q | |
84 | ||
f06608c3 | 85 | rm acinclude.m4 |
8dcd6e11 | 86 | |
e204f46d | 87 | %build |
8dcd6e11 JB |
88 | %{__libtoolize} |
89 | %{__aclocal} | |
90 | %{__autoconf} | |
91 | %{__autoheader} | |
92 | %{__automake} | |
e204f46d | 93 | %configure |
94 | %{__make} | |
95 | ||
96 | %install | |
97 | rm -rf $RPM_BUILD_ROOT | |
98 | ||
047304ac PG |
99 | %{__make} install \ |
100 | DESTDIR=$RPM_BUILD_ROOT | |
e204f46d | 101 | |
102 | %clean | |
103 | rm -rf $RPM_BUILD_ROOT | |
104 | ||
5a7dc18a | 105 | %post -p /sbin/ldconfig |
e204f46d | 106 | %postun -p /sbin/ldconfig |
107 | ||
108 | %files | |
109 | %defattr(644,root,root,755) | |
f06608c3 JB |
110 | # COPYING contains additional notes |
111 | %doc CHANGELOG COPYING CREDITS README TODO | |
e204f46d | 112 | %attr(755,root,root) %{_bindir}/playsound |
f06608c3 JB |
113 | %attr(755,root,root) %{_libdir}/libSDL_sound-1.0.so.*.*.* |
114 | %attr(755,root,root) %ghost %{_libdir}/libSDL_sound-1.0.so.1 | |
e204f46d | 115 | |
116 | %files devel | |
117 | %defattr(644,root,root,755) | |
f06608c3 JB |
118 | %attr(755,root,root) %{_libdir}/libSDL_sound.so |
119 | %{_libdir}/libSDL_sound.la | |
120 | %{_includedir}/SDL/SDL_sound.h | |
e204f46d | 121 | |
122 | %files static | |
123 | %defattr(644,root,root,755) | |
f06608c3 | 124 | %{_libdir}/libSDL_sound.a |