mtdev-vl.spec 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. Name: mtdev
  2. Version: 1.1.5
  3. Release: 2%{?_dist_release}
  4. Summary: Multitouch Protocol Translation Library
  5. License: MIT
  6. Group: System Environment/Libraries
  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. Group: Development/Libraries
  22. Requires: %{name} = %{version}-%{release}
  23. Requires: pkgconfig
  24. %description devel
  25. Multitouch protocol translation library development package.
  26. %prep
  27. %setup -q
  28. %build
  29. autoreconf -v --install || exit 1
  30. %configure --disable-static
  31. make %{?_smp_mflags}
  32. %install
  33. rm -rf %{buildroot}
  34. make install DESTDIR=%{buildroot} INSTALL="install -p"
  35. # We intentionally don't ship *.la files
  36. rm -f %{buildroot}%{_libdir}/*.la
  37. %clean
  38. rm -rf %{buildroot}
  39. %post -p /sbin/ldconfig
  40. %postun -p /sbin/ldconfig
  41. %files
  42. %defattr(-,root,root,-)
  43. %doc COPYING README
  44. %{_libdir}/libmtdev.so.*
  45. %files devel
  46. %defattr(-,root,root,-)
  47. %{_includedir}/mtdev.h
  48. %{_includedir}/mtdev-plumbing.h
  49. %{_includedir}/mtdev-mapping.h
  50. %{_libdir}/libmtdev.so
  51. %{_libdir}/pkgconfig/mtdev.pc
  52. %{_bindir}/mtdev-test
  53. %changelog
  54. * Tue Oct 14 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.1.5-2
  55. - added Group tag to devel subpackage
  56. * Wed Jul 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.1.5-1
  57. - new upstream release
  58. * Fri Sep 23 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.1.0-1.20110105
  59. - initial build for Vine Linux
  60. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2.20110105
  61. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  62. * Wed Jan 05 2011 Peter Hutterer <peter.hutterer@redhat.com> 1.1.0-1.20110105
  63. - Update to release 1.1.0
  64. * Tue Aug 03 2010 Peter Hutterer <peter.hutterer@redhat.com> 1.0.8-1.20100803
  65. - Update to release 1.0.8
  66. * Thu Jul 08 2010 Peter Hutterer <peter.hutterer@redhat.com> 1.0.1-2.20100706
  67. - Require util-macros >= 1.5
  68. * Tue Jul 06 2010 Peter Hutterer <peter.hutterer@redhat.com> 1.0.1-1.20100706
  69. - Initial package