]> git.pld-linux.org Git - packages/SDL_mixer.git/blob - SDL_mixer.spec
- drop X11 requirements
[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.6
6 Release:        3
7 License:        LGPL
8 Group:          Libraries
9 Source0:        http://www.libsdl.org/projects/SDL_mixer/release/%{name}-%{version}.tar.gz
10 # Source0-md5:  2b8beffad9179d80e598c22c80efb135
11 Patch0:         %{name}-timidity_cfg.patch
12 URL:            http://www.libsdl.org/projects/SDL_mixer/
13 BuildRequires:  SDL-devel >= 1.2.5-2
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 Obsoletes:      libSDL_mixer1.2
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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}-%{release}
44 Requires:       SDL-devel >= 1.2.5-2
45 Requires:       libvorbis-devel >= 1:1.0
46 Requires:       smpeg-devel >= 0.4.4-11
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}-%{release}
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 acinclude.m4
81 %{__libtoolize}
82 %{__aclocal}
83 %{__automake}
84 %{__autoconf}
85 %configure \
86         --disable-music-libmikmod \
87         --enable-music-mod
88 %{__make}
89
90 %install
91 rm -rf $RPM_BUILD_ROOT
92 install -d $RPM_BUILD_ROOT%{_bindir}
93
94 %{__make} install \
95         DESTDIR=$RPM_BUILD_ROOT
96
97 libtool install playmus $RPM_BUILD_ROOT%{_bindir}
98 libtool install playwave $RPM_BUILD_ROOT%{_bindir}
99
100 %clean
101 rm -rf $RPM_BUILD_ROOT
102
103 %post   -p /sbin/ldconfig
104 %postun -p /sbin/ldconfig
105
106 %files
107 %defattr(644,root,root,755)
108 %doc README CHANGES
109 %attr(755,root,root) %{_bindir}/playmus
110 %attr(755,root,root) %{_bindir}/playwave
111 %attr(755,root,root) %{_libdir}/lib*.so.*.*
112
113 %files devel
114 %defattr(644,root,root,755)
115 %attr(755,root,root) %{_libdir}/lib*.so
116 %{_libdir}/lib*.la
117 %{_includedir}/SDL/*
118
119 %files static
120 %defattr(644,root,root,755)
121 %{_libdir}/lib*.a
This page took 0.031777 seconds and 3 git commands to generate.