From 02cff884fb37e2a771b38e78cadecded2e92cb54 Mon Sep 17 00:00:00 2001 From: Bo Ren Date: Sat, 16 Jul 2022 11:20:29 +0800 Subject: [PATCH] spec: add doc sub package Signed-off-by: Bo Ren --- at-spi2-atk.spec | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/at-spi2-atk.spec b/at-spi2-atk.spec index 78f0608..f89f661 100644 --- a/at-spi2-atk.spec +++ b/at-spi2-atk.spec @@ -1,9 +1,10 @@ +%define anolis_release .0.1 %global atk_version 2.25.2 %global at_spi2_core_version 2.25.3 Name: at-spi2-atk Version: 2.26.2 -Release: 1%{?dist} +Release: 1%{anolis_release}%{?dist} Summary: A GTK+ module that bridges ATK to D-Bus at-spi License: LGPLv2+ @@ -21,6 +22,7 @@ BuildRequires: intltool Requires: atk%{?_isa} >= %{atk_version} Requires: at-spi2-core%{?_isa} >= %{at_spi2_core_version} +Requires: glibc %description at-spi allows assistive technologies to access GTK-based @@ -42,6 +44,14 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package includes the header files for the %{name} library. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +Doc pages for %{name}. + %prep %setup -q @@ -63,7 +73,6 @@ rm $RPM_BUILD_ROOT%{_libdir}/libatk-bridge-2.0.la %postun -p /sbin/ldconfig %files -%doc AUTHORS README %license COPYING %dir %{_libdir}/gtk-2.0 %dir %{_libdir}/gtk-2.0/modules @@ -76,8 +85,13 @@ rm $RPM_BUILD_ROOT%{_libdir}/libatk-bridge-2.0.la %{_libdir}/libatk-bridge-2.0.so %{_libdir}/pkgconfig/atk-bridge-2.0.pc +%files doc +%doc AUTHORS README %changelog +* Sat Jul 16 2022 Bo Ren - 2.26.2-1.0.1 +- Add doc sub package + * Tue Mar 13 2018 Kalev Lember - 2.26.2-1 - Update to 2.26.2 -- Gitee