diff --git a/yelp.spec b/yelp.spec index 65e98f8cf385c20b955410cc1d87dd8ef427c05a..3b75e3615157fcd047f434214cc875f6a84821fe 100644 --- a/yelp.spec +++ b/yelp.spec @@ -1,9 +1,10 @@ +%define anolis_release .0.1 %global _changelog_trimtime %(date +%s -d "1 year ago") Name: yelp Epoch: 2 Version: 3.28.1 -Release: 3%{?dist} +Release: 3%{anolis_release}%{?dist} Summary: Help browser for the GNOME desktop Group: Applications/System @@ -52,6 +53,8 @@ BuildRequires: intltool BuildRequires: itstool Requires: yelp-libs%{?_isa} = %{epoch}:%{version}-%{release} Requires: yelp-xsl +Requires: glibc +Provides: /usr/bin/yelp %description @@ -76,6 +79,13 @@ Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release} This package contains header files and documentation for the libraries in the yelp-libs package. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{epoch}:%{version}-%{release} + +%description doc +Doc pages for %{name}. %prep %autosetup -p1 @@ -102,7 +112,6 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/yelp.desktop %ldconfig_scriptlets libs %files -f %{name}.lang -%doc AUTHORS NEWS README %license COPYING %{_bindir}/* %{_datadir}/applications/yelp.desktop @@ -122,8 +131,13 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/yelp.desktop %{_includedir}/libyelp %{_datadir}/gtk-doc +%files doc +%doc AUTHORS NEWS README %changelog +* Fri Jul 15 2022 Liwei Ge - 2:3.28.1-3.0.1 +- Add doc sub package + * Mon Oct 15 2018 Tomas Popela - 2:3.28.1-3 - Add the Quit entry to the app menu - Handle Ctrl+Q shortcut for quitting the application