diff --git a/mtdev.spec b/mtdev.spec index 77ee92037d755365e09ec7060f406451c9ce0a5c..a752a8d19ad16992dcdb4dd01f4e88874d0123ce 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