From e5d16f829ddf04dcc4f6b20a8be05e0c8335718a Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:50:02 +0100 Subject: [PATCH] don't provide/obsolete libspeexdsp [release 1.2.0-2mamba;Mon Dec 07 2020] --- libspeex.spec | 54 +++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 39 insertions(+), 15 deletions(-) diff --git a/libspeex.spec b/libspeex.spec index 691bb00..4a77403 100644 --- a/libspeex.spec +++ b/libspeex.spec @@ -1,12 +1,13 @@ Name: libspeex -Version: 1.2rc1 -Release: 1mamba +Epoch: 1 +Version: 1.2.0 +Release: 2mamba Summary: Open Source/Free Software patent-free audio compression format designed for speech Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://speex.org/ +URL: https://speex.org/ Source: http://downloads.us.xiph.org/releases/speex/speex-%{version}.tar.gz Patch1: speex-1.1.6-fix-pkgconfig-path.patch Patch2: speex-1.2-CVE-2008-1686.diff @@ -16,8 +17,6 @@ BuildRequires: glibc-devel BuildRequires: libogg-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root -Provides: libspeexdsp -Obsoletes: libspeexdsp %description Speex is an Open Source/Free Software patent-free audio compression format designed for speech. @@ -29,6 +28,7 @@ Finally, Speex is part of the GNU Project and is available under the Xiph.org va Group: Development/Libraries Summary: Static libraries and headers for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +#Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release} Provides: libspeexdsp-devel Obsoletes: libspeexdsp-devel @@ -36,11 +36,24 @@ Obsoletes: libspeexdsp-devel Speex is an Open Source/Free Software patent-free audio compression format designed for speech. The Speex Project aims to lower the barrier of entry for voice applications by providing a free alternative to expensive proprietary speech codecs. Moreover, Speex is well-adapted to Internet applications and provides useful features that are not present in most other codecs. +This package contains static libraries and header files needed for development. -This package contains static libraries and header files need for development. +%package tools +Group: Applications/Multimedia +Summary: Tools provided with %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description tools +Speex is an Open Source/Free Software patent-free audio compression format designed for speech. +The Speex Project aims to lower the barrier of entry for voice applications by providing a free alternative to expensive proprietary speech codecs. +Moreover, Speex is well-adapted to Internet applications and provides useful features that are not present in most other codecs. +This package contains the tools provided with %{name}. + +%debug_package %prep %setup -q -n speex-%{version} +%define _default_patch_fuzz 2 %patch1 -p1 -b .pkgconfig %patch2 -p1 -b .CVE-2008-1686 @@ -63,25 +76,36 @@ rm -f %{buildroot}%{_datadir}/doc/speex/manual.pdf %files %defattr(-,root,root) -%{_bindir}/speexdec -%{_bindir}/speexenc %{_libdir}/libspeex.so.* -%{_libdir}/libspeexdsp.so.* -%{_mandir}/man1/speexdec.* -%{_mandir}/man1/speexenc.* -%doc AUTHORS COPYING ChangeLog NEWS README TODO +#%{_libdir}/libspeexdsp.so.* +%doc AUTHORS COPYING %files devel %defattr(-,root,root) %{_datadir}/aclocal/speex.m4 %{_includedir}/speex/*.h -%{_libdir}/*.a -%{_libdir}/*.la -%{_libdir}/*.so +%{_libdir}/libspeex.a +%{_libdir}/libspeex.la +%{_libdir}/libspeex.so %{_libdir}/pkgconfig/*.pc %doc doc/manual.pdf +%doc ChangeLog NEWS README TODO + +#%files tools +#%defattr(-,root,root) +#%{_bindir}/speexdec +#%{_bindir}/speexenc +#%{_mandir}/man1/speexdec.* +#%{_mandir}/man1/speexenc.* %changelog +* Mon Dec 07 2020 Silvan Calarco 1.2.0-2mamba +- don't provide/obsolete libspeexdsp + +* Fri Dec 04 2020 Silvan Calarco 1.2.0-1mamba +- update to 1.2.0 +- added debug package and -tools subpackage + * Sat Dec 08 2012 Automatic Build System 1.2rc1-1mamba - update to 1.2rc1