2007-01-15 23:50:24 +01:00
|
|
|
#
|
2010-01-12 10:16:12 +01:00
|
|
|
# spec file for package SDL_mixer (Version 1.2.11)
|
2007-01-15 23:50:24 +01:00
|
|
|
#
|
2010-01-14 17:58:08 +01:00
|
|
|
# Copyright (c) 2010 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
|
2010-08-04 23:06:53 +02:00
|
|
|
BuildRequires: flac-devel libSDL-devel libmikmod-devel libvorbis-devel
|
2007-01-15 23:50:24 +01:00
|
|
|
Summary: Sample Mixer Library for SDL
|
2010-01-12 10:16:12 +01:00
|
|
|
Version: 1.2.11
|
2010-08-04 23:06:53 +02:00
|
|
|
Release: 7
|
2010-01-12 10:16:12 +01:00
|
|
|
License: LGPLv2.1+
|
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]
|
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
|
2010-01-12 10:16:12 +01:00
|
|
|
License: LGPLv2.1+
|
2009-05-28 23:36:18 +02:00
|
|
|
Provides: SDL_mixer = %{version}
|
2009-10-08 01:53:47 +02:00
|
|
|
Obsoletes: SDL_mixer <= %{version}
|
2010-07-24 22:37:38 +02:00
|
|
|
Recommends: %(rpm -qf %{_libdir}/libmikmod.so.[0-9] --qf '%{NAME}')
|
|
|
|
Recommends: %(rpm -qf %{_libdir}/libvorbisfile.so.[0-9] --qf '%{NAME}')
|
|
|
|
Recommends: %(rpm -qf %{_libdir}/libFLAC.so.[0-9] --qf '%{NAME}')
|
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
|
2010-01-12 10:16:12 +01:00
|
|
|
License: LGPLv2.1+
|
2009-05-28 23:36:18 +02:00
|
|
|
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}
|
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
|
2009-05-28 23:36:18 +02:00
|
|
|
%configure \
|
|
|
|
--disable-static \
|
2010-07-24 22:37:38 +02:00
|
|
|
--with-pic
|
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
|
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
|