]> git.pld-linux.org Git - packages/SDL_mixer.git/blob - SDL_mixer.spec
- moved to /usr; release 7
[packages/SDL_mixer.git] / SDL_mixer.spec
1 Summary:        Simple DirectMedia Layer - Sample Mixer Library
2 Summary(pl):    Prosta biblioteka miksera
3 Summary(pt_BR): SDL - Biblioteca para mixagem
4 Name:           SDL_mixer
5 Version:        1.2.4
6 Release:        7
7 License:        LGPL
8 Group:          Libraries
9 Source0:        http://www.libsdl.org/projects/SDL_mixer/release/%{name}-%{version}.tar.gz
10 Patch0:         %{name}-timidity_cfg.patch
11 URL:            http://www.libsdl.org/projects/SDL_mixer/
12 BuildRequires:  SDL-devel >= 1.2.5-2
13 BuildRequires:  XFree86-devel
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  libtool
17 BuildRequires:  libvorbis-devel >= 1:1.0
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Obsoletes:      libSDL_mixer1.2
20
21 %description
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
25 libraries.
26
27 %description -l pl
28 Prosty wielo-kana³owy mikser audio. Wspiera on 4 kana³y 16 bitowego
29 d¼wiêku stereo plus jeden kana³ dla muzyki miksowanej przez popularny
30 MikMod MOD, Timitity MIDI i biblioteki SMPEG MP3.
31
32 %description -l pt_BR
33 Biblioteca que suporta 4 canais de áudio estéreo 16 bit, mais um canal
34 de música, mixado pelo populares bibliotecas MOD MikMod, MIDI timidity
35 e SMPEG MP3.
36
37 %package devel
38 Summary:        Header files and more to develop SDL_mixer applications
39 Summary(pl):    Pliki nag³ówkowe do rozwoju aplikacji u¿ywaj±cych SDL_mixer
40 Summary(pt_BR): Bibliotecas e arquivos de inclusão para desenvolvimento de aplicações SDL
41 Group:          Development/Libraries
42 Requires:       %{name} = %{version}
43 Requires:       SDL-devel
44 Requires:       libvorbis-devel
45 Obsoletes:      libSDL_mixer1.2-devel
46
47 %description devel
48 Header files and more to develop SDL_mixer applications.
49
50 %description devel -l pl
51 Pliki nag³ówkowe do rozwoju aplikacji u¿ywaj±cych SDL_mixer
52
53 %description devel -l pt_BR
54 Bibliotecas e arquivos de inclusão para desenvolvimento de aplicações
55 SDL.
56
57 %package static
58 Summary:        Static SDL_mixer libraries
59 Summary(pl):    Statyczne biblioteki SDL_mixer
60 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com SDL_mixer
61 Group:          Development/Libraries
62 Requires:       %{name}-devel = %{version}
63
64 %description static
65 Static SDL_mixer libraries.
66
67 %description static -l pl
68 Statyczne biblioteki SDL_mixer.
69
70 %description static -l pt_BR
71 Bibliotecas estáticas para desenvolvimento com SDL_mixer.
72
73 %prep
74 %setup -q
75 %patch -p1
76
77 %build
78 #rm -f missing
79 #%{__libtoolize}
80 #%{__aclocal}
81 %{__autoconf}
82 #%{__automake}
83 %configure
84 %{__make}
85
86 %install
87 rm -rf $RPM_BUILD_ROOT
88
89 %{__make} install DESTDIR=$RPM_BUILD_ROOT
90
91 %clean
92 rm -rf $RPM_BUILD_ROOT
93
94 %post   -p /sbin/ldconfig
95 %postun -p /sbin/ldconfig
96
97 %files
98 %defattr(644,root,root,755)
99 %doc README CHANGES
100 %attr(755,root,root) %{_bindir}/playmus
101 %attr(755,root,root) %{_bindir}/playwave
102 %attr(755,root,root) %{_libdir}/lib*.so.*.*
103
104 %files devel
105 %defattr(644,root,root,755)
106 %attr(755,root,root) %{_libdir}/lib*.so
107 %{_libdir}/lib*.la
108 %{_includedir}/SDL/*
109
110 %files static
111 %defattr(644,root,root,755)
112 %{_libdir}/lib*.a
This page took 0.079897 seconds and 4 git commands to generate.