forked from pool/SDL_mixer
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
This commit is contained in:
parent
c30c5b8d09
commit
7116ba4fcc
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user