Summary: An abstract soundfile decoder. Name: SDL_sound Version: 1.0.0 Release: 1 License: LGPL Group: Libraries Source0: http://www.icculus.org/%{name}/downloads//%{name}-%{version}.tar.gz URL: http://www.icculus.org/SDL_sound/ BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: SDL-devel >= 1.2.0 Requires: SDL >= 1.2.0 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _prefix /usr/X11R6 %description SDL_sound is a library that handles the decoding of several popular sound file formats, such as .WAV and .MP3. It is meant to make the programmer's sound playback tasks simpler. The programmer gives SDL_sound a filename, or feeds it data directly from one of many sources, and then reads the decoded waveform data back at her leisure. If resource constraints are a concern, SDL_sound can process sound data in programmer-specified blocks. Alternately, SDL_sound can decode a whole sound file and hand back a single pointer to the whole waveform. SDL_sound can also handle sample rate, audio format, and channel conversion on-the-fly and behind-the-scenes, if the programmer desires. %package devel Summary: Header files and more to develop SDL_sound applications Group: Development/Libraries Requires: %{name} = %{version} Requires: SDL-devel %description devel Header files and more to develop SDL_sound applications. %package static Summary: Static SDL_sound libraries Group: Development/Libraries Requires: %{name}-devel = %{version} %description static Statis SDL_net libraries. %prep %setup -q %build %configure %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/playsound %attr(755,root,root) %{_libdir}/lib*.so.*.* %files devel %defattr(644,root,root,755) %doc README %attr(755,root,root) %{_libdir}/lib*.so %{_libdir}/lib*.la %{_includedir}/SDL/* %files static %defattr(644,root,root,755) %{_libdir}/lib*.a