From 181aca409c40c5b91426119bca8ae4460cc07528 Mon Sep 17 00:00:00 2001 From: liuxiaoping Date: Mon, 18 Jul 2022 14:36:54 +0800 Subject: [PATCH] add doc sub package --- soundtouch.spec | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/soundtouch.spec b/soundtouch.spec index fb47e9d..be7105c 100644 --- a/soundtouch.spec +++ b/soundtouch.spec @@ -1,6 +1,8 @@ +%define anolis_release .0.1 + Name: soundtouch Version: 2.0.0 -Release: 3%{?dist} +Release: 3%{anolis_release}%{?dist} Summary: Audio Processing library for changing Tempo, Pitch and Playback Rates License: LGPLv2+ Group: System Environment/Libraries @@ -9,6 +11,9 @@ Source0: http://www.surina.net/soundtouch/%{name}-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: autoconf automake libtool +Requires: glibc +Provides: /usr/bin/soundstretch + %description SoundTouch is a LGPL-licensed open-source audio processing library for changing the Tempo, Pitch and Playback Rates of audio streams or @@ -30,6 +35,13 @@ Requires: pkgconfig %description devel Libraries, include files, etc you can use to develop soundtouch applications. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +Doc pages for %{name}. %prep %setup -q -n %{name} @@ -79,7 +91,6 @@ ln -s soundtouch.pc %{buildroot}%{_libdir}/pkgconfig/soundtouch-1.0.pc %files -%doc README.html %license COPYING.TXT %{_bindir}/soundstretch %{_libdir}/lib*.so.* @@ -90,8 +101,13 @@ ln -s soundtouch.pc %{buildroot}%{_libdir}/pkgconfig/soundtouch-1.0.pc %{_includedir}/%{name} %{_datadir}/aclocal/%{name}.m4 +%files doc +%doc README.html %changelog +* Mon Jul 18 2022 Xiaoping Liu - 2.0.0-3.0.1 +- Add doc sub package + * Thu Oct 15 2020 Tomas Popela - 2.0.0-3 - Rebuild for the annobin fixes - Remove an unused patch -- Gitee