]>
Commit | Line | Data |
---|---|---|
4a37b7d1 | 1 | Summary: Simple DirectMedia Layer - Sample Mixer Library |
2 | Name: SDL_mixer | |
876b177c | 3 | Version: 1.1.0 |
fb85d8d7 | 4 | Release: 3 |
4a37b7d1 | 5 | License: LGPL |
6 | Group: Libraries | |
5c4961a0 | 7 | Group(de): Libraries |
876b177c | 8 | Group(es): Bibliotecas |
5c4961a0 | 9 | Group(fr): Librairies |
10 | Group(pl): Biblioteki | |
4a37b7d1 | 11 | Source0: http://www.libsdl.org/projects/SDL_mixer/src/%{name}-%{version}.tar.gz |
876b177c | 12 | Patch0: %{name}-timidity_cfg.patch |
4a37b7d1 | 13 | URL: http://www.libsdl.org/projects/SDL_mixer/index.html |
14 | BuildRequires: esound-devel | |
15 | BuildRequires: SDL-devel >= 1.1.1 | |
16 | BuildRequires: XFree86-devel | |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
b346880d | 18 | |
fb85d8d7 | 19 | %define _prefix /usr/X11R6 |
20 | ||
b346880d | 21 | %description |
4a37b7d1 | 22 | Due to popular demand, here is a simple multi-channel audio mixer. It |
23 | supports 4 channels of 16 bit stereo audio, plus a single channel of | |
24 | music, mixed by the popular MikMod MOD, Timidity MIDI and SMPEG MP3 | |
b346880d | 25 | libraries. |
26 | ||
27 | %package devel | |
4a37b7d1 | 28 | Summary: Header files and more to develop SDL_mixer applications |
29 | Group: Development/Libraries | |
5c4961a0 | 30 | Group(de): Entwicklung/Libraries |
4a37b7d1 | 31 | Group(fr): Development/Librairies |
32 | Group(pl): Programowanie/Biblioteki | |
33 | Requires: %{name} = %{version} | |
34 | Requires: SDL-devel | |
b346880d | 35 | |
36 | %description devel | |
4a37b7d1 | 37 | Header files and more to develop SDL_mixer applications. |
38 | ||
39 | %package static | |
40 | Summary: Statis SDL_mixer libraries | |
41 | Group: Development/Libraries | |
5c4961a0 | 42 | Group(de): Entwicklung/Libraries |
4a37b7d1 | 43 | Group(fr): Development/Librairies |
44 | Group(pl): Programowanie/Biblioteki | |
45 | Requires: %{name}-devel = %{version} | |
46 | ||
47 | %description static | |
48 | Statis SDL_mixer libraries. | |
b346880d | 49 | |
50 | %prep | |
4a37b7d1 | 51 | %setup -q |
876b177c | 52 | %patch -p1 |
b346880d | 53 | |
54 | %build | |
4a37b7d1 | 55 | %configure |
56 | %{__make} | |
b346880d | 57 | |
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
4a37b7d1 | 60 | |
61 | %{__make} install DESTDIR=$RPM_BUILD_ROOT | |
62 | ||
4a37b7d1 | 63 | gzip -9nf README CHANGES |
64 | ||
65 | %post -p /sbin/ldconfig | |
66 | %postun -p /sbin/ldconfig | |
b346880d | 67 | |
68 | %clean | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
71 | %files | |
4a37b7d1 | 72 | %defattr(644,root,root,755) |
73 | %attr(755,root,root) %{_bindir}/playmus | |
74 | %attr(755,root,root) %{_bindir}/playwave | |
75 | %attr(755,root,root) %{_libdir}/lib*.so.*.* | |
b346880d | 76 | |
77 | %files devel | |
4a37b7d1 | 78 | %defattr(644,root,root,755) |
79 | %doc *.gz | |
80 | %attr(755,root,root) %{_libdir}/lib*.so | |
81 | %attr(755,root,root) %{_libdir}/lib*.la | |
82 | %{_includedir}/SDL/* | |
83 | ||
84 | %files static | |
85 | %defattr(644,root,root,755) | |
86 | %{_libdir}/lib*.a |