# # spec file for package speex (Version 1.1.99.91) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: speex %define package_version 1.2rc1 BuildRequires: libogg-devel pkgconfig Summary: An Open Source, Patent Free Speech Codec Version: 1.1.99.91 Release: 17 License: BSD3c Group: System/Libraries Url: http://www.speex.org/ Source: %{name}-%{package_version}.tar.bz2 Source2: baselibs.conf Patch1: speex-1.0.5-warning-fix.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build # bug437293 %ifarch ppc64 Obsoletes: speex-64bit %endif # %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: BSD3c Group: System/Libraries # bug437293 %ifarch ppc64 Obsoletes: speex-64bit %endif # %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: BSD3c Group: Development/Libraries/C and C++ Requires: libspeex glibc-devel # bug437293 %ifarch ppc64 Obsoletes: speex-devel-64bit %endif # %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 %build autoreconf -fi %configure \ --disable-static \ --with-ogg-libraries=%{_libdir} make %{?_smp_mflags} %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 -p /sbin/ldconfig %postun -n libspeex -p /sbin/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