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