Source1001: mtdev.manifest
BuildRequires: pkgconfig
+%global TZ_SYS_RO_SHARE %{?TZ_SYS_RO_SHARE:%TZ_SYS_RO_SHARE}%{!?TZ_SYS_RO_SHARE:/usr/share}
+
%description
The mtdev is a stand-alone library which transforms all variants of kernel MT 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. See the kernel documentation for further details.
%install
%make_install
+#for license notification
+mkdir -p %{buildroot}/%{TZ_SYS_RO_SHARE}/license
+cp -a %{_builddir}/%{buildsubdir}/COPYING %{buildroot}/%{TZ_SYS_RO_SHARE}/license/%{name}
+
%post -n libmtdev -p /sbin/ldconfig
%postun -n libmtdev -p /sbin/ldconfig
%files
%manifest %{name}.manifest
%defattr(-, root, root)
-%license COPYING
+%{TZ_SYS_RO_SHARE}/license/%{name}
%{_bindir}/*
%files -n libmtdev