ALT repositories
Last updated at Fri, 24 Jul 2020 16:33:50 +0000 | SRPMs: 18242
en ru
SRPMs in branches
hide window
Group :: System/Libraries
Source RPM: SDL2_mixer
Raw spec file

Name: SDL2_mixer
Version: 2.0.1
Release: alt1

Summary: Simple DirectMedia Layer - Sample Mixer Library
License: zlib
Group: System/Libraries

Url: http://www.libsdl.org/projects/SDL_mixer/
Packager: Nazarov Denis <nenderus at altlinux.org>

Source0: http://www.libsdl.org/projects/SDL_mixer/release/%name-%version.tar.gz

BuildRequires: chrpath
BuildRequires: libSDL2-devel >= 2.0.1
BuildRequires: libflac-devel
BuildRequires: libfluidsynth-devel
BuildRequires: libmodplug-devel
BuildRequires: libsmpeg2-devel
BuildRequires: libvorbis-devel

%description
Due to popular demand, here is a simple multi-channel audio mixer.
It supports 8 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 lib%name
Summary: Simple DirectMedia Layer - Sample Mixer Library
Group: System/Libraries

%description -n lib%name
Due to popular demand, here is a simple multi-channel audio mixer.
It supports 8 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 lib%name-devel
Summary: Libraries, includes and more to develop SDL applications.
Group: Development/C
Requires: lib%name = %version-%release
Requires: libSDL2-devel >= 2.0.1

%description -n lib%name-devel
Due to popular demand, here is a simple multi-channel audio mixer.
It supports 8 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

%build
%add_optflags -I%_includedir/libmodplug
%autoreconf
%configure \
--disable-music-mod-modplug-shared \
--disable-music-mod-mikmod-shared \
--disable-music-flac-shared \
--disable-music-mp3-smpeg-shared \
--disable-music-ogg-shared \
--disable-music-fluidsynth-shared \
--disable-static
%make_build

%install
%makeinstall_std
%__rm -rf %buildroot%_libdir/lib%name.la
chrpath -d %buildroot%_libdir/lib%name-2.0.so.*

%files -n lib%name
%doc CHANGES.txt COPYING.txt README.txt
%_libdir/lib%name-2.0.so.*

%files -n lib%name-devel
%dir %_includedir/SDL2
%_includedir/SDL2/SDL_mixer.h
%_pkgconfigdir/%name.pc
%_libdir/lib%name.so

%changelog
* Fri Jan 22 2016 Nazarov Denis <nenderus at altlinux.org> 2.0.1-alt1
- Version 2.0.1

* Sun Mar 01 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.0.0-alt2.1
- Fixed build

* Wed Feb 05 2014 Nazarov Denis <nenderus at altlinux.org> 2.0.0-alt1.M70T.1
- Build for branch t7

* Fri Nov 01 2013 Nazarov Denis <nenderus at altlinux.org> 2.0.0-alt2
- Add requires for lib%name-devel on lib%name

* Thu Oct 31 2013 Nazarov Denis <nenderus at altlinux.org> 2.0.0-alt1
- Initial build for ALT Linux
 
The Geyser project is based on code from Prometheus2.0, which had been made available under the MIT License.