101986
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
101986
101986
Summary:	The Vorbis General Audio Compression Codec
101986
Name:		libvorbis
101986
Version:	1.3.6
101986
Release:	2%{?dist}
101986
Epoch:		1
101986
Group:		System Environment/Libraries
101986
License:	BSD
101986
URL:		https://www.xiph.org/
101986
Source:		https://downloads.xiph.org/releases/vorbis/%{name}-%{version}.tar.xz
101986
BuildRequires:	pkgconfig(ogg) >= 1.0
101986
101986
# sync with git as of
101986
#
101986
# commit 46e70fa6573e206c2555cd99a53204ffd6bf58fd
101986
# Author: Minmin Gong <gongminmin@msn.com>
101986
# Date:   Wed Jul 4 21:37:54 2018 -0700
101986
#
101986
#     Fix the compiling errors on msvc ARM64 configuration.
101986
#
101986
# Fixes:
101986
# CVE-2017-14160
101986
# CVE-2018-10392
101986
# CVE-2018-10393
101986
Patch0: libvorbis-1.3.6-git.patch
101986
101986
%description
101986
Ogg Vorbis is a fully open, non-proprietary, patent- and royalty-free,
101986
general-purpose compressed audio format for audio and music at fixed
101986
and variable bitrates.
101986
101986
The libvorbis package contains runtime libraries for use in programs
101986
that support Ogg Vorbis.
101986
101986
%package devel
101986
Summary: Development tools for Vorbis applications
101986
Group: Development/Libraries
101986
Requires:	%{name}%{?_isa} = %{epoch}:%{version}-%{release}
101986
101986
%description devel
101986
The libvorbis-devel package contains the header files and documentation
101986
needed to develop applications with Ogg Vorbis.
101986
101986
%package devel-docs
101986
Summary: Documentation for developing Vorbis applications
101986
Group: Development/Libraries
101986
Requires: %{name}-devel = %{epoch}:%{version}-%{release}
101986
BuildArch: noarch
101986
101986
%description devel-docs
101986
Documentation for developing applications with libvorbis.
101986
101986
%prep
101986
101986
%setup -q
101986
%patch0 -p1
101986
sed -i "s|-O20|$RPM_OPT_FLAGS|" configure
101986
sed -i "s/-ffast-math//" configure
101986
sed -i "s/-mcpu=750//" configure
101986
101986
%build
101986
%configure --disable-static
101986
%make_build
101986
101986
%install
101986
%make_install docdir=%{_pkgdocdir}
101986
# remove unpackaged files from the buildroot
101986
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
101986
101986
%check
101986
make check
101986
101986
%files
101986
%doc AUTHORS
101986
%license COPYING
101986
%{_libdir}/libvorbis.so.*
101986
%{_libdir}/libvorbisfile.so.*
101986
%{_libdir}/libvorbisenc.so.*
101986
101986
%files devel
101986
%{_includedir}/vorbis
101986
%{_libdir}/libvorbis.so
101986
%{_libdir}/libvorbisfile.so
101986
%{_libdir}/libvorbisenc.so
101986
%{_libdir}/pkgconfig/*.pc
101986
%{_datadir}/aclocal/vorbis.m4
101986
101986
%files devel-docs
101986
%{_pkgdocdir}/*
101986
%exclude %{_pkgdocdir}/doxygen-build.stamp
101986
101986
%ldconfig_scriptlets
101986
101986
%changelog
101986
* Wed May 29 2019 Adam Jackson <ajax@redhat.com> - 1.3.6-2
101986
- Sync with git for CVE-2017-14160, CVE-2018-10392, CVE-2018-10393
101986
101986
* Fri Mar 16 2018 Adam Jackson <ajax@redhat.com> - 1.3.6-1
101986
- libvorbis 1.3.6
101986
101986
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.3.5-6
101986
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
101986
101986
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:1.3.5-5
101986
- Switch to %%ldconfig_scriptlets
101986
101986
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.3.5-4
101986
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
101986
101986
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.3.5-3
101986
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
101986
101986
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.3.5-2
101986
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
101986
101986
* Wed Dec 14 2016 David King <amigadave@amigadave.com> - 1.3.5-1
101986
- Update to 1.3.5 (#1197923)
101986
- Use license macro for COPYING
101986
- Tighten subpackage dependencies
101986
- Use make_install and make_build macros
101986
- Use pkgconfig for BuildRequires
101986
- Remove unnecessary Requires from devel subpackage
101986
- Remove obsolete Obsoletes
101986
101986
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.3.4-6
101986
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
101986
101986
* Wed Jun 17 2015 Yaakov Selkowitz <yselkowi@redhat.com> - 1:1.3.4-5
101986
- Fix build for https://fedoraproject.org/wiki/Changes/Harden_All_Packages
101986
101986
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.3.4-4
101986
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
101986
101986
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.3.4-3
101986
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
101986
101986
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.3.4-2
101986
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
101986
101986
* Wed Jan 22 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.3.4-1
101986
- libvorbis 1.3.4
101986
101986
* Wed Jan 15 2014 Adam Jackson <ajax@redhat.com> 1.3.3-7
101986
- Nuke -mcpu=750 from cflags for PPC, that plus -mcpu=power7 confuses gcc.
101986
101986
* Thu Aug  8 2013 Ville Skyttä <ville.skytta@iki.fi> - 1:1.3.3-6
101986
- Install docs to %%{_pkgdocdir} where available (#993967).
101986
101986
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.3.3-5
101986
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
101986
101986
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.3.3-4
101986
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
101986
101986
* Sat Jul 21 2012 Ville Skyttä <ville.skytta@iki.fi> - 1:1.3.3-3
101986
- Run test suite during build.
101986
- Fix doc file permissions and duplicate doc dir ownership.
101986
- rpmlint warning fixes.
101986
101986
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.3.3-2
101986
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
101986
101986
* Mon Feb 13 2012 Adam Jackson <ajax@redhat.com> 1.3.3-1
101986
- libvorbis 1.3.3 (#787635)
101986
101986
* Wed Jan 04 2012 Jindrich Novy <jnovy@redhat.com> 1.3.2-2
101986
- ship documentation only in -doc subpackage and only license
101986
  in -devel (#540634) - thanks to Edward Sheldrake
101986
- -devel-doc subpackage requires -devel
101986
101986
* Wed Feb 09 2011 Adam Jackson <ajax@redhat.com> 1.3.2-1
101986
- libvorbis 1.3.2
101986
101986
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.3.1-3
101986
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
101986
101986
* Thu Jul 08 2010 Adam Jackson <ajax@redhat.com> 1.3.1-2
101986
- Include COPYING in base package too.
101986
101986
* Mon Mar 29 2010 Adam Jackson <ajax@redhat.com> 1.3.1-1
101986
- libvorbis 1.3.1.  Fixes surround.
101986
101986
* Tue Feb 09 2010 Adam Jackson <ajax@redhat.com> 1.2.3-5
101986
- libvorbis-1.2.3-add-needed.patch: Fix FTBFS from --no-add-needed
101986
101986
* Mon Nov 23 2009 Adam Jackson <ajax@redhat.com> 1.2.3-4
101986
- Fix doc subpackage build (#540634)
101986
101986
* Mon Nov  2 2009 Jindrich Novy <jnovy@redhat.com> 1.2.3-3
101986
- backport patches to fix CVE-2009-3379 (#531765) from upstream
101986
101986
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.2.3-2
101986
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
101986
101986
* Mon Jul 13 2009 Adam Jackson <ajax@redhat.com> 1.2.3-1
101986
- libvorbis 1.2.3
101986
101986
* Wed Jul 08 2009 Adam Jackson <ajax@redhat.com> 1.2.2-2
101986
- libvorbis-1.2.2-svn16228.patch: Backport a fix from pre-1.2.3 to hopefully
101986
  fix small sound file playback. (#505610)
101986
101986
* Thu Jul 02 2009 Adam Jackson <ajax@redhat.com> 1.2.2-1
101986
- libvorbis 1.2.2
101986
101986
* Wed Jun 03 2009 Adam Jackson <ajax@redhat.com> 1.2.2-0.1.rc1
101986
- libvorbis 1.2.2rc1
101986
101986
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.2.0-7
101986
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
101986
101986
* Thu Feb 12 2009 Caolán McNamara <caolanm@redhat.com> -1:1.2.0-6
101986
- rebuild to get provides pkgconfig(vorbisenc)
101986
101986
* Sun Sep  7 2008 Hans de Goede <hdegoede@redhat.com> -1:1.2.0-5
101986
- Fix patch fuzz build failure
101986
101986
* Wed May 14 2008 Jindrich Novy <jnovy@redhat.com> - 1:1.2.0-4
101986
- fix CVE-2008-1420, CVE-2008-1419, CVE-2008-1423 (#446344)
101986
101986
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1:1.2.0-3
101986
- Autorebuild for GCC 4.3
101986
101986
* Sun Oct 21 2007 Hans de Goede <j.w.r.degoede@hhs.nl> - 1:1.2.0-2
101986
- Don't include Makefile's in %%doc, avoiding a multilib conflict (bz 342481)
101986
101986
* Mon Oct 15 2007 Behdad Esfahbod <besfahbo@redhat.com> - 1:1.2.0-1
101986
- Update to 1.2.0
101986
- Resolves: #250115
101986
101986
* Thu Aug 23 2007 Adam Jackson <ajax@redhat.com> - 1:1.1.2-4
101986
- Rebuild for build ID
101986
101986
* Mon Jun 25 2007 Matthias Clasen <mclasen@redhat.com> - 1:1.1.2-3
101986
- Fix typos in %%description (#245471)
101986
101986
* Thu Feb  8 2007 Matthias Clasen <mclasen@redhat.com> - 1:1.1.2-2
101986
- Package review cleanups
101986
- Don't ship static libraries
101986
101986
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1:1.1.2-1.2.1
101986
- rebuild
101986
101986
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1:1.1.2-1.2
101986
- bump again for double-long bug on ppc(64)
101986
101986
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1:1.1.2-1.1
101986
- rebuilt for new gcc4.1 snapshot and glibc changes
101986
101986
* Wed Jan 18 2006 John (J5) Palmieri <johnp@redhat.com> 1:1.1.2-1
101986
- Update to 1.1.2
101986
101986
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
101986
- rebuilt
101986
101986
* Wed Mar 02 2005 John (J5) Palmieri <johnp@redhat.com> 1:1.1.1-1
101986
- Update to 1.1.1
101986
101986
* Wed Mar 02 2005 John (J5) Palmieri <johnp@redhat.com> 1:1.1.0-2
101986
- rebuild with gcc 4.0
101986
101986
* Wed Sep 29 2004 Colin Walters <walters@redhat.com> 1:1.1.0-1
101986
- Update to 1.1.0
101986
- Remove upstreamed patch libvorbis-underquoted.patch
101986
101986
* Wed Sep 29 2004 Warren Togami <wtogami@redhat.com> 1:1.0.1-5
101986
- link to .pdf spec rather than ship redundant copy
101986
- spec cleanups
101986
101986
* Thu Jul 15 2004 Tim Waugh <twaugh@redhat.com> 1:1.0.1-4
101986
- Fixed warnings in shipped m4 file.
101986
101986
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
101986
- rebuilt
101986
101986
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
101986
- rebuilt
101986
101986
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
101986
- rebuilt
101986
101986
* Thu Dec 11 2003 Bill Nottingham <notting@redhat.com> 1:1.0.1-1
101986
- update to 1.0.1
101986
101986
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
101986
- rebuilt
101986
101986
* Mon Feb 24 2003 Elliot Lee <sopwith@redhat.com>
101986
- rebuilt
101986
101986
* Fri Feb 21 2003 Elliot lee <sopwith@redhat.com> 1:1.0-6
101986
- Fix #81026 by updating libvorbis-1.0-m4.patch
101986
101986
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
101986
- rebuilt
101986
101986
* Wed Dec 11 2002 Bill Nottingham <notting@redhat.com> 1:1.0-4
101986
- add epochs to dependencies, to avoid 1.0rc3 >= 1.0 miscomparisons
101986
  (#79374)
101986
- fix vorbis.m4
101986
101986
* Fri Nov 29 2002 Tim Powers <timp@redhat.com> 1:1.0-2
101986
- remove unpackaged files from the buildroot
101986
- tell configure where ogg libs are
101986
- lib64'ize