]>
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 |
e022b074 | 5 | Release: 9 |
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 |
75e485a1 | 10 | Patch0: %{name}-physfs.patch |
e204f46d | 11 | URL: http://www.icculus.org/SDL_sound/ |
8c8c947a | 12 | BuildRequires: SDL-devel >= 1.2.6 |
e204f46d | 13 | BuildRequires: autoconf |
14 | BuildRequires: automake | |
d54f7083 | 15 | BuildRequires: flac-devel >= 1.1.3 |
8dcd6e11 | 16 | BuildRequires: libmikmod-devel >= 3.1.5 |
f79fdee5 | 17 | BuildRequires: libmodplug-devel |
8dcd6e11 | 18 | BuildRequires: libvorbis-devel >= 1:1.0-6 |
e204f46d | 19 | BuildRequires: libtool |
75e485a1 | 20 | BuildRequires: physfs-devel >= 3 |
8dcd6e11 JB |
21 | BuildRequires: smpeg-devel >= 0.4.4-12 |
22 | BuildRequires: speex-devel | |
8c8c947a | 23 | Requires: SDL >= 1.2.6 |
e204f46d | 24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
25 | ||
e204f46d | 26 | %description |
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 | |
37 | desires. | |
38 | ||
7bf6386f JR |
39 | %description -l pl.UTF-8 |
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. | |
713085e9 | 51 | |
e8f6923a JB |
52 | %package play |
53 | Summary: SDL_sound/physfs based music player | |
54 | Summary(pl.UTF-8): Odtwarzacz muzyki oparty na SDL_sound/physfs | |
55 | Group: Applications/Sound | |
56 | Requires: %{name} = %{version}-%{release} | |
57 | Requires: physfs >= 3 | |
58 | ||
59 | %description play | |
60 | SDL_sound/physfs based music player. | |
61 | ||
62 | %description play -l pl.UTF-8 | |
63 | Odtwarzacz muzyki oparty na SDL_sound/physfs. | |
64 | ||
e204f46d | 65 | %package devel |
66 | Summary: Header files and more to develop SDL_sound applications | |
321fcf57 | 67 | Summary(pl.UTF-8): Pliki nagłówkowe do tworzenia aplikacji z użyciem SDL_sound |
e204f46d | 68 | Group: Development/Libraries |
7b652f1b | 69 | Requires: %{name} = %{version}-%{release} |
8dcd6e11 | 70 | Requires: SDL-devel >= 1.2.6 |
d54f7083 | 71 | Requires: flac-devel >= 1.1.3 |
8dcd6e11 | 72 | Requires: libmikmod-devel >= 3.1.5 |
f79fdee5 | 73 | Requires: libmodplug-devel |
8dcd6e11 JB |
74 | Requires: libvorbis-devel >= 1:1.0 |
75 | Requires: smpeg-devel >= 0.4.4 | |
76 | Requires: speex-devel | |
e204f46d | 77 | |
78 | %description devel | |
79 | Header files and more to develop SDL_sound applications. | |
80 | ||
7bf6386f JR |
81 | %description devel -l pl.UTF-8 |
82 | Pliki nagłówkowe do tworzenia aplikacji z użyciem SDL_sound. | |
713085e9 | 83 | |
e204f46d | 84 | %package static |
85 | Summary: Static SDL_sound libraries | |
321fcf57 | 86 | Summary(pl.UTF-8): Statyczne biblioteki SDL_sound |
e204f46d | 87 | Group: Development/Libraries |
7b652f1b | 88 | Requires: %{name}-devel = %{version}-%{release} |
e204f46d | 89 | |
90 | %description static | |
713085e9 JB |
91 | Static SDL_sound libraries. |
92 | ||
7bf6386f | 93 | %description static -l pl.UTF-8 |
713085e9 | 94 | Statyczne biblioteki SDL_sound. |
e204f46d | 95 | |
96 | %prep | |
97 | %setup -q | |
75e485a1 | 98 | %patch0 -p1 |
e204f46d | 99 | |
75e485a1 | 100 | %{__rm} acinclude.m4 |
8dcd6e11 | 101 | |
e204f46d | 102 | %build |
8dcd6e11 JB |
103 | %{__libtoolize} |
104 | %{__aclocal} | |
105 | %{__autoconf} | |
106 | %{__autoheader} | |
107 | %{__automake} | |
e204f46d | 108 | %configure |
109 | %{__make} | |
110 | ||
111 | %install | |
112 | rm -rf $RPM_BUILD_ROOT | |
113 | ||
047304ac PG |
114 | %{__make} install \ |
115 | DESTDIR=$RPM_BUILD_ROOT | |
e204f46d | 116 | |
117 | %clean | |
118 | rm -rf $RPM_BUILD_ROOT | |
119 | ||
5a7dc18a | 120 | %post -p /sbin/ldconfig |
e204f46d | 121 | %postun -p /sbin/ldconfig |
122 | ||
123 | %files | |
124 | %defattr(644,root,root,755) | |
f06608c3 JB |
125 | # COPYING contains additional notes |
126 | %doc CHANGELOG COPYING CREDITS README TODO | |
e8f6923a | 127 | %attr(755,root,root) %{_bindir}/playsound_simple |
f06608c3 JB |
128 | %attr(755,root,root) %{_libdir}/libSDL_sound-1.0.so.*.*.* |
129 | %attr(755,root,root) %ghost %{_libdir}/libSDL_sound-1.0.so.1 | |
e204f46d | 130 | |
e8f6923a JB |
131 | %files play |
132 | %defattr(644,root,root,755) | |
133 | %attr(755,root,root) %{_bindir}/playsound | |
134 | ||
e204f46d | 135 | %files devel |
136 | %defattr(644,root,root,755) | |
f06608c3 JB |
137 | %attr(755,root,root) %{_libdir}/libSDL_sound.so |
138 | %{_libdir}/libSDL_sound.la | |
139 | %{_includedir}/SDL/SDL_sound.h | |
e204f46d | 140 | |
141 | %files static | |
142 | %defattr(644,root,root,755) | |
f06608c3 | 143 | %{_libdir}/libSDL_sound.a |