diff --git a/gpm.spec b/gpm.spec index 1e7e8c798ee2bd00ada66bc1bb2d669ed27d041e..d463b0d8a9d2f28e4d7ade505ad3c4d3e994c4bd 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