Summary: The Vorbis General Audio Compression Codec. Name: libvorbis Version: 1.2.0 Release: 7%{?dist} Epoch: 1 Group: System Environment/Libraries License: BSD URL: http://www.xiph.org/ Source: http://downloads.xiph.org/releases/vorbis/libvorbis-%{version}.tar.bz2 Patch0: libvorbis-1.0-m4.patch Patch1: r14502.patch Patch2: r14598-CVE-2008-1420.patch Patch3: r14602-CVE-2008-1419.patch Patch4: r14602-CVE-2008-1423.patch Patch5: r14811.patch Patch6: r16182-CVE-2009-2663.patch Patch7: r16326.diff Patch8: r16597.diff BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libogg-devel >= 2:1.1 %description Ogg Vorbis is a fully open, non-proprietary, patent- and royalty-free, general-purpose compressed audio format for audio and music at fixed and variable bitrates from 16 to 128 kbps/channel. The libvorbis package contains runtime libraries for use in programs that support Ogg Vorbis. %package devel Summary: Development tools for Vorbis applications. Group: Development/Libraries Requires: libogg-devel >= 2:1.1 Requires: libvorbis = %{epoch}:%{version}-%{release} Obsoletes: vorbis-devel %description devel The libvorbis-devel package contains the header files and documentation needed to develop applications with Ogg Vorbis. %prep %setup -q %patch0 -p1 -b .m4 %patch1 -p0 -b .r14502 %patch2 -p0 -b .r14598-CVE-2008-1420 %patch3 -p0 -b .r14602-CVE-2008-1419 %patch4 -p0 -b .r14602-CVE-2008-1423 %patch5 -p0 -b .r14811 %patch6 -p1 -b .r16182-CVE-2009-2663 %patch7 -p1 %patch8 -p1 perl -p -i -e "s/-O20/$RPM_OPT_FLAGS/" configure perl -p -i -e "s/-ffast-math//" configure # link to .pdf spec rather than ship redundant copy perl -p -i -e "s@Vorbis_I_spec.pdf@http://www.xiph.org/ogg/vorbis/doc/Vorbis_I_spec.pdf@" doc/index.html rm -f doc/Vorbis_I_spec.pdf %build %configure --with-ogg-libraries=%{_libdir} --disable-static make %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install # remove unpackaged files from the buildroot rm -f $RPM_BUILD_ROOT%{_libdir}/*.la # create a cleaned up (Makefile free) copy of doc for -devel %doc cp -a doc _doc rm `find _doc -name 'Makefile*'` %files %defattr(-,root,root) %doc AUTHORS COPYING README %{_libdir}/libvorbis.so.* %{_libdir}/libvorbisfile.so.* %{_libdir}/libvorbisenc.so.* %files devel %defattr(-,root,root) %doc _doc/* %{_includedir}/vorbis %{_libdir}/libvorbis.so %{_libdir}/libvorbisfile.so %{_libdir}/libvorbisenc.so %{_libdir}/pkgconfig/*.pc %{_datadir}/aclocal/vorbis.m4 %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %changelog * Mon Nov 9 2009 Jindrich Novy 1.2.0-7 - backport patches to fix CVE-2009-3379 (#531765) from upstream * Sun Aug 9 2009 Jindrich Novy 1.2.0-6 - fix CVE-2009-2663 (#516259) * Sun Sep 7 2008 Hans de Goede -1:1.2.0-5 - Fix patch fuzz build failure * Wed May 14 2008 Jindrich Novy - 1:1.2.0-4 - fix CVE-2008-1420, CVE-2008-1419, CVE-2008-1423 (#446344) * Tue Feb 19 2008 Fedora Release Engineering - 1:1.2.0-3 - Autorebuild for GCC 4.3 * Sun Oct 21 2007 Hans de Goede - 1:1.2.0-2 - Don't include Makefile's in %doc, avoiding a multilib conflict (bz 342481) * Mon Oct 15 2007 Behdad Esfahbod - 1:1.2.0-1 - Update to 1.2.0 - Resolves: #250115 * Thu Aug 23 2007 Adam Jackson - 1:1.1.2-4 - Rebuild for build ID * Mon Jun 25 2007 Matthias Clasen - 1:1.1.2-3 - Fix typos in %%description (#245471) * Thu Feb 8 2007 Matthias Clasen - 1:1.1.2-2 - Package review cleanups - Don't ship static libraries * Wed Jul 12 2006 Jesse Keating - 1:1.1.2-1.2.1 - rebuild * Fri Feb 10 2006 Jesse Keating - 1:1.1.2-1.2 - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Jesse Keating - 1:1.1.2-1.1 - rebuilt for new gcc4.1 snapshot and glibc changes * Wed Jan 18 2006 John (J5) Palmieri 1:1.1.2-1 - Update to 1.1.2 * Fri Dec 09 2005 Jesse Keating - rebuilt * Wed Mar 02 2005 John (J5) Palmieri 1:1.1.1-1 - Update to 1.1.1 * Wed Mar 02 2005 John (J5) Palmieri 1:1.1.0-2 - rebuild with gcc 4.0 * Wed Sep 29 2004 Colin Walters 1:1.1.0-1 - Update to 1.1.0 - Remove upstreamed patch libvorbis-underquoted.patch * Wed Sep 29 2004 Warren Togami 1:1.0.1-5 - link to .pdf spec rather than ship redundant copy - spec cleanups * Thu Jul 15 2004 Tim Waugh 1:1.0.1-4 - Fixed warnings in shipped m4 file. * Tue Jun 15 2004 Elliot Lee - rebuilt * Tue Mar 02 2004 Elliot Lee - rebuilt * Fri Feb 13 2004 Elliot Lee - rebuilt * Thu Dec 11 2003 Bill Nottingham 1:1.0.1-1 - update to 1.0.1 * Wed Jun 04 2003 Elliot Lee - rebuilt * Mon Feb 24 2003 Elliot Lee - rebuilt * Fri Feb 21 2003 Elliot lee 1:1.0-6 - Fix #81026 by updating libvorbis-1.0-m4.patch * Wed Jan 22 2003 Tim Powers - rebuilt * Wed Dec 11 2002 Bill Nottingham 1:1.0-4 - add epochs to dependencies, to avoid 1.0rc3 >= 1.0 miscomparisons (#79374) - fix vorbis.m4 * Fri Nov 29 2002 Tim Powers 1:1.0-2 - remove unpackaged files from the buildroot - tell configure where ogg libs are - lib64'ize * Fri Jul 18 2002 Bill Nottingham - one-dot-oh - libtool strikes again (#66110) * Fri Jun 21 2002 Tim Powers - automated rebuild * Thu May 23 2002 Tim Powers - automated rebuild * Wed Jan 09 2002 Tim Powers - automated rebuild * Tue Jan 1 2002 Bill Nottingham - update to 1.0rc3 * Thu Aug 16 2001 Bill Nottingham - fix bug in floor backend () * Mon Aug 13 2001 Bill Nottingham - update to 1.0rc2 * Fri Jul 20 2001 Bill Nottingham - split out from the main vorbis package * Tue Jul 10 2001 Bill Nottingham - own %%{_libdir}/ao - I love libtool * Tue Jun 26 2001 Florian La Roche - add links from library major version numbers in rpms * Tue Jun 19 2001 Bill Nottingham - update to rc1 * Fri May 4 2001 Oliver Paukstadt - fixed perl line in spec file to set optims correctly * Tue Mar 20 2001 Bill Nottingham - fix alpha/ia64, again - use optflags, not -O20 -ffast-math (especially on alpha...) * Mon Feb 26 2001 Bill Nottingham - fix license tag * Mon Feb 26 2001 Bill Nottingham - beta4 * Fri Feb 9 2001 Bill Nottingham - fix alpha/ia64 * Thu Feb 8 2001 Bill Nottingham - update CVS in prep for beta4 * Wed Feb 07 2001 Philipp Knirsch - Fixed bugzilla bug #25391. ogg123 now usses the OSS driver by default if none was specified. * Tue Jan 9 2001 Bill Nottingham - update CVS, grab aRts backend for libao * Thu Dec 27 2000 Bill Nottingham - update CVS * Fri Dec 01 2000 Bill Nottingham - rebuild because of broken fileutils * Mon Nov 13 2000 Bill Nottingham - hack up specfile some, merge some packages * Sat Oct 21 2000 Jack Moffitt - initial spec file created