automatic rebuild by autodist [release 1.0.3-5mamba;Sun Aug 22 2010]
This commit is contained in:
parent
b794376457
commit
f210543a43
@ -1,2 +1,4 @@
|
|||||||
# libSDL_sound
|
# libSDL_sound
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
24
libSDL_sound-1.0.1-configure.patch
Normal file
24
libSDL_sound-1.0.1-configure.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
diff -Nru SDL_sound-1.0.1.orig/configure SDL_sound-1.0.1/configure
|
||||||
|
--- SDL_sound-1.0.1.orig/configure 2006-03-31 04:24:10.000000000 +0200
|
||||||
|
+++ SDL_sound-1.0.1/configure 2006-03-31 04:25:33.000000000 +0200
|
||||||
|
@@ -7363,16 +7363,11 @@
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
- printf("\n*** 'smpeg-config --version' returned %d.%d.%d, but the
|
||||||
|
-minimum version\n", $smpeg_major_version, $smpeg_minor_version,
|
||||||
|
-$smpeg_micro_version);
|
||||||
|
- printf("*** of SMPEG required is %d.%d.%d. If smpeg-config is
|
||||||
|
-correct, then it is\n", major, minor, micro);
|
||||||
|
+ printf("\n*** 'smpeg-config --version' returned %d.%d.%d, but the minimum version\n", $smpeg_major_version, $smpeg_minor_version,$smpeg_micro_version);
|
||||||
|
+ printf("*** of SMPEG required is %d.%d.%d. If smpeg-config is correct, then it is\n", major, minor, micro);
|
||||||
|
printf("*** best to upgrade to the required version.\n");
|
||||||
|
- printf("*** If smpeg-config was wrong, set the environment variable
|
||||||
|
-SMPEG_CONFIG\n");
|
||||||
|
- printf("*** to point to the correct copy of smpeg-config, and remove
|
||||||
|
-the file\n");
|
||||||
|
+ printf("*** If smpeg-config was wrong, set the environment variable SMPEG_CONFIG\n");
|
||||||
|
+ printf("*** to point to the correct copy of smpeg-config, and remove the file\n");
|
||||||
|
printf("*** config.cache before re-running configure\n");
|
||||||
|
return 1;
|
||||||
|
}
|
103
libSDL_sound.spec
Normal file
103
libSDL_sound.spec
Normal file
@ -0,0 +1,103 @@
|
|||||||
|
Name: libSDL_sound
|
||||||
|
Version: 1.0.3
|
||||||
|
Release: 5mamba
|
||||||
|
Summary: A library that handles the decoding of several popular sound file formats, such as .WAV and .MP3
|
||||||
|
Group: System/Libraries
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: http://icculus.org/SDL_sound/
|
||||||
|
Source: http://icculus.org/SDL_sound/downloads/SDL_sound-%{version}.tar.gz
|
||||||
|
Patch0: libSDL_sound-1.0.1-configure.patch
|
||||||
|
License: LGPL
|
||||||
|
|
||||||
|
BuildRequires: libsmpeg-devel >= 0.4.5
|
||||||
|
BuildRequires: libflac >= 1.1.2
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libaudio-devel
|
||||||
|
BuildRequires: libdirectfb-devel
|
||||||
|
BuildRequires: libflac-devel >= 1.1.2
|
||||||
|
BuildRequires: libICE-devel
|
||||||
|
BuildRequires: libmikmod-devel >= 3.1.11
|
||||||
|
BuildRequires: libmodplug-devel >= 0.7
|
||||||
|
BuildRequires: libogg-devel >= 1.1.3
|
||||||
|
BuildRequires: libphysfs-devel
|
||||||
|
BuildRequires: libSDL-devel >= 1.2.13
|
||||||
|
BuildRequires: libSM-devel
|
||||||
|
BuildRequires: libspeex-devel >= 1.0.5
|
||||||
|
BuildRequires: libstdc++6-devel
|
||||||
|
BuildRequires: libvorbis-devel >= 1.1.2
|
||||||
|
BuildRequires: libX11-devel
|
||||||
|
BuildRequires: libXau-devel
|
||||||
|
BuildRequires: libxcb-devel
|
||||||
|
BuildRequires: libXdmcp-devel
|
||||||
|
BuildRequires: libXt-devel
|
||||||
|
BuildRequires: libz-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
|
||||||
|
%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: Devel package for %{name}
|
||||||
|
Group: Development/Libraries
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
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.
|
||||||
|
|
||||||
|
This package contains static libraries and header files need for development.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n SDL_sound-%{version}
|
||||||
|
#%patch0 -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure
|
||||||
|
%make
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||||
|
%makeinstall
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc COPYING CREDITS README TODO
|
||||||
|
%{_bindir}/playsound
|
||||||
|
%{_bindir}/playsound_simple
|
||||||
|
%{_libdir}/libSDL_sound-1.0.so.*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_includedir}/SDL
|
||||||
|
%{_includedir}/SDL/*.h
|
||||||
|
%{_libdir}/libSDL_sound.a
|
||||||
|
%{_libdir}/libSDL_sound.la
|
||||||
|
%{_libdir}/libSDL_sound.so
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sun Aug 22 2010 Automatic Build System <autodist@mambasoft.it> 1.0.3-5mamba
|
||||||
|
- automatic rebuild by autodist
|
||||||
|
|
||||||
|
* Thu Jun 03 2010 Automatic Build System <autodist@mambasoft.it> 1.0.3-4mamba
|
||||||
|
- automatic rebuild by autodist
|
||||||
|
|
||||||
|
* Mon Jun 29 2009 Automatic Build System <autodist@mambasoft.it> 1.0.3-3mamba
|
||||||
|
- automatic rebuild by autodist
|
||||||
|
|
||||||
|
* Wed May 20 2009 Automatic Build System <autodist@mambasoft.it> 1.0.3-2mamba
|
||||||
|
- automatic rebuild by autodist
|
||||||
|
|
||||||
|
* Wed Jul 09 2008 gil <puntogil@libero.it> 1.0.3-1mamba
|
||||||
|
- update to 1.0.3
|
||||||
|
- removed patch
|
||||||
|
|
||||||
|
* Fri Mar 31 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-1qilnx
|
||||||
|
- package created by autospec
|
Loading…
Reference in New Issue
Block a user