diff --git a/SDL2_mixer.changes b/SDL2_mixer.changes index 8c31fa1..2144367 100644 --- a/SDL2_mixer.changes +++ b/SDL2_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 + ------------------------------------------------------------------- Tue Aug 13 11:27:54 UTC 2013 - prusnak@opensuse.org diff --git a/SDL2_mixer.spec b/SDL2_mixer.spec index fe37d18..4513ba8 100644 --- a/SDL2_mixer.spec +++ b/SDL2_mixer.spec @@ -17,21 +17,25 @@ Name: SDL2_mixer +%define lname libSDL2_mixer-2_0-0 Version: 2.0.0 Release: 0 Summary: Sample Mixer Library for SDL2 License: Zlib -Group: System/Libraries -Url: http://www.libsdl.org/projects/SDL_mixer/ -Source: http://www.libsdl.org/tmp/SDL_mixer/release/%{name}-%{version}.tar.gz +Group: Development/Libraries/C and C++ +Url: http://libsdl.org/projects/SDL_mixer/ + +#Hg-Clone: http://hg.libsdl.org/SDL_mixer/ +Source: http://libsdl.org/projects/SDL_mixer/release/%name-%version.tar.gz Source1: baselibs.conf BuildRequires: flac-devel BuildRequires: fluidsynth-devel BuildRequires: libSDL2-devel BuildRequires: libmikmod-devel -BuildRequires: libmodplug-devel BuildRequires: libogg-devel BuildRequires: libvorbis-devel +BuildRequires: pkgconfig +BuildRequires: pkgconfig(libmodplug) >= 0.8.8 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -39,12 +43,12 @@ 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 libSDL2_mixer-2_0-0 +%package -n %lname Summary: Sample Mixer Library for SDL2 Group: System/Libraries Provides: SDL2_mixer = %{version} -%description -n libSDL2_mixer-2_0-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. @@ -52,9 +56,8 @@ Timidity MIDI, and SMPEG MP3 libraries. %package -n libSDL2_mixer-devel Summary: Sample Mixer Library for SDL2 - files mandatory for development Group: Development/Libraries/C and C++ -Requires: %{name} = %{version} +Requires: %lname = %version Requires: libSDL2-devel -Requires: libSDL2_mixer-2_0-0 = %{version} Provides: SDL2_mixer-devel = %{version} %description -n libSDL2_mixer-devel @@ -82,20 +85,20 @@ make %{?_smp_mflags} make install install-bin DESTDIR=%{buildroot} rm -f %{buildroot}%{_libdir}/*.la -%post -n libSDL2_mixer-2_0-0 -p /sbin/ldconfig +%post -n %lname -p /sbin/ldconfig -%postun -n libSDL2_mixer-2_0-0 -p /sbin/ldconfig +%postun -n %lname -p /sbin/ldconfig -%files -n libSDL2_mixer-2_0-0 +%files -n %lname %defattr(-,root,root) %doc CHANGES.txt COPYING.txt README.txt -%{_libdir}/*.so.* +%{_libdir}/libSDL2_mixer-2*.so.* %files -n libSDL2_mixer-devel %defattr(-,root,root) %{_bindir}/play* -%{_includedir}/SDL2/* -%{_libdir}/*.so -%{_libdir}/pkgconfig/* +%{_includedir}/SDL2/ +%{_libdir}/libSDL2_mixer.so +%{_libdir}/pkgconfig/SDL2_mixer.pc %changelog