Accepting request 187067 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/187067
OBS-URL: https://build.opensuse.org/package/show/games/SDL2_mixer?expand=0&rev=6
This commit is contained in:
Pavol Rusnak 2013-08-15 13:56:31 +00:00 committed by Git OBS Bridge
parent 21132440cb
commit f1549fc43f
2 changed files with 24 additions and 15 deletions

View File

@ -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 Tue Aug 13 11:27:54 UTC 2013 - prusnak@opensuse.org

View File

@ -17,21 +17,25 @@
Name: SDL2_mixer Name: SDL2_mixer
%define lname libSDL2_mixer-2_0-0
Version: 2.0.0 Version: 2.0.0
Release: 0 Release: 0
Summary: Sample Mixer Library for SDL2 Summary: Sample Mixer Library for SDL2
License: Zlib License: Zlib
Group: System/Libraries Group: Development/Libraries/C and C++
Url: http://www.libsdl.org/projects/SDL_mixer/ Url: http://libsdl.org/projects/SDL_mixer/
Source: http://www.libsdl.org/tmp/SDL_mixer/release/%{name}-%{version}.tar.gz
#Hg-Clone: http://hg.libsdl.org/SDL_mixer/
Source: http://libsdl.org/projects/SDL_mixer/release/%name-%version.tar.gz
Source1: baselibs.conf Source1: baselibs.conf
BuildRequires: flac-devel BuildRequires: flac-devel
BuildRequires: fluidsynth-devel BuildRequires: fluidsynth-devel
BuildRequires: libSDL2-devel BuildRequires: libSDL2-devel
BuildRequires: libmikmod-devel BuildRequires: libmikmod-devel
BuildRequires: libmodplug-devel
BuildRequires: libogg-devel BuildRequires: libogg-devel
BuildRequires: libvorbis-devel BuildRequires: libvorbis-devel
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libmodplug) >= 0.8.8
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %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, audio, plus a single channel of music, mixed by the popular MikMod MOD,
Timidity MIDI, and SMPEG MP3 libraries. Timidity MIDI, and SMPEG MP3 libraries.
%package -n libSDL2_mixer-2_0-0 %package -n %lname
Summary: Sample Mixer Library for SDL2 Summary: Sample Mixer Library for SDL2
Group: System/Libraries Group: System/Libraries
Provides: SDL2_mixer = %{version} 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 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, audio, plus a single channel of music, mixed by the popular MikMod MOD,
Timidity MIDI, and SMPEG MP3 libraries. Timidity MIDI, and SMPEG MP3 libraries.
@ -52,9 +56,8 @@ Timidity MIDI, and SMPEG MP3 libraries.
%package -n libSDL2_mixer-devel %package -n libSDL2_mixer-devel
Summary: Sample Mixer Library for SDL2 - files mandatory for development Summary: Sample Mixer Library for SDL2 - files mandatory for development
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %{name} = %{version} Requires: %lname = %version
Requires: libSDL2-devel Requires: libSDL2-devel
Requires: libSDL2_mixer-2_0-0 = %{version}
Provides: SDL2_mixer-devel = %{version} Provides: SDL2_mixer-devel = %{version}
%description -n libSDL2_mixer-devel %description -n libSDL2_mixer-devel
@ -82,20 +85,20 @@ make %{?_smp_mflags}
make install install-bin DESTDIR=%{buildroot} make install install-bin DESTDIR=%{buildroot}
rm -f %{buildroot}%{_libdir}/*.la 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) %defattr(-,root,root)
%doc CHANGES.txt COPYING.txt README.txt %doc CHANGES.txt COPYING.txt README.txt
%{_libdir}/*.so.* %{_libdir}/libSDL2_mixer-2*.so.*
%files -n libSDL2_mixer-devel %files -n libSDL2_mixer-devel
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/play* %{_bindir}/play*
%{_includedir}/SDL2/* %{_includedir}/SDL2/
%{_libdir}/*.so %{_libdir}/libSDL2_mixer.so
%{_libdir}/pkgconfig/* %{_libdir}/pkgconfig/SDL2_mixer.pc
%changelog %changelog