]> git.pld-linux.org Git - packages/SDL_mixer.git/blame - SDL_mixer.spec
- release 3 (by relup.sh)
[packages/SDL_mixer.git] / SDL_mixer.spec
CommitLineData
eb8bdec8
JB
1#
2# Conditional build:
3%bcond_with modplug # use modplug for MOD support (mikmod is used by default)
4#
5066f289
JB
5# NOTE: libraries dlopened by sonames detected at build time:
6# libFLAC.so.8
7# libfluidsynth.so.1
8# libmikmod.so.2
9# libsmpeg-0.4.so.0
10# libvorbisfile.so.3
11#
4a37b7d1 12Summary: Simple DirectMedia Layer - Sample Mixer Library
d720fca2 13Summary(pl.UTF-8): Simple DirectMedia Layer - biblioteka miksująca próbki dźwiękowe
18bbfbb5 14Summary(pt_BR.UTF-8): SDL - Biblioteca para mixagem
4a37b7d1 15Name: SDL_mixer
eb8bdec8 16Version: 1.2.12
c5e05229 17Release: 3
879657d7 18License: Zlib-like
4a37b7d1 19Group: Libraries
c49439fb 20Source0: http://www.libsdl.org/projects/SDL_mixer/release/%{name}-%{version}.tar.gz
eb8bdec8 21# Source0-md5: e03ff73d77a55e3572ad0217131dc4a1
876b177c 22Patch0: %{name}-timidity_cfg.patch
5945ef74 23Patch1: %{name}-acfix.patch
5066f289 24URL: http://www.libsdl.org/projects/SDL_mixer/release-1.2.html
5945ef74 25BuildRequires: SDL-devel >= 1.2.10
dc202c1b 26BuildRequires: autoconf
27BuildRequires: automake
29ba1160 28BuildRequires: flac-devel >= 1.2.0
eb8bdec8 29BuildRequires: fluidsynth-devel
29ba1160
JB
30BuildRequires: libtool >= 2:2.0
31BuildRequires: libmikmod-devel >= 3.1.10
eb8bdec8 32%{?with_modplug:BuildRequires: libmodplug-devel >= 0.8.7}
f1f0fe81 33BuildRequires: libvorbis-devel >= 1:1.0
4d4d044f 34BuildRequires: smpeg-devel >= 0.4.4-11
5945ef74 35Requires: SDL >= 1.2.10
5066f289 36%{?with_modplug:Suggests: libmodplug >= 0.8.7}
fcad4b7b 37Obsoletes: libSDL_mixer1.2
58e81fb2 38BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
b346880d 39
40%description
4a37b7d1 41Due to popular demand, here is a simple multi-channel audio mixer. It
42supports 4 channels of 16 bit stereo audio, plus a single channel of
43music, mixed by the popular MikMod MOD, Timidity MIDI and SMPEG MP3
b346880d 44libraries.
45
3510fc9e 46%description -l pl.UTF-8
b61ef353
JB
47SDL_mixer to prosty wielokanałowy mikser audio. Obsługuje 4 kanały
4816-bitowego dźwięku stereo plus jeden kanał dla muzyki miksowanej
49przez popularne biblioteki MikMod MOD, Timitity MIDI i SMPEG MP3.
9641be7a 50
3510fc9e
JR
51%description -l pt_BR.UTF-8
52Biblioteca que suporta 4 canais de áudio estéreo 16 bit, mais um canal
53de música, mixado pelo populares bibliotecas MOD MikMod, MIDI timidity
165c535e 54e SMPEG MP3.
55
b346880d 56%package devel
4a37b7d1 57Summary: Header files and more to develop SDL_mixer applications
5066f289 58Summary(pl.UTF-8): Pliki nagłówkowe do rozwoju aplikacji używających biblioteki SDL_mixer
18bbfbb5 59Summary(pt_BR.UTF-8): Bibliotecas e arquivos de inclusão para desenvolvimento de aplicações SDL
4a37b7d1 60Group: Development/Libraries
4733c57f 61Requires: %{name} = %{version}-%{release}
5945ef74 62Requires: SDL-devel >= 1.2.10
fcad4b7b 63Obsoletes: libSDL_mixer1.2-devel
b346880d 64
65%description devel
4a37b7d1 66Header files and more to develop SDL_mixer applications.
67
3510fc9e 68%description devel -l pl.UTF-8
5066f289
JB
69Pliki nagłówkowe do rozwoju aplikacji używających biblioteki
70SDL_mixer.
165c535e 71
3510fc9e
JR
72%description devel -l pt_BR.UTF-8
73Bibliotecas e arquivos de inclusão para desenvolvimento de aplicações
165c535e 74SDL.
75
4a37b7d1 76%package static
2696847f
JB
77Summary: Static SDL_mixer library
78Summary(pl.UTF-8): Statyczna biblioteka SDL_mixer
18bbfbb5 79Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com SDL_mixer
4a37b7d1 80Group: Development/Libraries
4733c57f 81Requires: %{name}-devel = %{version}-%{release}
4a37b7d1 82
83%description static
2696847f 84Static SDL_mixer library.
b346880d 85
3510fc9e 86%description static -l pl.UTF-8
2696847f 87Statyczna biblioteka SDL_mixer.
9641be7a 88
3510fc9e
JR
89%description static -l pt_BR.UTF-8
90Bibliotecas estáticas para desenvolvimento com SDL_mixer.
165c535e 91
b346880d 92%prep
165c535e 93%setup -q
5945ef74
JB
94%patch0 -p1
95%patch1 -p1
b346880d 96
0a2d2453 97%build
98710110 98%{__libtoolize}
99%{__aclocal}
5a6e59ef 100%{__autoconf}
eb8bdec8 101%configure \
eb8bdec8 102 %{?with_modplug:--enable-music-mod-modplug}
4a37b7d1 103%{__make}
b346880d 104
105%install
106rm -rf $RPM_BUILD_ROOT
4a37b7d1 107
5945ef74 108%{__make} install install-bin \
9a6f941c 109 DESTDIR=$RPM_BUILD_ROOT
4a37b7d1 110
b346880d 111%clean
112rm -rf $RPM_BUILD_ROOT
113
44b866d6 114%post -p /sbin/ldconfig
115%postun -p /sbin/ldconfig
b5fb61bc 116
b346880d 117%files
4a37b7d1 118%defattr(644,root,root,755)
879657d7 119%doc CHANGES COPYING README
4a37b7d1 120%attr(755,root,root) %{_bindir}/playmus
121%attr(755,root,root) %{_bindir}/playwave
eb8bdec8 122%attr(755,root,root) %{_libdir}/libSDL_mixer-1.2.so.*.*.*
7ca29b57 123%attr(755,root,root) %ghost %{_libdir}/libSDL_mixer-1.2.so.0
b346880d 124
125%files devel
4a37b7d1 126%defattr(644,root,root,755)
efd011f9
JB
127%attr(755,root,root) %{_libdir}/libSDL_mixer.so
128%{_libdir}/libSDL_mixer.la
129%{_includedir}/SDL/SDL_mixer.h
d133af94 130%{_pkgconfigdir}/SDL_mixer.pc
4a37b7d1 131
132%files static
133%defattr(644,root,root,755)
efd011f9 134%{_libdir}/libSDL_mixer.a
This page took 0.728183 seconds and 4 git commands to generate.