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