forked from pool/SDL_mixer
230 lines
7.8 KiB
RPMSpec
230 lines
7.8 KiB
RPMSpec
#
|
|
# spec file for package SDL_mixer (Version 1.2.8)
|
|
#
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: SDL_mixer
|
|
BuildRequires: libSDL-devel libmikmod-devel libogg-devel libvorbis-devel
|
|
Summary: Sample Mixer Library for SDL
|
|
Version: 1.2.8
|
|
Release: 154
|
|
License: LGPL v2.1 or later
|
|
Group: System/Libraries
|
|
Source: %{name}-%{version}.tar.bz2
|
|
Patch0: %{name}-%{version}-timidity_cfg.patch
|
|
Patch1: %{name}-%{version}-64bit-fix.patch
|
|
Url: http://www.libsdl.org/projects/SDL_mixer/
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%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
|
|
License: LGPL v2.1 or later
|
|
Provides: SDL_mixer = %{version}
|
|
Obsoletes: SDL_mixer < %{version}
|
|
# bug437293
|
|
%ifarch ppc64
|
|
Obsoletes: SDL_mixer-64bit
|
|
%endif
|
|
|
|
%description -n libSDL_mixer-1_2-0
|
|
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-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
|
|
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
|
|
%setup -q
|
|
%patch0
|
|
%patch1
|
|
|
|
%build
|
|
%configure \
|
|
--disable-static \
|
|
--with-pic \
|
|
--enable-music-libmikmod
|
|
make %{?jobs:-j %jobs}
|
|
|
|
%install
|
|
make install install-bin DESTDIR=$RPM_BUILD_ROOT
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%post -n libSDL_mixer-1_2-0 -p /sbin/ldconfig
|
|
|
|
%postun -n libSDL_mixer-1_2-0 -p /sbin/ldconfig
|
|
|
|
%files -n libSDL_mixer-1_2-0
|
|
%defattr(-,root,root)
|
|
%doc README CHANGES COPYING
|
|
%{_libdir}/*.so.*
|
|
|
|
%files -n libSDL_mixer-devel
|
|
%defattr(-,root,root)
|
|
%{_bindir}/play*
|
|
%{_includedir}/SDL/*
|
|
%{_libdir}/*.so
|
|
|
|
%changelog
|
|
* Wed May 20 2009 prusnak@suse.cz
|
|
- follow Shared Library Policy
|
|
* Wed Dec 10 2008 olh@suse.de
|
|
- use Obsoletes: -XXbit only for ppc64 to help solver during distupgrade
|
|
(bnc#437293)
|
|
* Thu Oct 30 2008 olh@suse.de
|
|
- obsolete old -XXbit packages (bnc#437293)
|
|
* Sun Jul 06 2008 crrodriguez@suse.de
|
|
- remove unusable static libraries
|
|
- cleanup BuildRequires and -devel package dependencies
|
|
* 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
|
|
- fixed BuildRequires for SUSE < 10.2
|
|
* Wed Jul 25 2007 prusnak@suse.cz
|
|
- 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)
|
|
* Sun Jul 22 2007 aj@suse.de
|
|
- Cleanup BuildRequires.
|
|
* Sun Apr 15 2007 dmueller@suse.de
|
|
- fix requires of devel package again
|
|
* Wed Apr 11 2007 sbrabec@suse.cz
|
|
- Require just created libmikmod-devel instead of libmikmod.
|
|
* Fri Mar 02 2007 prusnak@suse.cz
|
|
- cleaned spec file
|
|
* Thu Jan 18 2007 prusnak@suse.cz
|
|
- fixed crash in timidity (timidity-crash.patch) [#235376]
|
|
* Thu Sep 14 2006 nadvornik@suse.cz
|
|
- 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
|
|
* Fri Mar 10 2006 bk@suse.de
|
|
- 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)
|
|
* Tue Jan 31 2006 aj@suse.de
|
|
- Add libogg-devel libvorbis-devel to BuildRequires.
|
|
* Wed Jan 25 2006 mls@suse.de
|
|
- converted neededforbuild to BuildRequires
|
|
* Wed Jul 27 2005 nadvornik@suse.cz
|
|
- added libmikmod to nfb [#98983]
|
|
* Thu Jul 21 2005 nadvornik@suse.cz
|
|
- update to 1.2.6
|
|
- added devel subpackage
|
|
* Mon Mar 28 2005 schwab@suse.de
|
|
- Fix namespace pollution.
|
|
* Fri Jan 28 2005 ro@suse.de
|
|
- make it possible to build without smpeg
|
|
* Sat Jan 10 2004 adrian@suse.de
|
|
- add %%run_ldconfig
|
|
* Fri Aug 08 2003 bk@suse.de
|
|
- update to 1.2.5(numerious fixes, eg for mp3 playback, midi crash)
|
|
* Mon Dec 16 2002 ro@suse.de
|
|
- fix build with automake, use "AUTOMAKE_OPTIONS = foreign"
|
|
* Tue Aug 20 2002 tiwai@suse.de
|
|
- fixed the detection of 64bit architectures [bug #18106]
|
|
* Mon Jul 22 2002 bk@suse.de
|
|
- don't use %%configure, it uses broken target_platform syntax
|
|
* Tue Jul 16 2002 bk@suse.de
|
|
- update to 1.2.4
|
|
* Thu Jul 11 2002 meissner@suse.de
|
|
- rerun auto* so we get shared libraries too.
|
|
* Tue Jan 22 2002 ro@suse.de
|
|
- changed neededforbuild <kdelibs-artsd> to <kdelibs3-artsd>
|
|
* Thu Oct 18 2001 tiwai@suse.de
|
|
- added suse_update_config to build shared libraries.
|
|
- added libogg/libvorbis and devel packages to neededforbuild.
|
|
* Thu Aug 16 2001 nadvornik@suse.cz
|
|
- added smpeg-devel to neededforbuild
|
|
* Wed Aug 08 2001 ro@suse.de
|
|
- changed neededforbuild <kdelibs kdelibs-devel> to <kdelibs-artsd>
|
|
* Wed Aug 08 2001 ro@suse.de
|
|
- changed neededforbuild <sdl> to <SDL>
|
|
- changed neededforbuild <sdl-devel> to <SDL-devel>
|
|
* Fri Jun 22 2001 ro@suse.de
|
|
- added kdelibs for artsd
|
|
* Thu Apr 12 2001 nadvornik@suse.cz
|
|
- update to 1.2.0
|
|
* Mon Mar 26 2001 ro@suse.de
|
|
- changed neededforbuild <sdl> to <sdl sdl-devel>
|
|
* Fri Mar 09 2001 ro@suse.de
|
|
- added xf86
|
|
* Mon Mar 05 2001 bk@suse.de
|
|
- 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
|
|
* Mon Feb 19 2001 uli@suse.de
|
|
- added alsa* to neededforbuild (needed by new SDL)
|
|
- added esound-devel to neededforbuild
|
|
* Mon Nov 06 2000 ro@suse.de
|
|
- fixed neededforbuild
|
|
* Mon Oct 16 2000 nadvornik@suse.cz
|
|
- fixed to compile with correct CFLAGS
|
|
* Thu May 25 2000 freitag@suse.de
|
|
- new version v. 1.0.5
|