- release 2: use new rpm automation suit.
[packages/SDL_mixer.git] / SDL_mixer.spec
1 Summary:        Simple DirectMedia Layer - Sample Mixer Library
2 Name:           SDL_mixer
3 Version:        1.0.6
4 Release:        2
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 %description
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
21 libraries.
22
23 %package devel
24 Summary:        Header files and more to develop SDL_mixer applications
25 Group:          Development/Libraries
26 Group(de):      Entwicklung/Libraries
27 Group(fr):      Development/Librairies
28 Group(pl):      Programowanie/Biblioteki
29 Requires:       %{name} = %{version}
30 Requires:       SDL-devel
31
32 %description devel
33 Header files and more to develop SDL_mixer applications.
34
35 %package static
36 Summary:        Statis SDL_mixer libraries
37 Group:          Development/Libraries
38 Group(de):      Entwicklung/Libraries
39 Group(fr):      Development/Librairies
40 Group(pl):      Programowanie/Biblioteki
41 Requires:       %{name}-devel = %{version}
42
43 %description static
44 Statis SDL_mixer libraries.
45
46 %prep
47 %setup -q 
48
49 %build
50 %configure
51 %{__make}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} install DESTDIR=$RPM_BUILD_ROOT
57
58 gzip -9nf README CHANGES
59
60 %post   -p /sbin/ldconfig
61 %postun -p /sbin/ldconfig
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
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.*.*
71
72 %files devel
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
This page took 0.125188 seconds and 3 git commands to generate.