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