From dc0edf45dcd27659c7bc54da3d365cf65db26fcc Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Sat, 16 Jul 2022 18:09:28 +0800 Subject: [PATCH] Add doc sub package --- gtk3.spec | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/gtk3.spec b/gtk3.spec index ebb17ec..20e5e7b 100644 --- a/gtk3.spec +++ b/gtk3.spec @@ -1,3 +1,4 @@ +%define anolis_release .0.1 %if 0%{?fedora} || 0%{?rhel} > 7 %global with_wayland 1 %global with_broadway 1 @@ -22,7 +23,7 @@ Name: gtk3 Version: 3.22.30 -Release: 10%{?dist} +Release: 10%{anolis_release}%{?dist} Summary: GTK+ graphical user interface library License: LGPLv2+ @@ -127,6 +128,9 @@ Obsoletes: gtk3-engines <= 2.91.5-5.fc15 Obsoletes: gtk-solidity-engine < 0.4.1-9 Obsoletes: oxygen-gtk3 < 2:1.4.1 +Requires: glibc +Provides: /usr/bin/gtk-launch + %description GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, GTK+ is suitable for @@ -135,6 +139,15 @@ suites. This package contains version 3 of GTK+. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + + +%description doc +Doc pages for %{name}. + %package -n gtk-update-icon-cache Summary: Icon theme caching utility # gtk-update-icon-cache used to be shipped in the gtk2 package @@ -270,7 +283,6 @@ gtk-query-immodules-3.0-%{__isa_bits} --update-cache &>/dev/null || : %files -f gtk30.lang %license COPYING -%doc AUTHORS NEWS README %{_bindir}/gtk-query-immodules-3.0* %{_bindir}/gtk-launch %{_libdir}/libgtk-3.so.* @@ -300,6 +312,9 @@ gtk-query-immodules-3.0-%{__isa_bits} --update-cache &>/dev/null || : %{_mandir}/man1/broadwayd.1* %endif +%files doc +%doc AUTHORS NEWS README + %files -n gtk-update-icon-cache %license COPYING %{_bindir}/gtk-update-icon-cache @@ -363,6 +378,9 @@ gtk-query-immodules-3.0-%{__isa_bits} --update-cache &>/dev/null || : %{_datadir}/installed-tests %changelog +* Sat Jul 16 2022 mgb01105731 - 3.22.30-10.0.1 +- Add doc sub package + * Tue Feb 15 2022 David King - 3.22.30-10 - Further treeview a11y refcount fix (#2032438) -- Gitee