From a8235f02f82ebb8e7d69b59587b2183e1880718b Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Thu, 29 Sep 2022 13:27:07 +0800 Subject: [PATCH] add doc package --- soundtouch.spec | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/soundtouch.spec b/soundtouch.spec index 1324e67..6a79e45 100644 --- a/soundtouch.spec +++ b/soundtouch.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 Name: soundtouch Version: 2.3.1 @@ -23,6 +23,14 @@ The SoundTouch library source kit includes an example utility SoundStretch which allows processing .wav audio files from a command-line interface. +%package doc +Summary: Documentation files for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + %package devel Summary: Libraries, includes, etc to develop soundtouch applications Requires: %{name} = %{version}-%{release} @@ -46,10 +54,12 @@ ln -s soundtouch.pc %{buildroot}%{_libdir}/pkgconfig/soundtouch-1.0.pc %files %license COPYING.TXT -%doc README.html %{_bindir}/soundstretch %{_libdir}/lib*.so.* +%files doc +%doc README.html + %files devel %{_libdir}/lib*.so %{_libdir}/pkgconfig/*.pc @@ -57,5 +67,8 @@ ln -s soundtouch.pc %{buildroot}%{_libdir}/pkgconfig/soundtouch-1.0.pc %{_libdir}/cmake/SoundTouch %changelog +* Thu Sep 29 2022 mgb01105731 - 2.3.1-2 +- add doc package + * Mon Apr 18 2022 happy_orange - 2.3.1-1 - Init package from upstream -- Gitee