Accepting request 200791 from games
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/200791 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/SDL_mixer?expand=0&rev=32
This commit is contained in:
commit
9cc16ddc16
@ -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
|
Sun Feb 24 09:35:38 UTC 2013 - mailaender@opensuse.org
|
||||||
|
|
||||||
|
@ -17,29 +17,30 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: SDL_mixer
|
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_mixer/release/%name-%version.tar.gz
|
||||||
|
Source1: baselibs.conf
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: flac-devel
|
BuildRequires: flac-devel
|
||||||
BuildRequires: fluidsynth-devel
|
BuildRequires: fluidsynth-devel
|
||||||
BuildRequires: libSDL-devel
|
BuildRequires: libSDL-devel
|
||||||
BuildRequires: libmikmod-devel
|
BuildRequires: libmikmod-devel
|
||||||
BuildRequires: libvorbis-devel
|
BuildRequires: libvorbis-devel
|
||||||
Summary: Sample Mixer Library for SDL
|
BuildRequires: pkgconfig
|
||||||
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
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
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.
|
||||||
|
|
||||||
|
%package -n %lname
|
||||||
|
|
||||||
%package -n libSDL_mixer-1_2-0
|
|
||||||
Summary: Sample Mixer Library for SDL
|
Summary: Sample Mixer Library for SDL
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Provides: SDL_mixer = %{version}
|
Provides: SDL_mixer = %{version}
|
||||||
@ -49,20 +50,17 @@ Obsoletes: SDL_mixer < %{version}
|
|||||||
Obsoletes: SDL_mixer-64bit
|
Obsoletes: SDL_mixer-64bit
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description -n libSDL_mixer-1_2-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.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%package -n libSDL_mixer-devel
|
%package -n libSDL_mixer-devel
|
||||||
Requires: %{name} = %{version}
|
|
||||||
Requires: SDL-devel
|
Requires: SDL-devel
|
||||||
Summary: Sample Mixer Library for SDL - files mandatory for development
|
Summary: Sample Mixer Library for SDL - files mandatory for development
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: %lname = %{version}
|
||||||
Requires: libSDL-devel
|
Requires: libSDL-devel
|
||||||
Requires: libSDL_mixer-1_2-0 = %{version}
|
|
||||||
Provides: SDL_mixer-devel = %{version}
|
Provides: SDL_mixer-devel = %{version}
|
||||||
Obsoletes: SDL_mixer-devel < %{version}
|
Obsoletes: SDL_mixer-devel < %{version}
|
||||||
# bug437293
|
# 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,
|
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.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
# remove unneccessary files from upstream tarball [bnc#508180] to clean up source RPM
|
# 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
|
make install install-bin DESTDIR=$RPM_BUILD_ROOT
|
||||||
rm -f %{buildroot}%{_libdir}/*.la
|
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)
|
%defattr(-,root,root)
|
||||||
%doc README CHANGES COPYING
|
%doc README CHANGES COPYING
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/libSDL_mixer-1*.so.*
|
||||||
|
|
||||||
%files -n libSDL_mixer-devel
|
%files -n libSDL_mixer-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/play*
|
%{_bindir}/play*
|
||||||
%{_includedir}/SDL/*
|
%{_includedir}/SDL/
|
||||||
%{_libdir}/*.so
|
%{_libdir}/libSDL_mixer.so
|
||||||
%{_libdir}/pkgconfig/SDL_mixer.pc
|
%{_libdir}/pkgconfig/SDL_mixer.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user