]> git.pld-linux.org Git - packages/SDL_mixer.git/blobdiff - SDL_mixer.spec
- release 3: libSDL_mixer1.2{,-devel} added to Obsoletes for allow upgrade
[packages/SDL_mixer.git] / SDL_mixer.spec
index 67e74702324cfc084f639da7752f8b7a63b3e492..dec8cc71628e9f492c8981b4da25a89104634135 100644 (file)
@@ -1,15 +1,31 @@
 Summary:       Simple DirectMedia Layer - Sample Mixer Library
+Summary(pl):   Prosta biblioteka miksera
 Name:          SDL_mixer
-Version:       1.0.5
-Release:       1
+Version:       1.2.1
+Release:       3
 License:       LGPL
 Group:         Libraries
-Source0:       http://www.libsdl.org/projects/SDL_mixer/src/%{name}-%{version}.tar.gz
-URL:           http://www.libsdl.org/projects/SDL_mixer/index.html
-BuildRequires: esound-devel
-BuildRequires: SDL-devel >= 1.1.1
+Group(de):     Libraries
+Group(es):     Bibliotecas
+Group(fr):     Librairies
+Group(pl):     Biblioteki
+Group(pt_BR):  Bibliotecas
+Group(ru):     âÉÂÌÉÏÔÅËÉ
+Group(uk):     â¦Â̦ÏÔÅËÉ
+Source0:       http://www.libsdl.org/projects/SDL_mixer/release/%{name}-%{version}.tar.gz
+Patch0:                %{name}-timidity_cfg.patch
+URL:           http://www.libsdl.org/projects/SDL_mixer/
+BuildRequires: SDL-devel >= 1.2.0
 BuildRequires: XFree86-devel
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: esound-devel
+BuildRequires: libtool
+BuildRequires: libvorbis-devel
 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
@@ -17,32 +33,62 @@ 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
+MikMod MOD, Timitity MIDI i biblioteki SMPEG MP3.
+
 %package devel
 Summary:       Header files and more to develop SDL_mixer applications
+Summary(pl):   Pliki nag³ówkowe do rozwoju aplikacji u¿ywaj±cych SDL_mixer
 Group:         Development/Libraries
+Group(de):     Entwicklung/Libraries
+Group(es):     Desarrollo/Bibliotecas
 Group(fr):     Development/Librairies
 Group(pl):     Programowanie/Biblioteki
+Group(pt_BR):  Desenvolvimento/Bibliotecas
+Group(ru):     òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
+Group(uk):     òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
 Requires:      %{name} = %{version}
 Requires:      SDL-devel
+Requires:      libvorbis-devel
+Obsoletes:     libSDL_mixer1.2-devel
 
 %description devel
 Header files and more to develop SDL_mixer applications.
 
+%description -l pl devel
+Pliki nag³ówkowe do rozwoju aplikacji u¿ywaj±cych SDL_mixer
+
 %package static
-Summary:       Statis SDL_mixer libraries
+Summary:       Static SDL_mixer libraries
+Summary(pl):   Statyczne biblioteki SDL_mixer
 Group:         Development/Libraries
+Group(de):     Entwicklung/Libraries
+Group(es):     Desarrollo/Bibliotecas
 Group(fr):     Development/Librairies
 Group(pl):     Programowanie/Biblioteki
+Group(pt_BR):  Desenvolvimento/Bibliotecas
+Group(ru):     òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
+Group(uk):     òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
 Requires:      %{name}-devel = %{version}
 
 %description static
-Statis SDL_mixer libraries.
+Static SDL_mixer libraries.
+
+%description -l pl static
+Statyczne biblioteki SDL_mixer.
 
 %prep
 %setup -q 
+%patch -p1
 
 %build
-LDFLAGS="-s"; export LDFLAGS
+rm -f missing
+libtoolize --copy --force
+aclocal
+autoconf
+automake -a -c
 %configure
 %{__make}
 
@@ -51,16 +97,14 @@ rm -rf $RPM_BUILD_ROOT
 
 %{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
-
 gzip -9nf README CHANGES
 
-%post   -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/playmus
This page took 0.081015 seconds and 4 git commands to generate.