diff --git a/speexdsp.spec b/speexdsp.spec index 9756263037948238208c4ac61ad8de6e0ac2b166..2766f0b5777c96e45dac0c2ba94f381c5e51a8ed 100644 --- a/speexdsp.spec +++ b/speexdsp.spec @@ -1,35 +1,25 @@ -%define anolis_release 1 +%define anolis_release 2 Name: speexdsp +Summary: A voice compression format (DSP) Version: 1.2.1 Release: %{anolis_release}%{?dist} -Summary: A voice compression format (DSP) - License: BSD URL: http://www.speex.org/ Source0: https://ftp.osuosl.org/pub/xiph/releases/speex/%{name}-%{version}.tar.gz - -BuildRequires: make -BuildRequires: gcc - -# speexdsp was split from speex in 1.2rc2. As speexdsp does not depend on -# speex, a versioned conflict is required. +BuildRequires: gcc make Conflicts: speex <= 1.2-0.21.rc1 %description -Speex is a patent-free compression format designed especially for -speech. It is specialized for voice communications at low bit-rates in -the 2-45 kbps range. Possible applications include Voice over IP -(VoIP), Internet audio streaming, audio books, and archiving of speech -data (e.g. voice mail). - -This is the DSP package, see the speex package for the codec part. - +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. Finally, +Speex is part of the GNU Project and is available under the revised BSD license. + %package devel Summary: Development package for %{name} -Requires: %{name}%{?_isa} = %{version}-%{release} -# speexdsp was split from speex in 1.2rc2. As speexdsp does not depend on -# speex, a versioned conflict is required. +Requires: %{name} = %{EVR} Conflicts: speex-devel <= 1.2-0.21.rc1 %description devel @@ -37,7 +27,14 @@ Speex is a patent-free compression format designed especially for speech. This package contains development files for %{name} This is the DSP package, see the speex package for the codec part. - + +%package doc +Summary: Document package for %{name} +Requires: %{name} = %{EVR} +BuildArch: noarch + +%description doc +The document package includes README, TODO, etc. files for %{name}. %prep %autosetup -p1 @@ -53,18 +50,28 @@ This is the DSP package, see the speex package for the codec part. %install %make_install + +%generate_compatibility_deps %files %license COPYING -%doc AUTHORS TODO ChangeLog README NEWS doc/manual.pdf +%doc doc/manual.pdf +%dir %{abidir} %{_libdir}/libspeexdsp.so.* +%{abidir}/libspeexdsp.dump %files devel %{_includedir}/speex -%{_libdir}/pkgconfig/speexdsp.pc %{_libdir}/libspeexdsp.so +%{_libdir}/pkgconfig/speexdsp.pc +%files doc +%doc AUTHORS TODO ChangeLog README NEWS + %changelog +* Sat Apr 15 2023 Heng Qi - 1.2.1-2 +- Refactor the spec file + * Thu Dec 22 2022 Funda Wang - 1.2.1-1 - New version 1.2.1