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