From e60c324cf5deeb3194d70af8a255dfa7d7f3d3ef2dbfccc4a1132b41c8e45081 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Sat, 3 Mar 2007 13:36:00 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/SDL_mixer?expand=0&rev=3 --- SDL_mixer.changes | 5 +++++ SDL_mixer.spec | 15 +++++++++------ 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/SDL_mixer.changes b/SDL_mixer.changes index 3c63522..3eb2e55 100644 --- a/SDL_mixer.changes +++ b/SDL_mixer.changes @@ -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 diff --git a/SDL_mixer.spec b/SDL_mixer.spec index 51d1f82..003f99a 100644 --- a/SDL_mixer.spec +++ b/SDL_mixer.spec @@ -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