speex/speex.spec

199 lines
5.4 KiB
RPMSpec
Raw Normal View History

#
# spec file for package speex (Version 1.1.99.3)
#
# Copyright (c) 2008 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.2beta3
BuildRequires: libogg-devel pkgconfig
Summary: An Open Source, Patent Free Speech Codec
Version: 1.1.99.3
Release: 19
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
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 <jean-marc.valin@usherbrooke.ca>
David Rowe <david@voicetronix.com.au>
John Francis Edwards
Segher Boessenkool
Atsuhiko Yamanaka <ymnk@jcraft.com>
Radim Kolar <hsn@cybermail.net>
%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 <jean-marc.valin@usherbrooke.ca>
David Rowe <david@voicetronix.com.au>
John Francis Edwards
Segher Boessenkool
Atsuhiko Yamanaka <ymnk@jcraft.com>
Radim Kolar <hsn@cybermail.net>
%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 <jean-marc.valin@usherbrooke.ca>
David Rowe <david@voicetronix.com.au>
John Francis Edwards
Segher Boessenkool
Atsuhiko Yamanaka <ymnk@jcraft.com>
Radim Kolar <hsn@cybermail.net>
%prep
%setup -q -n %{name}-%{package_version}
%patch1
%build
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
%doc doc/*.pdf
%{_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
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
for multilib support
* Fri Jan 11 2008 tiwai@suse.de
- updated to version 1.2beta3:
* all the non-codec components (preprocessor, echo cancellation,
jitter buffer) have been moved to a new libspeexdsp library
* a new jitter buffer algorithm
* resampler improvements/fixes
* libspeex can be built without any floating point support
* 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