1 Summary: Simple DirectMedia Layer - Sample Mixer Library
2 Summary(pl.UTF-8): Prosta biblioteka miksera
3 Summary(pt_BR.UTF-8): SDL - Biblioteca para mixagem
9 Source0: http://www.libsdl.org/projects/SDL_mixer/release/%{name}-%{version}.tar.gz
10 # Source0-md5: 7959b89c8f8f1564ca90968f6c88fa1e
11 Patch0: %{name}-timidity_cfg.patch
12 Patch1: %{name}-acfix.patch
13 URL: http://www.libsdl.org/projects/SDL_mixer/
14 BuildRequires: SDL-devel >= 1.2.10
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: libtool
18 BuildRequires: libvorbis-devel >= 1:1.0
19 BuildRequires: smpeg-devel >= 0.4.4-11
20 Requires: SDL >= 1.2.10
21 Obsoletes: libSDL_mixer1.2
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 Due to popular demand, here is a simple multi-channel audio mixer. It
26 supports 4 channels of 16 bit stereo audio, plus a single channel of
27 music, mixed by the popular MikMod MOD, Timidity MIDI and SMPEG MP3
30 %description -l pl.UTF-8
31 Prosty wielo-kanałowy mikser audio. Wspiera on 4 kanały 16 bitowego
32 dźwięku stereo plus jeden kanał dla muzyki miksowanej przez popularny
33 MikMod MOD, Timitity MIDI i biblioteki SMPEG MP3.
35 %description -l pt_BR.UTF-8
36 Biblioteca que suporta 4 canais de áudio estéreo 16 bit, mais um canal
37 de música, mixado pelo populares bibliotecas MOD MikMod, MIDI timidity
41 Summary: Header files and more to develop SDL_mixer applications
42 Summary(pl.UTF-8): Pliki nagłówkowe do rozwoju aplikacji używających SDL_mixer
43 Summary(pt_BR.UTF-8): Bibliotecas e arquivos de inclusão para desenvolvimento de aplicações SDL
44 Group: Development/Libraries
45 Requires: %{name} = %{version}-%{release}
46 Requires: SDL-devel >= 1.2.10
47 Obsoletes: libSDL_mixer1.2-devel
50 Header files and more to develop SDL_mixer applications.
52 %description devel -l pl.UTF-8
53 Pliki nagłówkowe do rozwoju aplikacji używających SDL_mixer
55 %description devel -l pt_BR.UTF-8
56 Bibliotecas e arquivos de inclusão para desenvolvimento de aplicações
60 Summary: Static SDL_mixer libraries
61 Summary(pl.UTF-8): Statyczne biblioteki SDL_mixer
62 Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com SDL_mixer
63 Group: Development/Libraries
64 Requires: %{name}-devel = %{version}-%{release}
67 Static SDL_mixer libraries.
69 %description static -l pl.UTF-8
70 Statyczne biblioteki SDL_mixer.
72 %description static -l pt_BR.UTF-8
73 Bibliotecas estáticas para desenvolvimento com SDL_mixer.
87 ogg_lib=libvorbisfile.so.3 \
88 smpeg_lib=libsmpeg-0.4.so.0 \
89 --disable-music-libmikmod \
94 rm -rf $RPM_BUILD_ROOT
95 install -d $RPM_BUILD_ROOT%{_bindir}
97 %{__make} install install-bin \
98 DESTDIR=$RPM_BUILD_ROOT
101 rm -rf $RPM_BUILD_ROOT
103 %post -p /sbin/ldconfig
104 %postun -p /sbin/ldconfig
107 %defattr(644,root,root,755)
109 %attr(755,root,root) %{_bindir}/playmus
110 %attr(755,root,root) %{_bindir}/playwave
111 %attr(755,root,root) %{_libdir}/lib*.so.*.*
114 %defattr(644,root,root,755)
115 %attr(755,root,root) %{_libdir}/lib*.so
120 %defattr(644,root,root,755)