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