]>
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 | |
29ba1160 JB |
17 | BuildRequires: flac-devel >= 1.2.0 |
18 | BuildRequires: libtool >= 2:2.0 | |
19 | BuildRequires: libmikmod-devel >= 3.1.10 | |
f1f0fe81 | 20 | BuildRequires: libvorbis-devel >= 1:1.0 |
4d4d044f | 21 | BuildRequires: smpeg-devel >= 0.4.4-11 |
5945ef74 | 22 | Requires: SDL >= 1.2.10 |
fcad4b7b | 23 | Obsoletes: libSDL_mixer1.2 |
58e81fb2 | 24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
b346880d | 25 | |
29ba1160 JB |
26 | # NOTE: libraries dlopened by sonames detected at build time: |
27 | # libFLAC.so.8 | |
28 | # libmikmod.so.2 | |
29 | # libsmpeg-0.4.so.0 | |
30 | # libvorbisfile.so.3 | |
31 | ||
b346880d | 32 | %description |
4a37b7d1 | 33 | Due to popular demand, here is a simple multi-channel audio mixer. It |
34 | supports 4 channels of 16 bit stereo audio, plus a single channel of | |
35 | music, mixed by the popular MikMod MOD, Timidity MIDI and SMPEG MP3 | |
b346880d | 36 | libraries. |
37 | ||
3510fc9e | 38 | %description -l pl.UTF-8 |
b61ef353 JB |
39 | SDL_mixer to prosty wielokanałowy mikser audio. Obsługuje 4 kanały |
40 | 16-bitowego dźwięku stereo plus jeden kanał dla muzyki miksowanej | |
41 | przez popularne biblioteki MikMod MOD, Timitity MIDI i SMPEG MP3. | |
9641be7a | 42 | |
3510fc9e JR |
43 | %description -l pt_BR.UTF-8 |
44 | Biblioteca que suporta 4 canais de áudio estéreo 16 bit, mais um canal | |
45 | de música, mixado pelo populares bibliotecas MOD MikMod, MIDI timidity | |
165c535e | 46 | e SMPEG MP3. |
47 | ||
b346880d | 48 | %package devel |
4a37b7d1 | 49 | Summary: Header files and more to develop SDL_mixer applications |
18bbfbb5 ER |
50 | Summary(pl.UTF-8): Pliki nagłówkowe do rozwoju aplikacji używających SDL_mixer |
51 | Summary(pt_BR.UTF-8): Bibliotecas e arquivos de inclusão para desenvolvimento de aplicações SDL | |
4a37b7d1 | 52 | Group: Development/Libraries |
4733c57f | 53 | Requires: %{name} = %{version}-%{release} |
5945ef74 | 54 | Requires: SDL-devel >= 1.2.10 |
fcad4b7b | 55 | Obsoletes: libSDL_mixer1.2-devel |
b346880d | 56 | |
57 | %description devel | |
4a37b7d1 | 58 | Header files and more to develop SDL_mixer applications. |
59 | ||
3510fc9e JR |
60 | %description devel -l pl.UTF-8 |
61 | Pliki nagłówkowe do rozwoju aplikacji używających SDL_mixer | |
165c535e | 62 | |
3510fc9e JR |
63 | %description devel -l pt_BR.UTF-8 |
64 | Bibliotecas e arquivos de inclusão para desenvolvimento de aplicações | |
165c535e | 65 | SDL. |
66 | ||
4a37b7d1 | 67 | %package static |
9641be7a | 68 | Summary: Static SDL_mixer libraries |
18bbfbb5 ER |
69 | Summary(pl.UTF-8): Statyczne biblioteki SDL_mixer |
70 | Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com SDL_mixer | |
4a37b7d1 | 71 | Group: Development/Libraries |
4733c57f | 72 | Requires: %{name}-devel = %{version}-%{release} |
4a37b7d1 | 73 | |
74 | %description static | |
b5fb61bc | 75 | Static SDL_mixer libraries. |
b346880d | 76 | |
3510fc9e | 77 | %description static -l pl.UTF-8 |
9641be7a AM |
78 | Statyczne biblioteki SDL_mixer. |
79 | ||
3510fc9e JR |
80 | %description static -l pt_BR.UTF-8 |
81 | Bibliotecas estáticas para desenvolvimento com SDL_mixer. | |
165c535e | 82 | |
b346880d | 83 | %prep |
165c535e | 84 | %setup -q |
5945ef74 JB |
85 | %patch0 -p1 |
86 | %patch1 -p1 | |
b346880d | 87 | |
0a2d2453 | 88 | %build |
98710110 | 89 | %{__libtoolize} |
90 | %{__aclocal} | |
5a6e59ef | 91 | %{__autoconf} |
29ba1160 | 92 | %configure |
4a37b7d1 | 93 | %{__make} |
b346880d | 94 | |
95 | %install | |
96 | rm -rf $RPM_BUILD_ROOT | |
4a37b7d1 | 97 | |
5945ef74 | 98 | %{__make} install install-bin \ |
9a6f941c | 99 | DESTDIR=$RPM_BUILD_ROOT |
4a37b7d1 | 100 | |
b346880d | 101 | %clean |
102 | rm -rf $RPM_BUILD_ROOT | |
103 | ||
44b866d6 | 104 | %post -p /sbin/ldconfig |
105 | %postun -p /sbin/ldconfig | |
b5fb61bc | 106 | |
b346880d | 107 | %files |
4a37b7d1 | 108 | %defattr(644,root,root,755) |
efd011f9 | 109 | %doc CHANGES README |
4a37b7d1 | 110 | %attr(755,root,root) %{_bindir}/playmus |
111 | %attr(755,root,root) %{_bindir}/playwave | |
efd011f9 | 112 | %attr(755,root,root) %{_libdir}/libSDL_mixer-*.so.*.*.* |
7ca29b57 | 113 | %attr(755,root,root) %ghost %{_libdir}/libSDL_mixer-1.2.so.0 |
b346880d | 114 | |
115 | %files devel | |
4a37b7d1 | 116 | %defattr(644,root,root,755) |
efd011f9 JB |
117 | %attr(755,root,root) %{_libdir}/libSDL_mixer.so |
118 | %{_libdir}/libSDL_mixer.la | |
119 | %{_includedir}/SDL/SDL_mixer.h | |
d133af94 | 120 | %{_pkgconfigdir}/SDL_mixer.pc |
4a37b7d1 | 121 | |
122 | %files static | |
123 | %defattr(644,root,root,755) | |
efd011f9 | 124 | %{_libdir}/libSDL_mixer.a |