]> git.pld-linux.org Git - packages/SDL_mixer.git/blobdiff - SDL_mixer.spec
- updated to 1.2.7, updated timidity_cfg patch, added acfix patch
[packages/SDL_mixer.git] / SDL_mixer.spec
index 3e4e84be146aa424e2ec24cc74f62ab5fcc17187..ba15125045160e40a527c99185dddc9f84b81098 100644 (file)
@@ -2,24 +2,24 @@ Summary:      Simple DirectMedia Layer - Sample Mixer Library
 Summary(pl):   Prosta biblioteka miksera
 Summary(pt_BR):        SDL - Biblioteca para mixagem
 Name:          SDL_mixer
-Version:       1.2.3
-Release:       2
+Version:       1.2.7
+Release:       1
 License:       LGPL
 Group:         Libraries
 Source0:       http://www.libsdl.org/projects/SDL_mixer/release/%{name}-%{version}.tar.gz
+# Source0-md5: 7959b89c8f8f1564ca90968f6c88fa1e
 Patch0:                %{name}-timidity_cfg.patch
+Patch1:                %{name}-acfix.patch
 URL:           http://www.libsdl.org/projects/SDL_mixer/
-BuildRequires: SDL-devel >= 1.2.0
-BuildRequires: XFree86-devel
+BuildRequires: SDL-devel >= 1.2.10
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: esound-devel
 BuildRequires: libtool
-BuildRequires: libvorbis-devel
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+BuildRequires: libvorbis-devel >= 1:1.0
+BuildRequires: smpeg-devel >= 0.4.4-11
+Requires:      SDL >= 1.2.10
 Obsoletes:     libSDL_mixer1.2
-
-%define                _prefix         /usr/X11R6
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Due to popular demand, here is a simple multi-channel audio mixer. It
@@ -27,15 +27,9 @@ supports 4 channels of 16 bit stereo audio, plus a single channel of
 music, mixed by the popular MikMod MOD, Timidity MIDI and SMPEG MP3
 libraries.
 
-%description -l es
-Due to popular demand, here is a simple multi-channel audio mixer. It
-supports 4 channels of 16 bit stereo audio, plus a single channel of
-music, mixed by the popular MikMod MOD, Timidity MIDI and SMPEG MP3
-libraries.
-
 %description -l pl
 Prosty wielo-kana³owy mikser audio. Wspiera on 4 kana³y 16 bitowego
-dzwiêku stereo plus jeden kana³ dla muzyki miksowanej przez popularny
+d¼wiêku stereo plus jeden kana³ dla muzyki miksowanej przez popularny
 MikMod MOD, Timitity MIDI i biblioteki SMPEG MP3.
 
 %description -l pt_BR
@@ -48,33 +42,26 @@ Summary:    Header files and more to develop SDL_mixer applications
 Summary(pl):   Pliki nag³ówkowe do rozwoju aplikacji u¿ywaj±cych SDL_mixer
 Summary(pt_BR):        Bibliotecas e arquivos de inclusão para desenvolvimento de aplicações SDL
 Group:         Development/Libraries
-Requires:      %{name} = %{version}
-Requires:      SDL-devel
-Requires:      libvorbis-devel
+Requires:      %{name} = %{version}-%{release}
+Requires:      SDL-devel >= 1.2.10
 Obsoletes:     libSDL_mixer1.2-devel
 
 %description devel
 Header files and more to develop SDL_mixer applications.
 
-%description devel -l es
-Due to popular demand, here is a simple multi-channel audio mixer. It
-supports 4 channels of 16 bit stereo audio, plus a single channel of
-music, mixed by the popular MikMod MOD, Timidity MIDI and SMPEG MP3
-libraries.
+%description devel -l pl
+Pliki nag³ówkowe do rozwoju aplikacji u¿ywaj±cych SDL_mixer
 
 %description devel -l pt_BR
 Bibliotecas e arquivos de inclusão para desenvolvimento de aplicações
 SDL.
 
-%description devel -l pl
-Pliki nag³ówkowe do rozwoju aplikacji u¿ywaj±cych SDL_mixer
-
 %package static
 Summary:       Static SDL_mixer libraries
 Summary(pl):   Statyczne biblioteki SDL_mixer
 Summary(pt_BR):        Bibliotecas estáticas para desenvolvimento com SDL_mixer
 Group:         Development/Libraries
-Requires:      %{name}-devel = %{version}
+Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
 Static SDL_mixer libraries.
@@ -87,41 +74,45 @@ Bibliotecas est
 
 %prep
 %setup -q
-%patch -p1
+%patch0 -p1
+%patch1 -p1
 
 %build
-rm -f missing
+rm -f acinclude.m4
 %{__libtoolize}
-aclocal
+%{__aclocal}
 %{__autoconf}
-%{__automake}
-%configure
+%configure \
+       ogg_lib=libvorbisfile.so.3 \
+       smpeg_lib=libsmpeg-0.4.so.0 \
+       --disable-music-libmikmod \
+       --enable-music-mod
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
-
-gzip -9nf README CHANGES
+%{__make} install install-bin \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post   -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
+%doc README CHANGES
 %attr(755,root,root) %{_bindir}/playmus
 %attr(755,root,root) %{_bindir}/playwave
 %attr(755,root,root) %{_libdir}/lib*.so.*.*
 
 %files devel
 %defattr(644,root,root,755)
-%doc {README,CHANGES}.gz
 %attr(755,root,root) %{_libdir}/lib*.so
-%attr(755,root,root) %{_libdir}/lib*.la
+%{_libdir}/lib*.la
 %{_includedir}/SDL/*
 
 %files static
This page took 0.086806 seconds and 4 git commands to generate.