]> git.pld-linux.org Git - packages/SDL_mixer.git/blob - SDL_mixer.spec
- -devel R: smpeg-devel
[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.5
6 Release:        1
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 BuildRequires:  smpeg-devel >= 0.4.4-11
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 Obsoletes:      libSDL_mixer1.2
21
22 %description
23 Due to popular demand, here is a simple multi-channel audio mixer. It
24 supports 4 channels of 16 bit stereo audio, plus a single channel of
25 music, mixed by the popular MikMod MOD, Timidity MIDI and SMPEG MP3
26 libraries.
27
28 %description -l pl
29 Prosty wielo-kana³owy mikser audio. Wspiera on 4 kana³y 16 bitowego
30 d¼wiêku stereo plus jeden kana³ dla muzyki miksowanej przez popularny
31 MikMod MOD, Timitity MIDI i biblioteki SMPEG MP3.
32
33 %description -l pt_BR
34 Biblioteca que suporta 4 canais de áudio estéreo 16 bit, mais um canal
35 de música, mixado pelo populares bibliotecas MOD MikMod, MIDI timidity
36 e SMPEG MP3.
37
38 %package devel
39 Summary:        Header files and more to develop SDL_mixer applications
40 Summary(pl):    Pliki nag³ówkowe do rozwoju aplikacji u¿ywaj±cych SDL_mixer
41 Summary(pt_BR): Bibliotecas e arquivos de inclusão para desenvolvimento de aplicações SDL
42 Group:          Development/Libraries
43 Requires:       %{name} = %{version}
44 Requires:       SDL-devel
45 Requires:       libvorbis-devel
46 Requires:       smpeg-devel
47 Obsoletes:      libSDL_mixer1.2-devel
48
49 %description devel
50 Header files and more to develop SDL_mixer applications.
51
52 %description devel -l pl
53 Pliki nag³ówkowe do rozwoju aplikacji u¿ywaj±cych SDL_mixer
54
55 %description devel -l pt_BR
56 Bibliotecas e arquivos de inclusão para desenvolvimento de aplicações
57 SDL.
58
59 %package static
60 Summary:        Static SDL_mixer libraries
61 Summary(pl):    Statyczne biblioteki SDL_mixer
62 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com SDL_mixer
63 Group:          Development/Libraries
64 Requires:       %{name}-devel = %{version}
65
66 %description static
67 Static SDL_mixer libraries.
68
69 %description static -l pl
70 Statyczne biblioteki SDL_mixer.
71
72 %description static -l pt_BR
73 Bibliotecas estáticas para desenvolvimento com SDL_mixer.
74
75 %prep
76 %setup -q
77 %patch -p1
78
79 %build
80 #rm -f missing
81 #%%{__libtoolize}
82 #%%{__aclocal}
83 %{__autoconf}
84 #%%{__automake}
85 %configure
86 %{__make}
87
88 %install
89 rm -rf $RPM_BUILD_ROOT
90 install -d $RPM_BUILD_ROOT%{_bindir}
91
92 %{__make} install DESTDIR=$RPM_BUILD_ROOT
93
94 install playmus $RPM_BUILD_ROOT%{_bindir}
95 install playwave $RPM_BUILD_ROOT%{_bindir}
96
97 %clean
98 rm -rf $RPM_BUILD_ROOT
99
100 %post   -p /sbin/ldconfig
101 %postun -p /sbin/ldconfig
102
103 %files
104 %defattr(644,root,root,755)
105 %doc README CHANGES
106 %attr(755,root,root) %{_bindir}/playmus
107 %attr(755,root,root) %{_bindir}/playwave
108 %attr(755,root,root) %{_libdir}/lib*.so.*.*
109
110 %files devel
111 %defattr(644,root,root,755)
112 %attr(755,root,root) %{_libdir}/lib*.so
113 %{_libdir}/lib*.la
114 %{_includedir}/SDL/*
115
116 %files static
117 %defattr(644,root,root,755)
118 %{_libdir}/lib*.a
This page took 0.037004 seconds and 3 git commands to generate.