]>
Commit | Line | Data |
---|---|---|
4a37b7d1 | 1 | Summary: Simple DirectMedia Layer - Sample Mixer Library |
18bbfbb5 ER |
2 | Summary(pl.UTF-8): Prosta biblioteka miksera |
3 | Summary(pt_BR.UTF-8): SDL - Biblioteca para mixagem | |
4a37b7d1 | 4 | Name: SDL_mixer |
c625f7ec | 5 | Version: 1.2.11 |
d133af94 | 6 | Release: 1 |
efd011f9 | 7 | License: LGPL v2+ |
4a37b7d1 | 8 | Group: Libraries |
c49439fb | 9 | Source0: http://www.libsdl.org/projects/SDL_mixer/release/%{name}-%{version}.tar.gz |
c625f7ec | 10 | # Source0-md5: 65ada3d997fe85109191a5fb083f248c |
876b177c | 11 | Patch0: %{name}-timidity_cfg.patch |
5945ef74 | 12 | Patch1: %{name}-acfix.patch |
c49439fb | 13 | URL: http://www.libsdl.org/projects/SDL_mixer/ |
5945ef74 | 14 | BuildRequires: SDL-devel >= 1.2.10 |
dc202c1b | 15 | BuildRequires: autoconf |
16 | BuildRequires: automake | |
dc202c1b | 17 | BuildRequires: libtool |
f1f0fe81 | 18 | BuildRequires: libvorbis-devel >= 1:1.0 |
4d4d044f | 19 | BuildRequires: smpeg-devel >= 0.4.4-11 |
5945ef74 | 20 | Requires: SDL >= 1.2.10 |
fcad4b7b | 21 | Obsoletes: libSDL_mixer1.2 |
58e81fb2 | 22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
b346880d | 23 | |
24 | %description | |
4a37b7d1 | 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 | |
b346880d | 28 | libraries. |
29 | ||
3510fc9e | 30 | %description -l pl.UTF-8 |
b61ef353 JB |
31 | SDL_mixer to prosty wielokanałowy mikser audio. Obsługuje 4 kanały |
32 | 16-bitowego dźwięku stereo plus jeden kanał dla muzyki miksowanej | |
33 | przez popularne biblioteki MikMod MOD, Timitity MIDI i SMPEG MP3. | |
9641be7a | 34 | |
3510fc9e JR |
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 | |
165c535e | 38 | e SMPEG MP3. |
39 | ||
b346880d | 40 | %package devel |
4a37b7d1 | 41 | Summary: Header files and more to develop SDL_mixer applications |
18bbfbb5 ER |
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 | |
4a37b7d1 | 44 | Group: Development/Libraries |
4733c57f | 45 | Requires: %{name} = %{version}-%{release} |
5945ef74 | 46 | Requires: SDL-devel >= 1.2.10 |
fcad4b7b | 47 | Obsoletes: libSDL_mixer1.2-devel |
b346880d | 48 | |
49 | %description devel | |
4a37b7d1 | 50 | Header files and more to develop SDL_mixer applications. |
51 | ||
3510fc9e JR |
52 | %description devel -l pl.UTF-8 |
53 | Pliki nagłówkowe do rozwoju aplikacji używających SDL_mixer | |
165c535e | 54 | |
3510fc9e JR |
55 | %description devel -l pt_BR.UTF-8 |
56 | Bibliotecas e arquivos de inclusão para desenvolvimento de aplicações | |
165c535e | 57 | SDL. |
58 | ||
4a37b7d1 | 59 | %package static |
9641be7a | 60 | Summary: Static SDL_mixer libraries |
18bbfbb5 ER |
61 | Summary(pl.UTF-8): Statyczne biblioteki SDL_mixer |
62 | Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com SDL_mixer | |
4a37b7d1 | 63 | Group: Development/Libraries |
4733c57f | 64 | Requires: %{name}-devel = %{version}-%{release} |
4a37b7d1 | 65 | |
66 | %description static | |
b5fb61bc | 67 | Static SDL_mixer libraries. |
b346880d | 68 | |
3510fc9e | 69 | %description static -l pl.UTF-8 |
9641be7a AM |
70 | Statyczne biblioteki SDL_mixer. |
71 | ||
3510fc9e JR |
72 | %description static -l pt_BR.UTF-8 |
73 | Bibliotecas estáticas para desenvolvimento com SDL_mixer. | |
165c535e | 74 | |
b346880d | 75 | %prep |
165c535e | 76 | %setup -q |
5945ef74 JB |
77 | %patch0 -p1 |
78 | %patch1 -p1 | |
b346880d | 79 | |
58e81fb2 | 80 | rm -f acinclude.m4 |
0a2d2453 JB |
81 | |
82 | %build | |
98710110 | 83 | %{__libtoolize} |
84 | %{__aclocal} | |
5a6e59ef | 85 | %{__autoconf} |
d9a00db2 | 86 | %configure \ |
5945ef74 JB |
87 | ogg_lib=libvorbisfile.so.3 \ |
88 | smpeg_lib=libsmpeg-0.4.so.0 \ | |
d9a00db2 | 89 | --enable-music-mod |
4a37b7d1 | 90 | %{__make} |
b346880d | 91 | |
92 | %install | |
93 | rm -rf $RPM_BUILD_ROOT | |
4a37b7d1 | 94 | |
5945ef74 | 95 | %{__make} install install-bin \ |
9a6f941c | 96 | DESTDIR=$RPM_BUILD_ROOT |
4a37b7d1 | 97 | |
b346880d | 98 | %clean |
99 | rm -rf $RPM_BUILD_ROOT | |
100 | ||
44b866d6 | 101 | %post -p /sbin/ldconfig |
102 | %postun -p /sbin/ldconfig | |
b5fb61bc | 103 | |
b346880d | 104 | %files |
4a37b7d1 | 105 | %defattr(644,root,root,755) |
efd011f9 | 106 | %doc CHANGES README |
4a37b7d1 | 107 | %attr(755,root,root) %{_bindir}/playmus |
108 | %attr(755,root,root) %{_bindir}/playwave | |
efd011f9 | 109 | %attr(755,root,root) %{_libdir}/libSDL_mixer-*.so.*.*.* |
7ca29b57 | 110 | %attr(755,root,root) %ghost %{_libdir}/libSDL_mixer-1.2.so.0 |
b346880d | 111 | |
112 | %files devel | |
4a37b7d1 | 113 | %defattr(644,root,root,755) |
efd011f9 JB |
114 | %attr(755,root,root) %{_libdir}/libSDL_mixer.so |
115 | %{_libdir}/libSDL_mixer.la | |
116 | %{_includedir}/SDL/SDL_mixer.h | |
d133af94 | 117 | %{_pkgconfigdir}/SDL_mixer.pc |
4a37b7d1 | 118 | |
119 | %files static | |
120 | %defattr(644,root,root,755) | |
efd011f9 | 121 | %{_libdir}/libSDL_mixer.a |