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