# # spec file for package speex (Version 1.1.99.2) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: speex %define package_version 1.2beta2 BuildRequires: libogg-devel pkgconfig Summary: An Open Source, Patent Free Speech Codec Version: 1.1.99.2 Release: 18 License: BSD 3-Clause Group: System/Libraries URL: http://www.speex.org/ Source: %{name}-%{package_version}.tar.bz2 Patch1: speex-1.0.5-warning-fix.diff Patch2: speex-resample-fix.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Speex is a patent free audio codec designed especially for voice (unlike Vorbis which targets general audio) signals and providing good narrowband and wideband quality. This project aims to be complementary to the Vorbis codec. Authors: -------- Jean-Marc Valin David Rowe John Francis Edwards Segher Boessenkool Atsuhiko Yamanaka Radim Kolar %package -n libspeex Summary: An Open Source, Patent Free Speech Codec Library License: BSD 3-Clause Group: System/Libraries %description -n libspeex Speex is a patent free audio codec designed especially for voice (unlike Vorbis which targets general audio) signals and providing good narrowband and wideband quality. This project aims to be complementary to the Vorbis codec. Authors: -------- Jean-Marc Valin David Rowe John Francis Edwards Segher Boessenkool Atsuhiko Yamanaka Radim Kolar %package devel Summary: Development package for SpeeX License: BSD 3-Clause Group: Development/Libraries/C and C++ Requires: libspeex glibc-devel %description devel This package contains the files needed to compile programs that use the SpeeX library. Authors: -------- Jean-Marc Valin David Rowe John Francis Edwards Segher Boessenkool Atsuhiko Yamanaka Radim Kolar %prep %setup -q -n %{name}-%{package_version} %patch1 %patch2 %build %{?suse_update_config:%{suse_update_config -f}} autoreconf -fi %configure \ --disable-static \ --with-ogg-libraries=%{_libdir} make %install %makeinstall # remove duped documents rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/speex-* # remove unneeded *.la files rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %post -n libspeex %run_ldconfig %postun -n libspeex %run_ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING NEWS README TODO %{_bindir}/* %doc %{_mandir}/man?/* %files -n libspeex %defattr(-,root,root) %{_libdir}/libspeex.so.* %files devel %defattr(-,root,root) %doc README.TI-DSP README.blackfin README.symbian %doc doc/manual.pdf %{_includedir}/* %{_libdir}/libspeex.so %{_libdir}/pkgconfig/*.pc %{_datadir}/aclocal/*.m4 %changelog * Tue Aug 14 2007 - tiwai@suse.de - fix the bug in resampler code (signed/unsigned mismatch) - move man pages to the main package - a bit clean up of spec file * Thu May 24 2007 - tiwai@suse.de - updated to version 1.2beta2: * reduced RAM requirement * A new resampler module * improved / fixed echo canceller * improved preprocessor * early TriMedia support (incomplete) - removed static library and *.la files * Tue Apr 10 2007 - tiwai@suse.de - split shared library to libspeex sub package. * Thu Oct 12 2006 - tiwai@suse.de - updated to version 1.2beta1: * Improvement of encoder/decoder quality * Enhander improvements (now on by default) * Input/output high-pass filters * Fixing minor regressions in previous 1.1.x releases * Reduced memory usage * Reduced CPU usage * Wed Aug 09 2006 - sbrabec@suse.cz - Updated to version 1.1.12: * echo canceller converted to fixed-point * Improvements to the experimental Vorbis-based masking model * several bug fixes * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Tue Oct 04 2005 - tiwai@suse.de - fix the type-punning. - add check of return value from fread(). * Tue Jun 14 2005 - tiwai@suse.de - updated to version 1.0.5. * Thu Sep 16 2004 - tiwai@suse.de - fixed speex.m4 for the recent autoconf. * Thu Aug 05 2004 - tiwai@suse.de - updated to version 1.0.4. * Mon Jan 12 2004 - adrian@suse.de - add %%defattr * Fri Jan 09 2004 - tiwai@suse.de - updated to version 1.0.3. * Fri Jun 06 2003 - tiwai@suse.de - updated to version 1.0.1. * Mon Jun 02 2003 - ro@suse.de - remove unpackaged files from buildroot * Thu Mar 27 2003 - tiwai@suse.de - updated to version 1.0 final. * Thu Jan 30 2003 - tiwai@suse.de - updated to version 1.0rc2. * Fri Jan 17 2003 - tiwai@suse.de - updated to version 1.0rc1. * Wed Nov 27 2002 - tiwai@suse.de - initial version: 1.0beta3