db493f
Name:          opus
db493f
Version:       1.0.2
db493f
Release:       6%{?dist}
db493f
Summary:       An audio codec for use in low-delay speech and audio communication
db493f
db493f
Group:         System Environment/Libraries
db493f
License:       BSD
db493f
URL:           http://www.opus-codec.org/
db493f
Source0:       http://downloads.xiph.org/releases/%{name}/%{name}-%{version}.tar.gz
db493f
# This is the final IETF Working Group RFC
db493f
Source1:       http://tools.ietf.org/rfc/rfc6716.txt 
db493f
db493f
Patch0: 0001-Fix-several-memory-errors-in-the-SILK-resampler.patch
db493f
Patch1: 0001-Fixes-an-assertion-failure-in-SILK.patch
db493f
db493f
%description
db493f
The Opus codec is designed for interactive speech and audio transmission over 
db493f
the Internet. It is designed by the IETF Codec Working Group and incorporates 
db493f
technology from Skype's SILK codec and Xiph.Org's CELT codec.
db493f
db493f
%package devel
db493f
Summary: Development package for opus
db493f
Group: Development/Libraries
db493f
Requires: libogg-devel
db493f
Requires: opus = %{version}-%{release}
db493f
db493f
%description devel
db493f
Files for development with opus.
db493f
db493f
%prep
db493f
%setup -q
db493f
%patch0 -p1
db493f
%patch1 -p1
db493f
cp %{SOURCE1} .
db493f
db493f
%build
db493f
%configure --enable-custom-modes
db493f
db493f
make %{?_smp_mflags}
db493f
db493f
%install
db493f
rm -rf %{buildroot}
db493f
make install DESTDIR=%{buildroot}
db493f
db493f
# Remove libtool archives and static libs
db493f
find %{buildroot} -name '*.la' -exec rm -f {} ';'
db493f
find %{buildroot} -name '*.a' -exec rm -f {} ';'
db493f
db493f
%check
db493f
make check
db493f
db493f
%clean
db493f
rm -rf %{buildroot}
db493f
db493f
%post -p /sbin/ldconfig
db493f
db493f
%postun -p /sbin/ldconfig
db493f
db493f
%files
db493f
%defattr(-,root,root,-)
db493f
%doc COPYING README rfc6716.txt
db493f
%{_libdir}/libopus.so.*
db493f
db493f
%files devel
db493f
%defattr(-,root,root,-)
db493f
%{_includedir}/opus
db493f
%{_libdir}/libopus.so
db493f
%{_libdir}/pkgconfig/opus.pc
db493f
%{_datadir}/aclocal/opus.m4
db493f
db493f
%changelog
db493f
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.0.2-6
db493f
- Mass rebuild 2014-01-24
db493f
db493f
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.0.2-5
db493f
- Mass rebuild 2013-12-27
db493f
db493f
* Tue Nov  5 2013 Matthias Clasen <mclasen@redhat.com> - 1.0.2-4
db493f
- Apply two crash fixes from upstream
db493f
- Resolves: #1017240
db493f
db493f
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-3
db493f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
db493f
db493f
* Thu Jan 10 2013 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.2-2
db493f
- Enable extra custom modes API
db493f
db493f
* Thu Dec  6 2012 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.2-1
db493f
- Official 1.0.2 release
db493f
db493f
* Wed Sep 12 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.0.1-1
db493f
- Official 1.0.1 release now rfc6716 is stable
db493f
db493f
* Tue Sep  4 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.0.1rc3-0.1
db493f
- Update to 1.0.1rc3
db493f
db493f
* Thu Aug  9 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.0.0rc1-0.1
db493f
- Update to 1.0.0rc1
db493f
db493f
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.14-2
db493f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
db493f
db493f
* Sun May 27 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 0.9.14-1
db493f
- Update to 0.9.14
db493f
db493f
* Sat May 12 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 0.9.10-2
db493f
- Add make check - fixes RHBZ # 821128
db493f
db493f
* Fri Apr 27 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 0.9.10-1
db493f
- Update to 0.9.10
db493f
db493f
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.8-2
db493f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
db493f
db493f
* Tue Nov  8 2011 Peter Robinson <pbrobinson@fedoraproject.org> 0.9.8-1
db493f
- Update to 0.9.8
db493f
db493f
* Mon Oct 10 2011 Peter Robinson <pbrobinson@fedoraproject.org> 0.9.6-1
db493f
- Initial packaging