From b0789d1d822319b995965c18834ae73d4fffbb83 Mon Sep 17 00:00:00 2001 From: Feng Su Date: Mon, 13 Mar 2023 17:34:44 +0800 Subject: [PATCH] add doc package and add abi/api files --- gsound.spec | 29 ++++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/gsound.spec b/gsound.spec index a137d13..e3bec06 100644 --- a/gsound.spec +++ b/gsound.spec @@ -1,6 +1,8 @@ +%define anolis_release 2 + Name: gsound Version: 1.0.3 -Release: 1%{?dist} +Release: %{anolis_release}%{?dist} Summary: Small gobject library for playing system sounds License: LGPLv2 @@ -27,7 +29,14 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. - + +%package doc +Summary: Documentation files for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. %prep %setup -q @@ -42,10 +51,15 @@ developing applications that use %{name}. %ldconfig_scriptlets +%generate_compatibility_deps + %files -%doc COPYING README +%doc COPYING +%dir %{abidir} %{_bindir}/gsound-play +%{abidir}/gsound-play-option.list %{_libdir}/*.so.* +%{abidir}/*.dump %dir %{_libdir}/girepository-1.0 %{_libdir}/girepository-1.0/GSound-1.0.typelib %{_mandir}/man1/gsound-play.* @@ -62,10 +76,15 @@ developing applications that use %{name}. %dir %{_datadir}/vala %dir %{_datadir}/vala/vapi %{_datadir}/vala/vapi/gsound.* - - + +%files doc +%doc README %changelog +* Fri Mar 10 2023 Feng Su - 1.0.3-2 +- add doc package +- add abi/api files + * Tue May 10 2022 gaochang - 1.0.3-1 - Init from upstream version 1.0.3 -- Gitee