2007-01-15 23:50:24 +01:00
|
|
|
#
|
2011-09-18 20:56:10 +02:00
|
|
|
# spec file for package SDL_mixer
|
2007-01-15 23:50:24 +01:00
|
|
|
#
|
2013-01-07 14:53:55 +01:00
|
|
|
# Copyright (c) 2013 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: SDL_mixer
|
2013-01-07 14:53:55 +01:00
|
|
|
BuildRequires: flac-devel
|
|
|
|
BuildRequires: libSDL-devel
|
|
|
|
BuildRequires: libmikmod-devel
|
|
|
|
BuildRequires: libvorbis-devel
|
2007-01-15 23:50:24 +01:00
|
|
|
Summary: Sample Mixer Library for SDL
|
2013-01-07 14:53:55 +01:00
|
|
|
License: LGPL-2.1+
|
2007-01-15 23:50:24 +01:00
|
|
|
Group: System/Libraries
|
2013-01-07 14:53:55 +01:00
|
|
|
Version: 1.2.11
|
|
|
|
Release: 0
|
2009-06-02 12:37:24 +02:00
|
|
|
# removed VisualC.zip, Watcom-OS2.zip, Xcode.tar.gz from upstream tarball [bnc#508180]
|
2010-01-12 10:16:12 +01:00
|
|
|
# removed libmikmod-3.1.12.zip
|
2009-06-02 12:37:24 +02:00
|
|
|
Source: %{name}-%{version}-repack.tar.bz2
|
2010-01-12 10:16:12 +01:00
|
|
|
Source1: baselibs.conf
|
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
|
|
|
|
Provides: SDL_mixer = %{version}
|
2009-10-08 01:53:47 +02:00
|
|
|
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
|
2013-01-07 14:53:55 +01:00
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: SDL-devel
|
2009-05-28 23:36:18 +02:00
|
|
|
Summary: Sample Mixer Library for SDL - files mandatory for development
|
|
|
|
Group: Development/Libraries/C and C++
|
2013-01-07 14:53:55 +01:00
|
|
|
Requires: libSDL-devel
|
|
|
|
Requires: libSDL_mixer-1_2-0 = %{version}
|
2009-05-28 23:36:18 +02:00
|
|
|
Provides: SDL_mixer-devel = %{version}
|
2009-10-08 01:53:47 +02:00
|
|
|
Obsoletes: SDL_mixer-devel <= %{version}
|
2009-05-28 23:36:18 +02:00
|
|
|
# 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-12-21 15:40:04 +01:00
|
|
|
%setup -q
|
2007-01-15 23:50:24 +01:00
|
|
|
|
|
|
|
%build
|
2013-01-07 14:53:55 +01:00
|
|
|
%configure --disable-music-mod-shared --disable-music-ogg-shared --disable-music-flac-shared \
|
2009-05-28 23:36:18 +02:00
|
|
|
--disable-static \
|
2010-07-24 22:37:38 +02:00
|
|
|
--with-pic
|
2011-07-05 02:09:33 +02:00
|
|
|
make %{?_smp_mflags}
|
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
|
|
|
|
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
|
2010-01-14 17:58:08 +01:00
|
|
|
%{_libdir}/pkgconfig/SDL_mixer.pc
|
2007-01-15 23:50:24 +01:00
|
|
|
|
2007-03-03 14:36:00 +01:00
|
|
|
%changelog
|