mtdev-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. Name: mtdev
  2. Version: 1.1.5
  3. Release: 1%{?_dist_release}
  4. Summary: Multitouch Protocol Translation Library
  5. Group: System Environment/Libraries
  6. License: MIT
  7. URL: http://bitmath.org/code/mtdev/
  8. Source0: http://bitmath.org/code/%{name}/%{name}-%{version}.tar.gz
  9. Source1: make-git-snapshot.sh
  10. Source2: commitid
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  12. BuildRequires: autoconf automake libtool
  13. BuildRequires: xorg-x11-util-macros >= 1.5.0-1
  14. %description
  15. %{name} is a stand-alone library which transforms all variants of kernel MT
  16. events to the slotted type B protocol. The events put into mtdev may be from
  17. any MT device, specifically type A without contact tracking, type A with
  18. contact tracking, or type B with contact tracking.
  19. %package devel
  20. Summary: Multitouch Protocol Translation Library Development Package
  21. Requires: %{name} = %{version}-%{release}
  22. Requires: pkgconfig
  23. %description devel
  24. Multitouch protocol translation library development package.
  25. %prep
  26. %setup -q
  27. %build
  28. autoreconf -v --install || exit 1
  29. %configure --disable-static
  30. make %{?_smp_mflags}
  31. %install
  32. rm -rf %{buildroot}
  33. make install DESTDIR=%{buildroot} INSTALL="install -p"
  34. # We intentionally don't ship *.la files
  35. rm -f %{buildroot}%{_libdir}/*.la
  36. %clean
  37. rm -rf %{buildroot}
  38. %post -p /sbin/ldconfig
  39. %postun -p /sbin/ldconfig
  40. %files
  41. %defattr(-,root,root,-)
  42. %doc COPYING README CREDITS
  43. %{_libdir}/libmtdev.so.*
  44. %files devel
  45. %defattr(-,root,root,-)
  46. %{_includedir}/mtdev.h
  47. %{_includedir}/mtdev-plumbing.h
  48. %{_includedir}/mtdev-mapping.h
  49. %{_libdir}/libmtdev.so
  50. %{_libdir}/pkgconfig/mtdev.pc
  51. %{_bindir}/mtdev-test
  52. %changelog
  53. * Wed Jul 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.5.0-1
  54. - new upstream release
  55. * Fri Sep 23 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.1.0-1.20110105
  56. - initial build for Vine Linux
  57. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2.20110105
  58. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  59. * Wed Jan 05 2011 Peter Hutterer <peter.hutterer@redhat.com> 1.1.0-1.20110105
  60. - Update to release 1.1.0
  61. * Tue Aug 03 2010 Peter Hutterer <peter.hutterer@redhat.com> 1.0.8-1.20100803
  62. - Update to release 1.0.8
  63. * Thu Jul 08 2010 Peter Hutterer <peter.hutterer@redhat.com> 1.0.1-2.20100706
  64. - Require util-macros >= 1.5
  65. * Tue Jul 06 2010 Peter Hutterer <peter.hutterer@redhat.com> 1.0.1-1.20100706
  66. - Initial package