From 28a88517cce81c4863cd09732446800752c73324 Mon Sep 17 00:00:00 2001 From: "taifu.gc" Date: Sat, 16 Jul 2022 13:44:27 +0800 Subject: [PATCH] spec: add doc sub package --- webrtc-audio-processing.spec | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/webrtc-audio-processing.spec b/webrtc-audio-processing.spec index a664d6e..7d24a5f 100644 --- a/webrtc-audio-processing.spec +++ b/webrtc-audio-processing.spec @@ -1,6 +1,7 @@ +%define anolis_release .0.1 Name: webrtc-audio-processing Version: 0.3 -Release: 10%{?dist} +Release: 10%{anolis_release}%{?dist} Summary: Library for echo cancellation License: BSD and MIT @@ -32,6 +33,8 @@ Patch104: webrtc-audio-processing-0.2-big-endian.patch BuildRequires: autoconf automake libtool BuildRequires: gcc gcc-c++ +Requires: glibc + %description %{name} is a library derived from Google WebRTC project that provides echo cancellation functionality. This library is used by for example @@ -45,6 +48,15 @@ Requires: %{name}%{?_isa} = %{version}-%{release} The %{name}-devel package contains libraries and header files for developing applications that use %{name}. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + + +%description doc +Doc pages for %{name} + %prep %autosetup -p1 @@ -73,7 +85,6 @@ find %{buildroot} -type f -name "*.la" -delete %files -%doc NEWS AUTHORS README.md %license COPYING %{_libdir}/libwebrtc_audio_processing.so.1* @@ -82,8 +93,13 @@ find %{buildroot} -type f -name "*.la" -delete %{_libdir}/pkgconfig/webrtc-audio-processing.pc %{_includedir}/webrtc_audio_processing/ +%files doc +%doc NEWS AUTHORS README.md %changelog +* Fri Jul 15 2022 Chang Gao - 0.3-10.0.1 +- Add doc sub package + * Tue Jan 11 2021 Tomas Popela 0.3-10 - Include devel package in CRB - Resolves: #2036956 -- Gitee