2007-01-15 23:50:24 +01:00
|
|
|
#
|
2007-07-27 02:09:24 +02:00
|
|
|
# spec file for package SDL_mixer (Version 1.2.8)
|
2007-01-15 23:50:24 +01:00
|
|
|
#
|
2009-05-28 23:36:18 +02:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:50:24 +01:00
|
|
|
#
|
2008-11-02 15:44:46 +01:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-15 23:50:24 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-10 15:32:35 +02:00
|
|
|
|
2007-01-15 23:50:24 +01:00
|
|
|
Name: SDL_mixer
|
2009-05-28 23:36:18 +02:00
|
|
|
BuildRequires: libSDL-devel libmikmod-devel libogg-devel libvorbis-devel
|
2007-01-15 23:50:24 +01:00
|
|
|
Summary: Sample Mixer Library for SDL
|
2007-07-27 02:09:24 +02:00
|
|
|
Version: 1.2.8
|
2009-06-02 12:37:24 +02:00
|
|
|
Release: 155
|
2007-12-17 12:05:19 +01:00
|
|
|
License: LGPL v2.1 or later
|
2007-01-15 23:50:24 +01:00
|
|
|
Group: System/Libraries
|
2009-06-02 12:37:24 +02:00
|
|
|
# removed VisualC.zip, Watcom-OS2.zip, Xcode.tar.gz from upstream tarball [bnc#508180]
|
|
|
|
Source: %{name}-%{version}-repack.tar.bz2
|
2007-07-27 02:09:24 +02:00
|
|
|
Patch0: %{name}-%{version}-timidity_cfg.patch
|
|
|
|
Patch1: %{name}-%{version}-64bit-fix.patch
|
2007-12-17 12:05:19 +01:00
|
|
|
Url: http://www.libsdl.org/projects/SDL_mixer/
|
2007-01-15 23:50:24 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-12-17 12:05:19 +01:00
|
|
|
|
2009-05-28 23:36:18 +02:00
|
|
|
%description
|
|
|
|
A multichannel audio mixer. It supports four channels of 16-bit stereo
|
|
|
|
audio, plus a single channel of music, mixed by the popular MikMod MOD,
|
|
|
|
Timidity MIDI, and SMPEG MP3 libraries.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libSDL_mixer-1_2-0
|
|
|
|
Summary: Sample Mixer Library for SDL
|
|
|
|
Group: System/Libraries
|
2008-04-10 15:32:35 +02:00
|
|
|
License: LGPL v2.1 or later
|
2009-05-28 23:36:18 +02:00
|
|
|
Provides: SDL_mixer = %{version}
|
|
|
|
Obsoletes: SDL_mixer < %{version}
|
2008-11-02 15:44:46 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
2009-05-28 23:36:18 +02:00
|
|
|
Obsoletes: SDL_mixer-64bit
|
2008-11-02 15:44:46 +01:00
|
|
|
%endif
|
2007-01-15 23:50:24 +01:00
|
|
|
|
2009-05-28 23:36:18 +02:00
|
|
|
%description -n libSDL_mixer-1_2-0
|
2007-01-15 23:50:24 +01:00
|
|
|
A multichannel audio mixer. It supports four channels of 16-bit stereo
|
|
|
|
audio, plus a single channel of music, mixed by the popular MikMod MOD,
|
|
|
|
Timidity MIDI, and SMPEG MP3 libraries.
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-05-28 23:36:18 +02:00
|
|
|
%package -n libSDL_mixer-devel
|
|
|
|
License: LGPL v2.1 or later
|
|
|
|
Requires: %{name} = %{version} SDL-devel
|
|
|
|
Summary: Sample Mixer Library for SDL - files mandatory for development
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libSDL_mixer-1_2-0 = %{version} libSDL-devel
|
|
|
|
Provides: SDL_mixer-devel = %{version}
|
|
|
|
Obsoletes: SDL_mixer-devel < %{version}
|
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: SDL_mixer-devel-64bit
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%description -n libSDL_mixer-devel
|
2007-01-15 23:50:24 +01:00
|
|
|
A multi-channel audio mixer. It supports 4 channels of 16-bit stereo
|
|
|
|
audio, plus a single channel of music, mixed by the popular MikMod MOD,
|
|
|
|
Timidity MIDI, and SMPEG MP3 libraries.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2009-05-28 23:36:18 +02:00
|
|
|
%setup -q
|
2007-07-27 02:09:24 +02:00
|
|
|
%patch0
|
2007-01-15 23:50:24 +01:00
|
|
|
%patch1
|
|
|
|
|
|
|
|
%build
|
2009-05-28 23:36:18 +02:00
|
|
|
%configure \
|
|
|
|
--disable-static \
|
|
|
|
--with-pic \
|
2007-07-27 02:09:24 +02:00
|
|
|
--enable-music-libmikmod
|
2007-03-03 14:36:00 +01:00
|
|
|
make %{?jobs:-j %jobs}
|
2007-01-15 23:50:24 +01:00
|
|
|
|
|
|
|
%install
|
2007-07-27 02:09:24 +02:00
|
|
|
make install install-bin DESTDIR=$RPM_BUILD_ROOT
|
2008-07-09 01:23:19 +02:00
|
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
2007-01-15 23:50:24 +01:00
|
|
|
|
|
|
|
%clean
|
2007-07-27 02:09:24 +02:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2007-01-15 23:50:24 +01:00
|
|
|
|
2009-05-28 23:36:18 +02:00
|
|
|
%post -n libSDL_mixer-1_2-0 -p /sbin/ldconfig
|
2007-01-15 23:50:24 +01:00
|
|
|
|
2009-05-28 23:36:18 +02:00
|
|
|
%postun -n libSDL_mixer-1_2-0 -p /sbin/ldconfig
|
2007-01-15 23:50:24 +01:00
|
|
|
|
2009-05-28 23:36:18 +02:00
|
|
|
%files -n libSDL_mixer-1_2-0
|
2007-01-15 23:50:24 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc README CHANGES COPYING
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
2009-05-28 23:36:18 +02:00
|
|
|
%files -n libSDL_mixer-devel
|
2007-01-15 23:50:24 +01:00
|
|
|
%defattr(-,root,root)
|
2009-05-28 23:36:18 +02:00
|
|
|
%{_bindir}/play*
|
2007-07-27 02:09:24 +02:00
|
|
|
%{_includedir}/SDL/*
|
2007-01-15 23:50:24 +01:00
|
|
|
%{_libdir}/*.so
|
|
|
|
|
2007-03-03 14:36:00 +01:00
|
|
|
%changelog
|
2009-06-02 12:37:24 +02:00
|
|
|
* Fri May 29 2009 prusnak@suse.cz
|
|
|
|
- removed VisualC.zip, Watcom-OS2.zip, Xcode.tar.gz from upstream
|
|
|
|
tarball [bnc#508180]
|
2009-05-28 23:36:18 +02:00
|
|
|
* Wed May 20 2009 prusnak@suse.cz
|
|
|
|
- follow Shared Library Policy
|
2008-12-15 13:12:49 +01:00
|
|
|
* Wed Dec 10 2008 olh@suse.de
|
|
|
|
- use Obsoletes: -XXbit only for ppc64 to help solver during distupgrade
|
|
|
|
(bnc#437293)
|
2008-11-02 15:44:46 +01:00
|
|
|
* Thu Oct 30 2008 olh@suse.de
|
|
|
|
- obsolete old -XXbit packages (bnc#437293)
|
2009-05-28 23:36:18 +02:00
|
|
|
* Sun Jul 06 2008 crrodriguez@suse.de
|
2008-07-09 01:23:19 +02:00
|
|
|
- remove unusable static libraries
|
|
|
|
- cleanup BuildRequires and -devel package dependencies
|
2008-04-10 15:32:35 +02:00
|
|
|
* Thu Apr 10 2008 ro@suse.de
|
|
|
|
- added baselibs.conf file to build xxbit packages
|
|
|
|
for multilib support
|
|
|
|
* Sun Dec 16 2007 sndirsch@suse.de
|
2007-12-17 12:05:19 +01:00
|
|
|
- fixed BuildRequires for SUSE < 10.2
|
2008-04-10 15:32:35 +02:00
|
|
|
* Wed Jul 25 2007 prusnak@suse.cz
|
2007-07-27 02:09:24 +02:00
|
|
|
- updated to 1.2.8
|
|
|
|
* improved detection of Ogg Vorbis and Tremor libraries
|
|
|
|
* fixed memory leaks in Effects API
|
|
|
|
* added support for MP3 playback with libmad (for GPL projects only!)
|
|
|
|
* fixed the final loop of audio samples of a certain size
|
|
|
|
* added support for Ogg Vorbis playback with Tremor (an integer decoder)
|
|
|
|
* fixed memory corruption in timidity resampling code
|
|
|
|
* fixed building SDL_mixer with SDL 1.3 pre-release
|
|
|
|
* fixed compiling both timidity and native midi in the same build
|
|
|
|
* added volume control to playmus
|
|
|
|
* fixed linking with system libmikmod
|
|
|
|
* corrected no-op conditions in SetDistance(), SetPanning() and SetPosition()
|
|
|
|
* fixed copy/paste errors in channel amplitudes
|
|
|
|
- dropped obsoleted patch:
|
|
|
|
* timidity-crash.patch (included in update)
|
|
|
|
* warn.patch (included in update)
|
|
|
|
* libmikmod.patch (included in update)
|
2008-04-10 15:32:35 +02:00
|
|
|
* Sun Jul 22 2007 aj@suse.de
|
2007-07-23 02:19:24 +02:00
|
|
|
- Cleanup BuildRequires.
|
2009-05-28 23:36:18 +02:00
|
|
|
* Sun Apr 15 2007 dmueller@suse.de
|
2007-04-15 10:52:39 +02:00
|
|
|
- fix requires of devel package again
|
2008-04-10 15:32:35 +02:00
|
|
|
* Wed Apr 11 2007 sbrabec@suse.cz
|
2007-04-12 18:17:11 +02:00
|
|
|
- Require just created libmikmod-devel instead of libmikmod.
|
2008-04-10 15:32:35 +02:00
|
|
|
* Fri Mar 02 2007 prusnak@suse.cz
|
2007-03-03 14:36:00 +01:00
|
|
|
- cleaned spec file
|
2008-04-10 15:32:35 +02:00
|
|
|
* Thu Jan 18 2007 prusnak@suse.cz
|
2007-01-18 19:37:48 +01:00
|
|
|
- fixed crash in timidity (timidity-crash.patch) [#235376]
|
2008-04-10 15:32:35 +02:00
|
|
|
* Thu Sep 14 2006 nadvornik@suse.cz
|
2007-01-15 23:50:24 +01:00
|
|
|
- updated to 1.2.7:
|
|
|
|
* Added support for dynamically loading Ogg Vorbis library
|
|
|
|
* Search timidity.cfg also in /etc
|
|
|
|
* Fix memory leaks in timidity player
|
|
|
|
* Always build SDL_RWops music support
|
|
|
|
- fixed Requires of devel subpackage
|
2008-04-10 15:32:35 +02:00
|
|
|
* Fri Mar 10 2006 bk@suse.de
|
2007-01-15 23:50:24 +01:00
|
|
|
- SDL_mixer-devel: add libstdc++ and gcc to Requires (libSDL_mixer.la)
|
|
|
|
- SDL_mixer-devel: add gpm and libmikmod to Requires (libSDL_mixer.la)
|
|
|
|
- SDL_mixer-devel: remove libogg-devel from Requires (already by libvorbis-devel)
|
2008-04-10 15:32:35 +02:00
|
|
|
* Tue Jan 31 2006 aj@suse.de
|
2007-01-15 23:50:24 +01:00
|
|
|
- Add libogg-devel libvorbis-devel to BuildRequires.
|
2008-04-10 15:32:35 +02:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-15 23:50:24 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-04-10 15:32:35 +02:00
|
|
|
* Wed Jul 27 2005 nadvornik@suse.cz
|
2007-01-15 23:50:24 +01:00
|
|
|
- added libmikmod to nfb [#98983]
|
2008-04-10 15:32:35 +02:00
|
|
|
* Thu Jul 21 2005 nadvornik@suse.cz
|
2007-01-15 23:50:24 +01:00
|
|
|
- update to 1.2.6
|
|
|
|
- added devel subpackage
|
2008-04-10 15:32:35 +02:00
|
|
|
* Mon Mar 28 2005 schwab@suse.de
|
2007-01-15 23:50:24 +01:00
|
|
|
- Fix namespace pollution.
|
2008-04-10 15:32:35 +02:00
|
|
|
* Fri Jan 28 2005 ro@suse.de
|
2007-01-15 23:50:24 +01:00
|
|
|
- make it possible to build without smpeg
|
2008-04-10 15:32:35 +02:00
|
|
|
* Sat Jan 10 2004 adrian@suse.de
|
2007-01-15 23:50:24 +01:00
|
|
|
- add %%run_ldconfig
|
2008-04-10 15:32:35 +02:00
|
|
|
* Fri Aug 08 2003 bk@suse.de
|
2007-01-15 23:50:24 +01:00
|
|
|
- update to 1.2.5(numerious fixes, eg for mp3 playback, midi crash)
|
2008-04-10 15:32:35 +02:00
|
|
|
* Mon Dec 16 2002 ro@suse.de
|
2007-01-15 23:50:24 +01:00
|
|
|
- fix build with automake, use "AUTOMAKE_OPTIONS = foreign"
|
2008-04-10 15:32:35 +02:00
|
|
|
* Tue Aug 20 2002 tiwai@suse.de
|
2007-01-15 23:50:24 +01:00
|
|
|
- fixed the detection of 64bit architectures [bug #18106]
|
2008-04-10 15:32:35 +02:00
|
|
|
* Mon Jul 22 2002 bk@suse.de
|
2007-01-15 23:50:24 +01:00
|
|
|
- don't use %%configure, it uses broken target_platform syntax
|
2008-04-10 15:32:35 +02:00
|
|
|
* Tue Jul 16 2002 bk@suse.de
|
2007-01-15 23:50:24 +01:00
|
|
|
- update to 1.2.4
|
2008-04-10 15:32:35 +02:00
|
|
|
* Thu Jul 11 2002 meissner@suse.de
|
2007-01-15 23:50:24 +01:00
|
|
|
- rerun auto* so we get shared libraries too.
|
2008-04-10 15:32:35 +02:00
|
|
|
* Tue Jan 22 2002 ro@suse.de
|
2007-01-15 23:50:24 +01:00
|
|
|
- changed neededforbuild <kdelibs-artsd> to <kdelibs3-artsd>
|
2008-04-10 15:32:35 +02:00
|
|
|
* Thu Oct 18 2001 tiwai@suse.de
|
2007-01-15 23:50:24 +01:00
|
|
|
- added suse_update_config to build shared libraries.
|
|
|
|
- added libogg/libvorbis and devel packages to neededforbuild.
|
2008-04-10 15:32:35 +02:00
|
|
|
* Thu Aug 16 2001 nadvornik@suse.cz
|
2007-01-15 23:50:24 +01:00
|
|
|
- added smpeg-devel to neededforbuild
|
2008-04-10 15:32:35 +02:00
|
|
|
* Wed Aug 08 2001 ro@suse.de
|
2007-01-15 23:50:24 +01:00
|
|
|
- changed neededforbuild <kdelibs kdelibs-devel> to <kdelibs-artsd>
|
2008-04-10 15:32:35 +02:00
|
|
|
* Wed Aug 08 2001 ro@suse.de
|
2007-01-15 23:50:24 +01:00
|
|
|
- changed neededforbuild <sdl> to <SDL>
|
|
|
|
- changed neededforbuild <sdl-devel> to <SDL-devel>
|
2008-04-10 15:32:35 +02:00
|
|
|
* Fri Jun 22 2001 ro@suse.de
|
2007-01-15 23:50:24 +01:00
|
|
|
- added kdelibs for artsd
|
2008-04-10 15:32:35 +02:00
|
|
|
* Thu Apr 12 2001 nadvornik@suse.cz
|
2007-01-15 23:50:24 +01:00
|
|
|
- update to 1.2.0
|
2008-04-10 15:32:35 +02:00
|
|
|
* Mon Mar 26 2001 ro@suse.de
|
2007-01-15 23:50:24 +01:00
|
|
|
- changed neededforbuild <sdl> to <sdl sdl-devel>
|
2008-04-10 15:32:35 +02:00
|
|
|
* Fri Mar 09 2001 ro@suse.de
|
2007-01-15 23:50:24 +01:00
|
|
|
- added xf86
|
2008-04-10 15:32:35 +02:00
|
|
|
* Mon Mar 05 2001 bk@suse.de
|
2007-01-15 23:50:24 +01:00
|
|
|
- rename sdlmixer -> SDL_mixer
|
|
|
|
- Update to 1.1.0 and added smpeg to neededforbuild for MP3 music support
|
|
|
|
- fix copyright (LGPL) and group (Applications/Sound -> System/Libraries)
|
|
|
|
- removed libmikmo from neededforbuild, SDL_mixer uses internal libmikmod
|
|
|
|
(and timidity) libs
|
2008-04-10 15:32:35 +02:00
|
|
|
* Mon Feb 19 2001 uli@suse.de
|
2007-01-15 23:50:24 +01:00
|
|
|
- added alsa* to neededforbuild (needed by new SDL)
|
|
|
|
- added esound-devel to neededforbuild
|
2008-04-10 15:32:35 +02:00
|
|
|
* Mon Nov 06 2000 ro@suse.de
|
2007-01-15 23:50:24 +01:00
|
|
|
- fixed neededforbuild
|
2008-04-10 15:32:35 +02:00
|
|
|
* Mon Oct 16 2000 nadvornik@suse.cz
|
2007-01-15 23:50:24 +01:00
|
|
|
- fixed to compile with correct CFLAGS
|
2008-04-10 15:32:35 +02:00
|
|
|
* Thu May 25 2000 freitag@suse.de
|
2007-01-15 23:50:24 +01:00
|
|
|
- new version v. 1.0.5
|