]> git.pld-linux.org Git - packages/SDL_mixer.git/blob - SDL_mixer.spec
- pl fix
[packages/SDL_mixer.git] / SDL_mixer.spec
1 Summary:        Simple DirectMedia Layer - Sample Mixer Library
2 Summary(pl.UTF-8):      Prosta biblioteka miksera
3 Summary(pt_BR.UTF-8):   SDL - Biblioteca para mixagem
4 Name:           SDL_mixer
5 Version:        1.2.8
6 Release:        1
7 License:        LGPL v2+
8 Group:          Libraries
9 Source0:        http://www.libsdl.org/projects/SDL_mixer/release/%{name}-%{version}.tar.gz
10 # Source0-md5:  0b5b91015d0f3bd9597e094ba67c4d65
11 Patch0:         %{name}-timidity_cfg.patch
12 Patch1:         %{name}-acfix.patch
13 URL:            http://www.libsdl.org/projects/SDL_mixer/
14 BuildRequires:  SDL-devel >= 1.2.10
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  libtool
18 BuildRequires:  libvorbis-devel >= 1:1.0
19 BuildRequires:  smpeg-devel >= 0.4.4-11
20 Requires:       SDL >= 1.2.10
21 Obsoletes:      libSDL_mixer1.2
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 Due to popular demand, here is a simple multi-channel audio mixer. It
26 supports 4 channels of 16 bit stereo audio, plus a single channel of
27 music, mixed by the popular MikMod MOD, Timidity MIDI and SMPEG MP3
28 libraries.
29
30 %description -l pl.UTF-8
31 SDL_mixer to prosty wielokanałowy mikser audio. Obsługuje 4 kanały
32 16-bitowego dźwięku stereo plus jeden kanał dla muzyki miksowanej
33 przez popularne biblioteki MikMod MOD, Timitity MIDI i SMPEG MP3.
34
35 %description -l pt_BR.UTF-8
36 Biblioteca que suporta 4 canais de áudio estéreo 16 bit, mais um canal
37 de música, mixado pelo populares bibliotecas MOD MikMod, MIDI timidity
38 e SMPEG MP3.
39
40 %package devel
41 Summary:        Header files and more to develop SDL_mixer applications
42 Summary(pl.UTF-8):      Pliki nagłówkowe do rozwoju aplikacji używających SDL_mixer
43 Summary(pt_BR.UTF-8):   Bibliotecas e arquivos de inclusão para desenvolvimento de aplicações SDL
44 Group:          Development/Libraries
45 Requires:       %{name} = %{version}-%{release}
46 Requires:       SDL-devel >= 1.2.10
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.UTF-8
53 Pliki nagłówkowe do rozwoju aplikacji używających SDL_mixer
54
55 %description devel -l pt_BR.UTF-8
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.UTF-8):      Statyczne biblioteki SDL_mixer
62 Summary(pt_BR.UTF-8):   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.UTF-8
70 Statyczne biblioteki SDL_mixer.
71
72 %description static -l pt_BR.UTF-8
73 Bibliotecas estáticas para desenvolvimento com SDL_mixer.
74
75 %prep
76 %setup -q
77 %patch0 -p1
78 %patch1 -p1
79
80 rm -f acinclude.m4
81
82 %build
83 %{__libtoolize}
84 %{__aclocal}
85 %{__autoconf}
86 %configure \
87         ogg_lib=libvorbisfile.so.3 \
88         smpeg_lib=libsmpeg-0.4.so.0 \
89         --disable-music-libmikmod \
90         --enable-music-mod
91 %{__make}
92
93 %install
94 rm -rf $RPM_BUILD_ROOT
95
96 %{__make} install install-bin \
97         DESTDIR=$RPM_BUILD_ROOT
98
99 %clean
100 rm -rf $RPM_BUILD_ROOT
101
102 %post   -p /sbin/ldconfig
103 %postun -p /sbin/ldconfig
104
105 %files
106 %defattr(644,root,root,755)
107 %doc CHANGES README
108 %attr(755,root,root) %{_bindir}/playmus
109 %attr(755,root,root) %{_bindir}/playwave
110 %attr(755,root,root) %{_libdir}/libSDL_mixer-*.so.*.*.*
111
112 %files devel
113 %defattr(644,root,root,755)
114 %attr(755,root,root) %{_libdir}/libSDL_mixer.so
115 %{_libdir}/libSDL_mixer.la
116 %{_includedir}/SDL/SDL_mixer.h
117
118 %files static
119 %defattr(644,root,root,755)
120 %{_libdir}/libSDL_mixer.a
This page took 0.0538 seconds and 3 git commands to generate.