]>
Commit | Line | Data |
---|---|---|
1 | Summary: Simple DirectMedia Layer - Sample Mixer Library | |
2 | Name: SDL_mixer | |
3 | Version: 1.0.6 | |
4 | Release: 3 | |
5 | License: LGPL | |
6 | Group: Libraries | |
7 | Group(de): Libraries | |
8 | Group(fr): Librairies | |
9 | Group(pl): Biblioteki | |
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) | |
16 | ||
17 | %define _prefix /usr/X11R6 | |
18 | ||
19 | %description | |
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 | |
23 | libraries. | |
24 | ||
25 | %package devel | |
26 | Summary: Header files and more to develop SDL_mixer applications | |
27 | Group: Development/Libraries | |
28 | Group(de): Entwicklung/Libraries | |
29 | Group(fr): Development/Librairies | |
30 | Group(pl): Programowanie/Biblioteki | |
31 | Requires: %{name} = %{version} | |
32 | Requires: SDL-devel | |
33 | ||
34 | %description devel | |
35 | Header files and more to develop SDL_mixer applications. | |
36 | ||
37 | %package static | |
38 | Summary: Statis SDL_mixer libraries | |
39 | Group: Development/Libraries | |
40 | Group(de): Entwicklung/Libraries | |
41 | Group(fr): Development/Librairies | |
42 | Group(pl): Programowanie/Biblioteki | |
43 | Requires: %{name}-devel = %{version} | |
44 | ||
45 | %description static | |
46 | Statis SDL_mixer libraries. | |
47 | ||
48 | %prep | |
49 | %setup -q | |
50 | ||
51 | %build | |
52 | %configure | |
53 | %{__make} | |
54 | ||
55 | %install | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %{__make} install DESTDIR=$RPM_BUILD_ROOT | |
59 | ||
60 | gzip -9nf README CHANGES | |
61 | ||
62 | %post -p /sbin/ldconfig | |
63 | %postun -p /sbin/ldconfig | |
64 | ||
65 | %clean | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
68 | %files | |
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.*.* | |
73 | ||
74 | %files devel | |
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 |