From a986d8a1796c49fb0f4b93f0f45ea936d4808119 Mon Sep 17 00:00:00 2001 From: liuxiaoping Date: Mon, 18 Jul 2022 14:40:26 +0800 Subject: [PATCH] add doc sub package --- speexdsp.spec | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/speexdsp.spec b/speexdsp.spec index cd4d712..d7a2948 100644 --- a/speexdsp.spec +++ b/speexdsp.spec @@ -1,7 +1,9 @@ +%define anolis_release .0.1 + Name: speexdsp Version: 1.2 %global rc_ver rc3 -Release: 0.13.%{rc_ver}%{?dist} +Release: 0.13.%{rc_ver}%{anolis_release}%{?dist} Summary: A voice compression format (DSP) Group: System Environment/Libraries @@ -18,6 +20,8 @@ BuildRequires: libtool autoconf automake # speex, a versioned conflict is required. Conflicts: speex <= 1.2-0.21.rc1 +Requires: glibc + %description Speex is a patent-free compression format designed especially for speech. It is specialized for voice communications at low bit-rates in @@ -41,6 +45,13 @@ speech. This package contains development files for %{name} This is the DSP package, see the speex package for the codec part. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +Doc pages for %{name}. %prep %setup -q -n %{name}-%{version}%{rc_ver} @@ -67,8 +78,6 @@ find %{buildroot} -type f -name "*.la" -delete %files -%doc AUTHORS COPYING TODO ChangeLog README NEWS doc/manual.pdf -%doc %{_docdir}/speexdsp/manual.pdf %{_libdir}/libspeexdsp.so.* %files devel @@ -76,7 +85,14 @@ find %{buildroot} -type f -name "*.la" -delete %{_libdir}/pkgconfig/speexdsp.pc %{_libdir}/libspeexdsp.so +%files doc +%doc AUTHORS COPYING TODO ChangeLog README NEWS doc/manual.pdf +%doc %{_docdir}/speexdsp/manual.pdf + %changelog +* Mon Jul 18 2022 Xiaoping Liu - 1.2-0.13.rc3.0.1 +- Add doc sub package + * Fri Feb 09 2018 Fedora Release Engineering - 1.2-0.13.rc3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild -- Gitee