From 9e8834ffb373dd2a35002804c40fa85b15f332ab Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Fri, 30 Sep 2022 11:03:44 +0800 Subject: [PATCH] add doc package --- gpm.spec | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/gpm.spec b/gpm.spec index 1e7e8c7..d463b0d 100644 --- a/gpm.spec +++ b/gpm.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 Summary: A mouse server for the Linux console Name: gpm Version: 1.20.7 @@ -53,6 +53,14 @@ also provides console cut-and-paste operations using the mouse and includes a program to allow pop-up menus to appear at the click of a mouse button. +%package doc +Summary: Documentation files for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + %package libs Summary: Dynamic library for gpm @@ -115,8 +123,7 @@ rm -rf %{buildroot}%{_initrddir} %ldconfig_scriptlets libs %files -%doc COPYING README TODO -%doc doc/README* doc/FAQ doc/Announce doc/changelog +%doc COPYING %{_infodir}/* %config(noreplace) %{_sysconfdir}/gpm-* %{_unitdir}/gpm.service @@ -124,6 +131,9 @@ rm -rf %{buildroot}%{_initrddir} %{_bindir}/* %{_mandir}/man?/* +%files doc +%doc README TODO doc/README* doc/FAQ doc/Announce doc/changelog + %files libs %{_libdir}/libgpm.so.* @@ -135,6 +145,9 @@ rm -rf %{buildroot}%{_initrddir} %{_libdir}/libgpm.a %changelog +* Thu Sep 30 2022 mgb01105731 - 1.20.7-2 +- add doc package + * Fri Mar 25 2022 Chunmei Xu - 1.20.7-1 - init from upstream - sync pacthes from upstream -- Gitee