Blame SPECS/libvorbis.spec

75e9e4
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
75e9e4
95fcd1
Summary:	The Vorbis General Audio Compression Codec
95fcd1
Name:		libvorbis
95fcd1
Version:	1.3.3
a5e60f
Release:	8%{?dist}.1
95fcd1
Epoch:		1
95fcd1
Group:		System Environment/Libraries
95fcd1
License:	BSD
95fcd1
URL:		http://www.xiph.org/
95fcd1
Source:		http://downloads.xiph.org/releases/vorbis/%{name}-%{version}.tar.xz
95fcd1
BuildRequires:	libogg-devel >= 2:1.1
95fcd1
Patch2:		libvorbis-1.2.3-add-needed.patch
a5e60f
Patch3:         0001-CVE-2018-5146-Prevent-out-of-bounds-write-in-codeboo.patch
95fcd1
95fcd1
%description
95fcd1
Ogg Vorbis is a fully open, non-proprietary, patent- and royalty-free,
95fcd1
general-purpose compressed audio format for audio and music at fixed
95fcd1
and variable bitrates.
95fcd1
95fcd1
The libvorbis package contains runtime libraries for use in programs
95fcd1
that support Ogg Vorbis.
95fcd1
95fcd1
%package devel
95fcd1
Summary: Development tools for Vorbis applications
95fcd1
Group: Development/Libraries
95fcd1
Requires:	libogg-devel >= 2:1.1
95fcd1
Requires:	%{name} = %{epoch}:%{version}-%{release}
95fcd1
Obsoletes:	vorbis-devel
95fcd1
95fcd1
%description devel
95fcd1
The libvorbis-devel package contains the header files and documentation
95fcd1
needed to develop applications with Ogg Vorbis.
95fcd1
95fcd1
%package devel-docs
95fcd1
Summary: Documentation for developing Vorbis applications
95fcd1
Group: Development/Libraries
95fcd1
Requires: %{name}-devel = %{epoch}:%{version}-%{release}
95fcd1
BuildArch: noarch
95fcd1
95fcd1
%description devel-docs
95fcd1
Documentation for developing applications with libvorbis.
95fcd1
95fcd1
%prep
95fcd1
95fcd1
%setup -q
95fcd1
%patch2 -p1
a5e60f
%patch3 -p1
a5e60f
sed -i "s|-O20|$RPM_OPT_FLAGS|" configure
95fcd1
sed -i "s/-ffast-math//" configure
75e9e4
sed -i "s/-mcpu=750//" configure
95fcd1
95fcd1
%build
95fcd1
%configure --with-ogg-libraries=%{_libdir} --disable-static
95fcd1
make
95fcd1
95fcd1
%install
95fcd1
rm -rf $RPM_BUILD_ROOT
75e9e4
make DESTDIR=$RPM_BUILD_ROOT install docdir=%{_pkgdocdir}
75e9e4
install -pm 644 -t $RPM_BUILD_ROOT%{_pkgdocdir} AUTHORS COPYING README
95fcd1
# remove unpackaged files from the buildroot
95fcd1
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
95fcd1
95fcd1
%check
95fcd1
make check
95fcd1
95fcd1
%files
95fcd1
%defattr(-,root,root)
75e9e4
%doc %dir %{_pkgdocdir}
75e9e4
%doc %{_pkgdocdir}/COPYING
95fcd1
%{_libdir}/libvorbis.so.*
95fcd1
%{_libdir}/libvorbisfile.so.*
95fcd1
%{_libdir}/libvorbisenc.so.*
95fcd1
95fcd1
%files devel
95fcd1
%defattr(-,root,root)
95fcd1
%{_includedir}/vorbis
95fcd1
%{_libdir}/libvorbis.so
95fcd1
%{_libdir}/libvorbisfile.so
95fcd1
%{_libdir}/libvorbisenc.so
95fcd1
%{_libdir}/pkgconfig/*.pc
95fcd1
%{_datadir}/aclocal/vorbis.m4
95fcd1
95fcd1
%files devel-docs
95fcd1
%defattr(-,root,root)
75e9e4
%{_pkgdocdir}/*
75e9e4
%exclude %{_pkgdocdir}/COPYING
75e9e4
%exclude %{_pkgdocdir}/doxygen-build.stamp
95fcd1
95fcd1
%clean 
95fcd1
rm -rf $RPM_BUILD_ROOT
95fcd1
95fcd1
%post -p /sbin/ldconfig
95fcd1
95fcd1
%postun -p /sbin/ldconfig
95fcd1
95fcd1
%changelog
a5e60f
* Tue Mar 20 2018 Adam Jackson <ajax@redhat.com> - 1.3.3-8.1
a5e60f
- Backport fix for CVE-2018-5146
a5e60f
75e9e4
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1:1.3.3-8
75e9e4
- Mass rebuild 2014-01-24
75e9e4
75e9e4
* Wed Jan 15 2014 Adam Jackson <ajax@redhat.com> 1.3.3-7
75e9e4
- Nuke -mcpu=750 from cflags for PPC, that plus -mcpu=power7 confuses gcc.
75e9e4
75e9e4
* Thu Aug  8 2013 Ville Skyttä <ville.skytta@iki.fi> - 1:1.3.3-6
75e9e4
- Install docs to %%{_pkgdocdir} where available (#993967).
75e9e4
75e9e4
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.3.3-5
75e9e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
75e9e4
95fcd1
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.3.3-4
95fcd1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
95fcd1
95fcd1
* Sat Jul 21 2012 Ville Skyttä <ville.skytta@iki.fi> - 1:1.3.3-3
95fcd1
- Run test suite during build.
95fcd1
- Fix doc file permissions and duplicate doc dir ownership.
95fcd1
- rpmlint warning fixes.
95fcd1
95fcd1
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.3.3-2
95fcd1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
95fcd1
95fcd1
* Mon Feb 13 2012 Adam Jackson <ajax@redhat.com> 1.3.3-1
95fcd1
- libvorbis 1.3.3 (#787635)
95fcd1
95fcd1
* Wed Jan 04 2012 Jindrich Novy <jnovy@redhat.com> 1.3.2-2
95fcd1
- ship documentation only in -doc subpackage and only license
95fcd1
  in -devel (#540634) - thanks to Edward Sheldrake
95fcd1
- -devel-doc subpackage requires -devel
95fcd1
95fcd1
* Wed Feb 09 2011 Adam Jackson <ajax@redhat.com> 1.3.2-1
95fcd1
- libvorbis 1.3.2
95fcd1
95fcd1
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.3.1-3
95fcd1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
95fcd1
95fcd1
* Thu Jul 08 2010 Adam Jackson <ajax@redhat.com> 1.3.1-2
95fcd1
- Include COPYING in base package too.
95fcd1
95fcd1
* Mon Mar 29 2010 Adam Jackson <ajax@redhat.com> 1.3.1-1
95fcd1
- libvorbis 1.3.1.  Fixes surround.
95fcd1
95fcd1
* Tue Feb 09 2010 Adam Jackson <ajax@redhat.com> 1.2.3-5
95fcd1
- libvorbis-1.2.3-add-needed.patch: Fix FTBFS from --no-add-needed
95fcd1
95fcd1
* Mon Nov 23 2009 Adam Jackson <ajax@redhat.com> 1.2.3-4
95fcd1
- Fix doc subpackage build (#540634)
95fcd1
95fcd1
* Mon Nov  2 2009 Jindrich Novy <jnovy@redhat.com> 1.2.3-3
95fcd1
- backport patches to fix CVE-2009-3379 (#531765) from upstream
95fcd1
95fcd1
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.2.3-2
95fcd1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
95fcd1
95fcd1
* Mon Jul 13 2009 Adam Jackson <ajax@redhat.com> 1.2.3-1
95fcd1
- libvorbis 1.2.3
95fcd1
95fcd1
* Wed Jul 08 2009 Adam Jackson <ajax@redhat.com> 1.2.2-2
95fcd1
- libvorbis-1.2.2-svn16228.patch: Backport a fix from pre-1.2.3 to hopefully
95fcd1
  fix small sound file playback. (#505610)
95fcd1
95fcd1
* Thu Jul 02 2009 Adam Jackson <ajax@redhat.com> 1.2.2-1
95fcd1
- libvorbis 1.2.2
95fcd1
95fcd1
* Wed Jun 03 2009 Adam Jackson <ajax@redhat.com> 1.2.2-0.1.rc1
95fcd1
- libvorbis 1.2.2rc1
95fcd1
95fcd1
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.2.0-7
95fcd1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
95fcd1
95fcd1
* Thu Feb 12 2009 Caolán McNamara <caolanm@redhat.com> -1:1.2.0-6
95fcd1
- rebuild to get provides pkgconfig(vorbisenc)
95fcd1
95fcd1
* Sun Sep  7 2008 Hans de Goede <hdegoede@redhat.com> -1:1.2.0-5
95fcd1
- Fix patch fuzz build failure
95fcd1
95fcd1
* Wed May 14 2008 Jindrich Novy <jnovy@redhat.com> - 1:1.2.0-4
95fcd1
- fix CVE-2008-1420, CVE-2008-1419, CVE-2008-1423 (#446344)
95fcd1
95fcd1
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1:1.2.0-3
95fcd1
- Autorebuild for GCC 4.3
95fcd1
95fcd1
* Sun Oct 21 2007 Hans de Goede <j.w.r.degoede@hhs.nl> - 1:1.2.0-2
95fcd1
- Don't include Makefile's in %%doc, avoiding a multilib conflict (bz 342481)
95fcd1
95fcd1
* Mon Oct 15 2007 Behdad Esfahbod <besfahbo@redhat.com> - 1:1.2.0-1
95fcd1
- Update to 1.2.0
95fcd1
- Resolves: #250115
95fcd1
95fcd1
* Thu Aug 23 2007 Adam Jackson <ajax@redhat.com> - 1:1.1.2-4
95fcd1
- Rebuild for build ID
95fcd1
95fcd1
* Mon Jun 25 2007 Matthias Clasen <mclasen@redhat.com> - 1:1.1.2-3
95fcd1
- Fix typos in %%description (#245471)
95fcd1
95fcd1
* Thu Feb  8 2007 Matthias Clasen <mclasen@redhat.com> - 1:1.1.2-2
95fcd1
- Package review cleanups
95fcd1
- Don't ship static libraries
95fcd1
95fcd1
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1:1.1.2-1.2.1
95fcd1
- rebuild
95fcd1
95fcd1
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1:1.1.2-1.2
95fcd1
- bump again for double-long bug on ppc(64)
95fcd1
95fcd1
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1:1.1.2-1.1
95fcd1
- rebuilt for new gcc4.1 snapshot and glibc changes
95fcd1
95fcd1
* Wed Jan 18 2006 John (J5) Palmieri <johnp@redhat.com> 1:1.1.2-1
95fcd1
- Update to 1.1.2
95fcd1
95fcd1
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
95fcd1
- rebuilt
95fcd1
95fcd1
* Wed Mar 02 2005 John (J5) Palmieri <johnp@redhat.com> 1:1.1.1-1
95fcd1
- Update to 1.1.1
95fcd1
95fcd1
* Wed Mar 02 2005 John (J5) Palmieri <johnp@redhat.com> 1:1.1.0-2
95fcd1
- rebuild with gcc 4.0
95fcd1
95fcd1
* Wed Sep 29 2004 Colin Walters <walters@redhat.com> 1:1.1.0-1
95fcd1
- Update to 1.1.0
95fcd1
- Remove upstreamed patch libvorbis-underquoted.patch
95fcd1
95fcd1
* Wed Sep 29 2004 Warren Togami <wtogami@redhat.com> 1:1.0.1-5
95fcd1
- link to .pdf spec rather than ship redundant copy
95fcd1
- spec cleanups
95fcd1
95fcd1
* Thu Jul 15 2004 Tim Waugh <twaugh@redhat.com> 1:1.0.1-4
95fcd1
- Fixed warnings in shipped m4 file.
95fcd1
95fcd1
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
95fcd1
- rebuilt
95fcd1
95fcd1
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
95fcd1
- rebuilt
95fcd1
95fcd1
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
95fcd1
- rebuilt
95fcd1
95fcd1
* Thu Dec 11 2003 Bill Nottingham <notting@redhat.com> 1:1.0.1-1
95fcd1
- update to 1.0.1
95fcd1
95fcd1
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
95fcd1
- rebuilt
95fcd1
95fcd1
* Mon Feb 24 2003 Elliot Lee <sopwith@redhat.com>
95fcd1
- rebuilt
95fcd1
95fcd1
* Fri Feb 21 2003 Elliot lee <sopwith@redhat.com> 1:1.0-6
95fcd1
- Fix #81026 by updating libvorbis-1.0-m4.patch
95fcd1
95fcd1
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
95fcd1
- rebuilt
95fcd1
95fcd1
* Wed Dec 11 2002 Bill Nottingham <notting@redhat.com> 1:1.0-4
95fcd1
- add epochs to dependencies, to avoid 1.0rc3 >= 1.0 miscomparisons
95fcd1
  (#79374)
95fcd1
- fix vorbis.m4
95fcd1
95fcd1
* Fri Nov 29 2002 Tim Powers <timp@redhat.com> 1:1.0-2
95fcd1
- remove unpackaged files from the buildroot
95fcd1
- tell configure where ogg libs are
95fcd1
- lib64'ize
95fcd1
95fcd1
* Fri Jul 18 2002 Bill Nottingham <notting@redhat.com>
95fcd1
- one-dot-oh
95fcd1
- libtool strikes again (#66110)
95fcd1
95fcd1
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
95fcd1
- automated rebuild
95fcd1
95fcd1
* Thu May 23 2002 Tim Powers <timp@redhat.com>
95fcd1
- automated rebuild
95fcd1
95fcd1
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
95fcd1
- automated rebuild
95fcd1
95fcd1
* Tue Jan  1 2002 Bill Nottingham <notting@redhat.com>
95fcd1
- update to 1.0rc3
95fcd1
95fcd1
* Thu Aug 16 2001 Bill Nottingham <notting@redhat.com>
95fcd1
- fix bug in floor backend (<michael@stroucken.org>)
95fcd1
95fcd1
* Mon Aug 13 2001 Bill Nottingham <notting@redhat.com>
95fcd1
- update to 1.0rc2
95fcd1
95fcd1
* Fri Jul 20 2001 Bill Nottingham <notting@redhat.com>
95fcd1
- split out from the main vorbis package
95fcd1
95fcd1
* Tue Jul 10 2001 Bill Nottingham <notting@redhat.com>
95fcd1
- own %%{_libdir}/ao
95fcd1
- I love libtool
95fcd1
95fcd1
* Tue Jun 26 2001 Florian La Roche <Florian.LaRoche@redhat.de>
95fcd1
- add links from library major version numbers in rpms
95fcd1
95fcd1
* Tue Jun 19 2001 Bill Nottingham <notting@redhat.com>
95fcd1
- update to rc1
95fcd1
95fcd1
* Fri May  4 2001 Oliver Paukstadt <oliver.paukstadt@millenux.com>
95fcd1
- fixed perl line in spec file to set optims correctly
95fcd1
95fcd1
* Tue Mar 20 2001 Bill Nottingham <notting@redhat.com>
95fcd1
- fix alpha/ia64, again
95fcd1
- use optflags, not -O20 -ffast-math (especially on alpha...)
95fcd1
95fcd1
* Mon Feb 26 2001 Bill Nottingham <notting@redhat.com>
95fcd1
- fix license tag
95fcd1
95fcd1
* Mon Feb 26 2001 Bill Nottingham <notting@redhat.com>
95fcd1
- beta4
95fcd1
95fcd1
* Fri Feb  9 2001 Bill Nottingham <notting@redhat.com>
95fcd1
- fix alpha/ia64
95fcd1
95fcd1
* Thu Feb  8 2001 Bill Nottingham <notting@redhat.com>
95fcd1
- update CVS in prep for beta4
95fcd1
95fcd1
* Wed Feb 07 2001 Philipp Knirsch <pknirsch@redhat.de>
95fcd1
- Fixed bugzilla bug #25391. ogg123 now usses the OSS driver by default if
95fcd1
  none was specified.
95fcd1
95fcd1
* Tue Jan  9 2001 Bill Nottingham <notting@redhat.com>
95fcd1
- update CVS, grab aRts backend for libao
95fcd1
95fcd1
* Thu Dec 27 2000 Bill Nottingham <notting@redhat.com>
95fcd1
- update CVS
95fcd1
95fcd1
* Fri Dec 01 2000 Bill Nottingham <notting@redhat.com>
95fcd1
- rebuild because of broken fileutils
95fcd1
95fcd1
* Mon Nov 13 2000 Bill Nottingham <notting@redhat.com>
95fcd1
- hack up specfile some, merge some packages
95fcd1
95fcd1
* Sat Oct 21 2000 Jack Moffitt <jack@icecast.org>
95fcd1
- initial spec file created