2007-10-29 18:37:04 +00:00
|
|
|
Name: SDL_sound
|
2008-04-23 08:56:02 +00:00
|
|
|
Version: 1.0.3
|
2021-07-21 17:03:05 +00:00
|
|
|
Release: 28%{?dist}
|
2007-10-29 18:37:04 +00:00
|
|
|
Summary: Library handling decoding of several popular sound file formats
|
|
|
|
License: LGPLv2+
|
|
|
|
URL: http://www.icculus.org/SDL_sound
|
|
|
|
# This is:
|
|
|
|
# http://www.icculus.org/SDL_sound/downloads/%{name}-%{version}.tar.gz
|
2018-03-28 10:57:34 +00:00
|
|
|
# With PBProjects.tar.gz (contains binaries) removed
|
|
|
|
Source0: %{name}-%{version}-clean.tar.gz
|
2021-01-08 21:19:59 +00:00
|
|
|
BuildRequires: make
|
2007-10-29 18:37:04 +00:00
|
|
|
BuildRequires: SDL-devel flac-devel speex-devel libvorbis-devel libogg-devel
|
2008-02-17 17:47:26 +00:00
|
|
|
BuildRequires: mikmod-devel libmodplug-devel physfs-devel doxygen
|
2018-03-28 10:57:34 +00:00
|
|
|
# SDL_sound uses a very stripped down mpg123-libs called mpglib
|
|
|
|
Provides: bundled(mpglib)
|
|
|
|
Provides: bundled(mpg123-libs)
|
2007-10-29 18:37:04 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
SDL_sound is a library that handles the decoding of several popular sound file
|
|
|
|
formats, such as .WAV and .OGG.
|
|
|
|
|
|
|
|
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: %{summary}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: SDL-devel
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%{description}
|
|
|
|
|
|
|
|
This package contains the headers and libraries for SDL_sound development.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2008-02-17 17:47:26 +00:00
|
|
|
%setup -q
|
2007-10-29 18:37:04 +00:00
|
|
|
# Avoid lib64 rpaths
|
|
|
|
sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
2018-03-28 10:57:34 +00:00
|
|
|
export CFLAGS="$RPM_OPT_FLAGS -D__EXPORT__= -Wno-pointer-sign -Wno-deprecated-declarations"
|
|
|
|
# no smpeg because of patents!
|
2007-10-29 18:37:04 +00:00
|
|
|
%configure --disable-dependency-tracking --disable-static \
|
2018-03-28 10:57:34 +00:00
|
|
|
--disable-smpeg --enable-mpglib --enable-mikmod --enable-ogg \
|
2007-10-29 18:37:04 +00:00
|
|
|
--enable-modplug --enable-speex --enable-flac --enable-midi
|
|
|
|
make %{?_smp_mflags}
|
2008-02-17 17:47:26 +00:00
|
|
|
doxygen Doxyfile
|
2007-10-29 18:37:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
# Add namespaces to man pages (livna bug #1181)
|
|
|
|
cp -a docs/man/man3 man3
|
|
|
|
pushd man3
|
|
|
|
mv actual.3 Sound_Sample::actual.3
|
|
|
|
mv author.3 Sound_DecoderInfo::author.3
|
|
|
|
mv buffer.3 Sound_Sample::buffer.3
|
|
|
|
mv buffer_size.3 Sound_Sameple::buffer_size.3
|
|
|
|
mv channels.3 Sound_AudioInfo::channels.3
|
|
|
|
mv decoder.3 Sound_Sample::decoder.3
|
|
|
|
mv description.3 Sound_DecoderInfo::description.3
|
|
|
|
mv desired.3 Sound_Sample::desired.3
|
|
|
|
mv extensions.3 Sound_DecoderInfo::extensions.3
|
|
|
|
mv flags.3 Sound_Sample::flags.3
|
|
|
|
mv format.3 Sound_AudioInfo::format.3
|
|
|
|
mv major.3 Sound_Version::major.3
|
|
|
|
mv minor.3 Sound_Version::minor.3
|
|
|
|
mv opaque.3 Sound_Sample::opaque.3
|
|
|
|
mv patch.3 Sound_Version::patch.3
|
|
|
|
mv rate.3 Sound_AudioInfo::rate.3
|
|
|
|
mv url.3 Sound_DecoderInfo::url.3
|
|
|
|
popd
|
|
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_mandir}
|
|
|
|
mv man3 $RPM_BUILD_ROOT/%{_mandir}
|
|
|
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-01-22 17:40:57 +00:00
|
|
|
%ldconfig_scriptlets
|
2007-10-29 18:37:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files
|
2018-03-28 10:57:34 +00:00
|
|
|
%license COPYING
|
|
|
|
%doc README TODO
|
2008-04-23 08:56:02 +00:00
|
|
|
%{_bindir}/playsound*
|
2007-10-29 18:37:04 +00:00
|
|
|
%{_libdir}/libSDL_sound-1.0.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%doc docs/html
|
|
|
|
%{_libdir}/libSDL_sound*.so
|
|
|
|
%{_includedir}/SDL/SDL_sound.h
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2021-07-21 17:03:05 +00:00
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-28
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-01-25 23:36:33 +00:00
|
|
|
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-27
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-27 11:32:23 +00:00
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-26
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-01-28 10:57:32 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-25
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-24 17:16:12 +00:00
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-24
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-01-31 12:43:11 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-23
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-12 19:49:32 +00:00
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-22
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-03-28 10:57:34 +00:00
|
|
|
* Wed Mar 28 2018 Hans de Goede <j.w.r.degoede@hhs.nl> - 1.0.3-21
|
|
|
|
- Fix FTBFS (rhbz#1555579)
|
|
|
|
- Enable mp3 support now that it is allowed in Fedora (rhbz#1561308)
|
|
|
|
|
2018-02-07 01:32:23 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-20
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-08-02 17:16:02 +00:00
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-19
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 02:22:36 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-18
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-10 05:34:26 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-17
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-02-03 15:49:40 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-16
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-16 23:23:26 +00:00
|
|
|
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-08-15 19:35:31 +00:00
|
|
|
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-06 23:40:20 +00:00
|
|
|
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-02 23:49:28 +00:00
|
|
|
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-13 16:03:10 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-18 15:12:05 +00:00
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-01-12 20:48:55 +00:00
|
|
|
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-12-15 21:41:21 +00:00
|
|
|
* Fri Dec 9 2011 Tom Callaway <spot@fedoraproject.org> - 1.0.3-8
|
|
|
|
- rebuild again
|
|
|
|
|
2011-12-15 20:45:36 +00:00
|
|
|
* Fri Dec 9 2011 Tom Callaway <spot@fedoraproject.org> - 1.0.3-7
|
|
|
|
- rebuild
|
|
|
|
|
2011-02-08 01:14:16 +00:00
|
|
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-05-31 21:59:59 +00:00
|
|
|
* Tue Jun 1 2010 Ville Skyttä <ville.skytta@iki.fi> - 1.0.3-5
|
|
|
|
- Rebuild.
|
|
|
|
|
2009-08-20 17:49:33 +00:00
|
|
|
* Thu Aug 20 2009 Warren Togami <wtogami@redhat.com> - 1.0.3-4
|
|
|
|
- rebuild
|
|
|
|
|
2009-07-24 16:19:26 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-23 23:24:35 +00:00
|
|
|
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-04-23 08:56:02 +00:00
|
|
|
* Mon Apr 21 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 1.0.3-1
|
|
|
|
- New upstream release 1.0.3
|
|
|
|
|
2008-02-17 17:47:26 +00:00
|
|
|
* Sun Feb 17 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 1.0.1-9
|
|
|
|
- Rebuild for new libmikmod
|
|
|
|
- Rebuild with gcc 4.3
|
|
|
|
- Stop shipping pre-generated doxygen docs, now that doxygen is fixed to no
|
|
|
|
longer cause multilib conflicts
|
|
|
|
|
2007-10-29 18:37:04 +00:00
|
|
|
* Sun Oct 28 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.0.1-8
|
|
|
|
- Stop unnecessary linking to libvorbisenc (bz 355811)
|
|
|
|
|
|
|
|
* Sun Oct 28 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.0.1-7
|
|
|
|
- Remove support for patented sound formats (not used by any package in the
|
|
|
|
Fedora-verse), submit to Fedora
|
|
|
|
- Only include html version of doxygen docs (not latex source)
|
|
|
|
- Update license tag for new licensing guidelines compliance
|
|
|
|
- Use prebuild doxygen docs to avoid multilib conflicts
|
|
|
|
|
|
|
|
* Sat Mar 3 2007 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> 1.0.1-6
|
|
|
|
- Rebuild for devel
|
|
|
|
|
|
|
|
* Sun Dec 3 2006 Christopher Stone <chris.stone@gmail.com> 1.0.1-5
|
|
|
|
- Fix livna bug #1181
|
|
|
|
- Add physfs-devel to BR
|
|
|
|
|
|
|
|
* Sat Dec 2 2006 Christopher Stone <chris.stone@gmail.com> 1.0.1-4
|
|
|
|
- Fix bug #1297
|
|
|
|
- Whitespace cleanup
|
|
|
|
|
|
|
|
* Fri Oct 6 2006 Dams <anvil[AT]livna.org> - 1.0.1-3
|
|
|
|
- Disabled static
|
|
|
|
- devel packages Requires:SDL-devel because SDL_sound.h requires SDL.h
|
|
|
|
- a bit of cleanup
|
|
|
|
|
|
|
|
* Fri Oct 6 2006 Dams <anvil[AT]livna.org> - 1.0.1-2
|
|
|
|
- Added disttag
|
|
|
|
|
|
|
|
* Sat Feb 18 2006 Thorsten Leemhuis <fedora[AT]leemhuis.info> 0:1.0.1-1
|
|
|
|
- drop epoch, 0.lvn
|
|
|
|
|
|
|
|
* Fri Nov 21 2003 Panu Matilainen <pmatilai@welho.com> 0:1.0.1-0.lvn.1
|
|
|
|
- Initial RPM release.
|