From 583d8f6c20700a53f86e2dd39da4113762a3e28a Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Mon, 10 Oct 2022 13:50:51 +0800 Subject: [PATCH] add doc package --- mtdev.spec | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/mtdev.spec b/mtdev.spec index 77ee920..a752a8d 100644 --- a/mtdev.spec +++ b/mtdev.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 %global name mtdev Name: mtdev @@ -17,6 +17,14 @@ events to the slotted type B protocol. The events put into mtdev may be from any MT device, specifically type A without contact tracking, type A with contact tracking, or type B with contact tracking. +%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 devel Summary: Multitouch Protocol Translation Library Development Package Requires: %{name} = %{version}-%{release} @@ -43,9 +51,12 @@ rm -f %{buildroot}%{_libdir}/*.la %ldconfig_scriptlets %files -%doc COPYING README +%doc COPYING %{_libdir}/libmtdev.so.* +%files doc +%doc README + %files devel %{_includedir}/mtdev.h %{_includedir}/mtdev-plumbing.h @@ -55,5 +66,8 @@ rm -f %{buildroot}%{_libdir}/*.la %{_bindir}/mtdev-test %changelog +* Mon Oct 10 2022 mgb01105731 - 1.1.6-2 +- add doc pacakge + * Mon Apr 18 2022 Yuanhong Peng - 1.1.6-1 - Init package from upstream v1.1.6 -- Gitee