]> git.pld-linux.org Git - packages/SDL_mixer.git/blobdiff - SDL_mixer.spec
- Now with new gcc and new smpeg (with gcc-patch) SDL_mixer
[packages/SDL_mixer.git] / SDL_mixer.spec
index c76182a66d325ea66224a7aa54ca1c89996066fe..885345e40e5d7923b96c194413261d53ec69ebfe 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.4
-Release:       6
+Version:       1.2.5
+Release:       1
 License:       LGPL
 Group:         Libraries
 Source0:       http://www.libsdl.org/projects/SDL_mixer/release/%{name}-%{version}.tar.gz
+# Source0-md5: f26d4e4625f00517203e32bd06fbc5d8
 Patch0:                %{name}-timidity_cfg.patch
 URL:           http://www.libsdl.org/projects/SDL_mixer/
-BuildRequires: SDL-devel >= 1.2.0
+BuildRequires: SDL-devel >= 1.2.5-2
 BuildRequires: XFree86-devel
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: libtool
 BuildRequires: libvorbis-devel >= 1:1.0
+BuildRequires: smpeg-devel >= 0.4.4-11
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     libSDL_mixer1.2
 
-%define                _prefix         /usr/X11R6
-
 %description
 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
@@ -44,6 +44,7 @@ Group:                Development/Libraries
 Requires:      %{name} = %{version}
 Requires:      SDL-devel
 Requires:      libvorbis-devel
+Requires:      smpeg-devel
 Obsoletes:     libSDL_mixer1.2-devel
 
 %description devel
@@ -77,18 +78,23 @@ Bibliotecas est
 %patch -p1
 
 %build
-rm -f missing
+rm -f missing aclocal.m4 acinclude.m4
 %{__libtoolize}
 %{__aclocal}
-%{__autoconf}
 %{__automake}
+%{__autoconf}
 %configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+install playmus $RPM_BUILD_ROOT%{_bindir}
+install playwave $RPM_BUILD_ROOT%{_bindir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.138428 seconds and 4 git commands to generate.