forked from pool/SDL_mixer
This commit is contained in:
parent
df45b5af07
commit
e60c324cf5
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 2 12:39:04 CET 2007 - prusnak@suse.cz
|
||||
|
||||
- cleaned spec file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 18 17:38:07 CET 2007 - prusnak@suse.cz
|
||||
|
||||
|
@ -15,7 +15,7 @@ BuildRequires: SDL-devel libmikmod libogg-devel libvorbis-devel xorg-x11
|
||||
Summary: Sample Mixer Library for SDL
|
||||
Obsoletes: sdlmixer
|
||||
Version: 1.2.7
|
||||
Release: 34
|
||||
Release: 39
|
||||
License: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
|
||||
Group: System/Libraries
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
@ -24,7 +24,7 @@ Patch1: SDL_mixer-64bit-fix.dif
|
||||
Patch2: SDL_mixer-warn.dif
|
||||
Patch3: SDL_mixer-libmikmod.patch
|
||||
Patch4: SDL_mixer-timidity-crash.patch
|
||||
URL: http://www.libsdl.org/projects/SDL_mixer/index.html
|
||||
URL: http://www.libsdl.org/projects/SDL_mixer/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%package devel
|
||||
Requires: %{name} = %{version} SDL-devel libvorbis-devel libstdc++-devel gcc gpm libmikmod
|
||||
@ -60,12 +60,13 @@ if [ -f /usr/%_lib/libsmpeg.so ] ; then
|
||||
CONF_ARGS="--enable-music-mp3=yes"
|
||||
else
|
||||
CONF_ARGS="--enable-music-mp3=no"
|
||||
fi
|
||||
CFLAGS='%optflags' ./configure --prefix=%_prefix --libdir=%_libdir --enable-music-libmikmod $CONF_ARGS
|
||||
fi
|
||||
%configure \
|
||||
--enable-music-libmikmod $CONF_ARGS
|
||||
grep '^CFLAGS =.*-DUSE_TIMIDITY_MIDI' Makefile || true
|
||||
grep '^CFLAGS =.*-DOGG_MUSIC' Makefile || true
|
||||
grep '^CFLAGS =.*-DMP3_MUSIC' Makefile || true
|
||||
make
|
||||
make %{?jobs:-j %jobs}
|
||||
|
||||
%install
|
||||
make install install-bin DESTDIR=%buildroot
|
||||
@ -92,7 +93,9 @@ rm -rf %buildroot
|
||||
%{_libdir}/*.so
|
||||
%{_includedir}/SDL/*
|
||||
|
||||
%changelog -n SDL_mixer
|
||||
%changelog
|
||||
* 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
|
||||
|
Loading…
Reference in New Issue
Block a user