From 54820c010bd15b1a9d1022bd6347955ee1be06a4 Mon Sep 17 00:00:00 2001 From: "taifu.gc" Date: Sat, 16 Jul 2022 13:49:00 +0800 Subject: [PATCH] spec: add doc sub package --- wavpack.spec | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/wavpack.spec b/wavpack.spec index 5c26fbc..9bc0602 100644 --- a/wavpack.spec +++ b/wavpack.spec @@ -1,7 +1,8 @@ +%define anolis_release .0.1 Name: wavpack Summary: A completely open audiocodec Version: 5.1.0 -Release: 15%{?dist} +Release: 15%{anolis_release}%{?dist} License: BSD Group: Applications/Multimedia Url: http://www.wavpack.com/ @@ -21,6 +22,9 @@ BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool +Requires: glibc +Provides: /usr/bin/wavpack + %description WavPack is a completely open audio compression format providing lossless, high-quality lossy, and a unique hybrid compression mode. Although the @@ -37,6 +41,15 @@ Requires: pkgconfig %description devel Files needed for developing apps using wavpack +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + + +%description doc +Doc pages for %{name} + %prep %autosetup -p1 @@ -61,7 +74,6 @@ rm -f %{buildroot}/%{_libdir}/*.la %{_mandir}/man1/wvgain.1* %{_mandir}/man1/wvunpack.1* %{_mandir}/man1/wvtag.1.* -%doc AUTHORS COPYING %files devel %{_includedir}/* @@ -69,7 +81,13 @@ rm -f %{buildroot}/%{_libdir}/*.la %{_libdir}/libwavpack.so %doc ChangeLog README +%files doc +%doc AUTHORS COPYING + %changelog +* Fri Jul 15 2022 Chang Gao - 5.1.0-15.0.1 +- Add doc sub package + * Fri Oct 04 2019 Tomas Korbar - 5.1.0-15 - fix Out-of-bounds read in WavpackVerifySingleBlock function (#1663151) - CVE-2018-19841 -- Gitee