Summary: MPEG audio player Name: mpg123 Version: 0.59r Release: 23.2.20060mdk Group: Sound BuildRequires: audiofile-devel esound-devel Url: http://www.mpg123.de/ Source0: http://www.mpg123.de/mpg123/mpg123-0.59r-pl1.tar.bz2 Source1: mp3license.tar.bz2 Patch0: mpg123.patch.bz2 Patch1: mpg123-0.59r-8bit.patch.bz2 Patch2: mpg123-0.59r-ppc-fix-buggy-Makefile.bz2 Patch3: mpg123-0.59r-emu10k1-fixes.patch.bz2 Patch4: mpg123-0.59r-x86_64-target.patch.bz2 Patch5: mpg123-0.59r-includes.patch.bz2 Patch6: mpg123-0.59r-security-zero_bitrate.patch.bz2 Patch7: mpg123-0.59r-64bit-fixes.patch.bz2 Patch8: mpg123-0.59r-overflow.patch.bz2 Patch9: mpg123-0.59r-CAN-2004-0805.patch.bz2 Patch10: mpg123-0.59r-gentoo-bug68343.patch.bz2 Patch11: mpg123-CAN-2004-0991.patch.bz2 Patch12: mpg123-CVE-2006-1655.patch.bz2 Patch13: mpg123-0.59r-CVE-2007-0578.patch License: Distributable Buildroot: %_tmppath/%name-%version-root %description Mpg123 is a fast, free and portable MPEG audio player for Unix. It supports MPEG 1.0/2.0 layers 1, 2 and 3 ("mp3" files). For full CD quality playback (44 kHz, 16 bit, stereo) a fast CPU is required. Mono and/or reduced quality playback (22 kHz or 11 kHz) is possible on slow CPUs (like Intel 486). For information on the MP3 License, please visit: http://www.mpeg.org/ %prep %setup -q -a 1 %patch0 -p1 -b .mike %patch1 -p1 -b .8bit %ifarch ppc %patch2 -p1 %endif %patch3 -p1 %patch4 -p1 -b .x86_64-target %patch5 -p1 -b .includes %patch6 -p1 -b .sec %patch7 -p1 -b .64bit-fixes %patch8 -p1 -b .can-2003-0865 %patch9 -p1 -b .can-2004-0805 %patch10 -p1 -b .sec2 %patch11 -p1 -b .can-2004-0991 %patch12 -p1 -b .cve-2006-1655 %patch13 -p1 -b .cve-2007-0578 %build %make linux-$RPM_ARCH-esd %install rm -rf $RPM_BUILD_ROOT/ mkdir -p $RPM_BUILD_ROOT%{_bindir} mkdir -p $RPM_BUILD_ROOT/usr/man/man1 make install INSTALL=$RPM_BUILD_ROOT # ugly hack mkdir -p $RPM_BUILD_ROOT/%{_mandir} mv -f $RPM_BUILD_ROOT/usr/man/man1 $RPM_BUILD_ROOT/%{_mandir} %clean rm -r $RPM_BUILD_ROOT %files %defattr(0644,root,root,755) %doc BUGS CHANGES COPYING INSTALL JUKEBOX README TODO %doc mp3license %defattr (-,root,root) %{_bindir}/* %{_mandir}/man1/* %changelog * Fri Feb 02 2007 Stew Benedict <sbenedict@mandriva.com> 0.59r-23.2.20060mdk - P13: fix for CVE-2006-0578 * Fri May 26 2006 Stew Benedict <sbenedict@mandriva.com> 0.59r-23.1.20060mdk - P12: fix for CVE-2006-1655 * Tue Jan 26 2005 Michael Scherer <misc@mandrake.org> 0.59r-23mdk - from Nicolas Lécureuil <neoclust@zarb.org> - security fix for CAN-2004-0991 - security fix (ref: gentoo bug #68343) * Fri Oct 08 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 0.59r-22mdk - Patch 8 & 9 : security fixes for CAN-2003-0865 and CAN-2004-0805 * Mon Dec 22 2003 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 0.59r-21mdk - 64-bit fixes * Thu Aug 14 2003 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 0.59r-20mdk - Handle amd64 * Tue Jul 22 2003 Vincent Danen <vdanen@mandrakesoft.com> 0.59r-19mdk - P6: security patch * Tue Jul 22 2003 Per Øyvind Karlsen <peroyvind@sintrax.net> 0.59r-18mdk - rebuild * Fri Oct 4 2002 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 0.59r-17mdk - Patch4: Let it build on x86-64 - Patch5: Missing includes * Tue Oct 02 2001 Lenny Cartier <lenny@mandrakesoft.com> 0.59r-16mdk - fix permissions * Mon Jul 30 2001 Lenny Cartier <lenny@mandrakesoft.com> 0.59r-15mdk - rebuild * Thu Mar 15 2001 Chmouel Boudjnah <chmouel@mandrakesoft.com> 0.59r-14mdk - Add fixes for emu10k1 from CVS. * Sun Dec 03 2000 David BAUDENS <baudens@maandrakesoft.com> 0.59r-13mdk - PPC: fix buggy Makefile * Mon Aug 07 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.59r-12mdk - automatically added BuildRequires * Wed Aug 02 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 0.59r-11mdk - rebuild for the BM - macrosifications - add a url to the source * Thu Apr 06 2000 Lenny Cartier <lenny@mandrakesoft.com> 0.59r-10mdk - bzip license * Tue Mar 23 2000 Lenny Cartier <lenny@mandrakesoft.com> 0.59r-9mdk - spechelper fixes * Mon Nov 15 1999 Lenny Cartier <lenny@mandrakesoft.com> - v0.59r * Wed May 05 1999 Bernhard Rosenkraenzer <bero@mandrakesoft.com> - Mandrake adaptions * Wed Apr 07 1999 Preston Brown <pbrown@redhat.com> - removed debug output from audio_esd.c. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 5) * Wed Mar 17 1999 Michael Fulbright <drmike@redhat.com> - hacked to work with esd for 8 bit fallback * Sat Mar 6 1999 Matt Wilson <msw@redhat.com> - rebuilt against new libaudio and esd * Mon Mar 1 1999 Matt Wilson <msw@redhat.com> - rebuilt against new libaudio and esd * Fri Feb 26 1999 Michael Maher <mike@redhat.com> - update package * Tue Jan 12 1999 Michael Maher <mike@redhat.com> - allowed to ship ... finally. * Wed Jan 21 1998 Otto Hammersmith <otto@redhat.com> - more cleanup