From f09b99ad45f3c673c6fd054697168ea925dbc075 Mon Sep 17 00:00:00 2001 From: liuxiaoping Date: Sat, 16 Jul 2022 15:28:52 +0800 Subject: [PATCH] add doc sub package --- rhythmbox.spec | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/rhythmbox.spec b/rhythmbox.spec index 12b3e12..672bffc 100644 --- a/rhythmbox.spec +++ b/rhythmbox.spec @@ -1,3 +1,4 @@ +%define anolis_release .0.1 %global gtk3_version 3.16.0 %global libdmapsharing_version 2.9.19 %global libsecret_version 0.18 @@ -5,7 +6,7 @@ Name: rhythmbox Summary: Music Management Application Version: 3.4.2 -Release: 8%{?dist} +Release: 8%{anolis_release}%{?dist} License: GPLv2+ with exceptions and GFDL URL: https://wiki.gnome.org/Apps/Rhythmbox #VCS: git://git.gnome.org/rhythmbox @@ -51,6 +52,9 @@ Requires: python3-gobject Requires: python3-mako Requires: gstreamer1-plugins-good +Requires: glibc +Provides: /usr/bin/rhythmbox + BuildRequires: autoconf automake libtool intltool gtk-doc Patch0: rb-3.4.2-bug-fixes.patch @@ -67,6 +71,14 @@ through GStreamer, Internet Radio support, playlists and more. Rhythmbox is extensible through a plugin system. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +Doc pages for %{name}. + %package devel Summary: Development files for Rhythmbox plugins Requires: %{name}%{?_isa} = %{version}-%{release} @@ -126,7 +138,6 @@ appstream-util replace-screenshots $RPM_BUILD_ROOT%{_datadir}/appdata/rhythmbox. %files -f %{name}.lang %license COPYING -%doc AUTHORS README NEWS %{_bindir}/* %{_datadir}/rhythmbox/ %{_datadir}/appdata/rhythmbox.appdata.xml @@ -171,12 +182,18 @@ appstream-util replace-screenshots $RPM_BUILD_ROOT%{_datadir}/appdata/rhythmbox. %{_libexecdir}/rhythmbox-metadata %{_mandir}/man1/rhythmbox*.1* +%files doc +%doc AUTHORS README NEWS + %files devel %{_includedir}/rhythmbox %{_libdir}/pkgconfig/rhythmbox.pc %{_datadir}/gir-1.0/*.gir %changelog +* Sat Jul 16 2022 Xiaoping Liu - 3.4.2-8.0.1 +- Add doc sub package + * Mon Jul 16 2018 Bastien Nocera - 3.4.2-8 + rhythmbox-3.4.2-8 - Rebuild for updated Python -- Gitee