From 7116ba4fcc67e68a4a05b79211b692400f29803b8ebc7bdd44268d64a5ac2f8e Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Thu, 15 Aug 2013 13:56:53 +0000 Subject: [PATCH 1/2] Accepting request 187068 from home:jengelh:branches:games - Some metadata spruce-up: add current URLs, softer wildcarding in the files list OBS-URL: https://build.opensuse.org/request/show/187068 OBS-URL: https://build.opensuse.org/package/show/games/SDL_mixer?expand=0&rev=21 --- SDL_mixer.changes | 6 ++++++ SDL_mixer.spec | 46 +++++++++++++++++++++------------------------- 2 files changed, 27 insertions(+), 25 deletions(-) diff --git a/SDL_mixer.changes b/SDL_mixer.changes index f5a81e4..eb8f3a8 100644 --- a/SDL_mixer.changes +++ b/SDL_mixer.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Aug 13 12:04:26 UTC 2013 - jengelh@inai.de + +- Some metadata spruce-up: add current URLs, softer wildcarding + in the files list + ------------------------------------------------------------------- Sun Feb 24 09:35:38 UTC 2013 - mailaender@opensuse.org diff --git a/SDL_mixer.spec b/SDL_mixer.spec index 88001e3..6f8a738 100644 --- a/SDL_mixer.spec +++ b/SDL_mixer.spec @@ -17,29 +17,30 @@ Name: SDL_mixer +%define lname libSDL_mixer-1_2-0 +Summary: Sample Mixer Library for SDL +License: Zlib +Group: Development/Libraries/C and C++ +Version: 1.2.12 +Release: 0 +Url: http://libsdl.org/projects/SDL_mixer/release-1.2.html + +Source: http://libsdl.org/projects/SDL_image/release/%name-%version.tar.gz +Source1: baselibs.conf +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: flac-devel BuildRequires: fluidsynth-devel BuildRequires: libSDL-devel BuildRequires: libmikmod-devel BuildRequires: libvorbis-devel -Summary: Sample Mixer Library for SDL -License: Zlib -Group: System/Libraries -Version: 1.2.12 -Release: 0 -Source: %{name}-%{version}.tar.gz -Source1: baselibs.conf -Url: http://www.libsdl.org/projects/SDL_mixer/ -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: pkgconfig %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 +%package -n %lname Summary: Sample Mixer Library for SDL Group: System/Libraries Provides: SDL_mixer = %{version} @@ -49,20 +50,17 @@ Obsoletes: SDL_mixer < %{version} Obsoletes: SDL_mixer-64bit %endif -%description -n libSDL_mixer-1_2-0 +%description -n %lname 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 -Requires: %{name} = %{version} Requires: SDL-devel Summary: Sample Mixer Library for SDL - files mandatory for development Group: Development/Libraries/C and C++ +Requires: %lname = %{version} Requires: libSDL-devel -Requires: libSDL_mixer-1_2-0 = %{version} Provides: SDL_mixer-devel = %{version} Obsoletes: SDL_mixer-devel < %{version} # bug437293 @@ -75,8 +73,6 @@ 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 # remove unneccessary files from upstream tarball [bnc#508180] to clean up source RPM @@ -95,20 +91,20 @@ make %{?_smp_mflags} make install install-bin DESTDIR=$RPM_BUILD_ROOT rm -f %{buildroot}%{_libdir}/*.la -%post -n libSDL_mixer-1_2-0 -p /sbin/ldconfig +%post -n %lname -p /sbin/ldconfig -%postun -n libSDL_mixer-1_2-0 -p /sbin/ldconfig +%postun -n %lname -p /sbin/ldconfig -%files -n libSDL_mixer-1_2-0 +%files -n %lname %defattr(-,root,root) %doc README CHANGES COPYING -%{_libdir}/*.so.* +%{_libdir}/libSDL_mixer-1*.so.* %files -n libSDL_mixer-devel %defattr(-,root,root) %{_bindir}/play* -%{_includedir}/SDL/* -%{_libdir}/*.so +%{_includedir}/SDL/ +%{_libdir}/libSDL_mixer.so %{_libdir}/pkgconfig/SDL_mixer.pc %changelog From 98693474fadd3090770c16d290c8c71fb4acf224f06d893e32fbc69258ec0a12 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 28 Aug 2013 14:27:13 +0000 Subject: [PATCH 2/2] Fix ortho error in URL OBS-URL: https://build.opensuse.org/package/show/games/SDL_mixer?expand=0&rev=22 --- SDL_mixer.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SDL_mixer.spec b/SDL_mixer.spec index 6f8a738..b65a560 100644 --- a/SDL_mixer.spec +++ b/SDL_mixer.spec @@ -25,7 +25,7 @@ Version: 1.2.12 Release: 0 Url: http://libsdl.org/projects/SDL_mixer/release-1.2.html -Source: http://libsdl.org/projects/SDL_image/release/%name-%version.tar.gz +Source: http://libsdl.org/projects/SDL_mixer/release/%name-%version.tar.gz Source1: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: flac-devel