forked from pool/SDL2_mixer
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:
parent
21132440cb
commit
f1549fc43f
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user