OBS User unknown
2008-01-12 02:25:36 +00:00
committed by Git OBS Bridge
parent 58fae1723b
commit 1b1415ffde
5 changed files with 30 additions and 78 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package speex (Version 1.1.99.2)
# spec file for package speex (Version 1.1.99.3)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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.
#
@@ -11,17 +11,16 @@
# norootforbuild
Name: speex
%define package_version 1.2beta2
%define package_version 1.2beta3
BuildRequires: libogg-devel pkgconfig
Summary: An Open Source, Patent Free Speech Codec
Version: 1.1.99.2
Release: 18
Version: 1.1.99.3
Release: 1
License: BSD 3-Clause
Group: System/Libraries
URL: http://www.speex.org/
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
@@ -87,10 +86,8 @@ Authors:
%prep
%setup -q -n %{name}-%{package_version}
%patch1
%patch2
%build
%{?suse_update_config:%{suse_update_config -f}}
autoreconf -fi
%configure \
--disable-static \
@@ -100,7 +97,7 @@ make
%install
%makeinstall
# remove duped documents
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/speex-*
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/speex*
# remove unneeded *.la files
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
@@ -116,23 +113,31 @@ 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.*
%{_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}/libspeex*.so
%{_libdir}/pkgconfig/*.pc
%{_datadir}/aclocal/*.m4
%changelog
* 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