%define major 1 %define libname %mklibname %{name} %{major} %define develname %mklibname %{name} -d Name: mtdev Version: 1.1.3 Release: %mkrel 2 License: MIT Summary: Kernel multi-touch transformation library Url: http://edge.launchpad.net/mtdev Group: System/Libraries Source0: https://launchpad.net/mtdev/trunk/1.1.2/+download/%{name}-%{version}.tar.gz %description The mtdev library transforms all variants of kernel MT (multi-touch) 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. %package -n %{libname} Summary: Kernel multi-touch transformation library Group: System/Libraries %description -n %{libname} The mtdev library transforms all variants of kernel MT (multi-touch) 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. %package -n %{develname} Summary: Development files for mtdev Group: Development/C Requires: %{libname} = %{version}-%{release} Provides: %{name}-devel = %{version}-%{release} %description -n %{develname} The mtdev library transforms all variants of kernel MT (multi-touch) 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. This package provides the development files for mtdev. %prep %setup -q %build %configure2_5x \ --disable-static %make %install %makeinstall_std find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print %files %doc ChangeLog README COPYING %{_bindir}/mtdev-test %files -n %{libname} %{_libdir}/*.so.%{major}* %files -n %{develname} %{_includedir}/mtdev* %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %changelog * Sat Jan 12 2013 umeabot <umeabot> 1.1.3-2.mga3 + Revision: 360471 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed Oct 17 2012 tv <tv> 1.1.3-1.mga3 + Revision: 307767 - new release * Thu May 31 2012 tv <tv> 1.1.2-1.mga3 + Revision: 252054 - use %%mkrel - imported package mtdev