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