libevdev-vl.spec 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. Summary: A wrapper library for evdev devices
  2. Summary(ja): evdev デバイス用ラッパーライブラリ
  3. Name: libevdev
  4. Version: 1.4.1
  5. Release: 1%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: GPLv2
  8. URL: http://www.freedesktop.org/wiki/Software/libevdev/
  9. Source0: http://www.freedesktop.org/software/%{name}/%{name}-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  11. Vendor: Project Vine
  12. Distribution: Vine Linux
  13. Packager: Takemikaduchi
  14. %description
  15. libevdev is a wrapper library for evdev devices. it moves the
  16. common tasks when dealing with evdev devices into a library and
  17. provides a library interface to the callers, thus avoiding
  18. erroneous ioctls, etc.
  19. %package devel
  20. Summary: Development files for %{name}
  21. Summary(ja): %{name} の開発ファイル
  22. Group: Development/Libraries
  23. Requires: %{name} = %{version}-%{release}
  24. Requires: pkgconfig
  25. %description devel
  26. This package contains libraries and header files for
  27. developing applications that use %{name}.
  28. %package utils
  29. Summary: Utilities files for %{name}
  30. Summary(ja): %{name} の開発ファイル
  31. Group: Development/Libraries
  32. Requires: %{name} = %{version}-%{release}
  33. %description utils
  34. %{summary}
  35. %prep
  36. %setup -q
  37. %build
  38. %configure --disable-static
  39. make %{?_smp_mflags}
  40. %install
  41. rm -rf $RPM_BUILD_ROOT
  42. make install DESTDIR=$RPM_BUILD_ROOT
  43. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  44. %clean
  45. rm -rf $RPM_BUILD_ROOT
  46. %post -p /sbin/ldconfig
  47. %postun -p /sbin/ldconfig
  48. %files
  49. %defattr(-,root,root,-)
  50. %doc COPYING
  51. %{_libdir}/%{name}.so.*
  52. %files devel
  53. %defattr(-,root,root,-)
  54. %doc doc/html
  55. %{_includedir}/%{name}-1.0
  56. %{_libdir}/%{name}.so
  57. %{_libdir}/pkgconfig/%{name}.pc
  58. %{_mandir}/man3/%{name}.3.gz
  59. %files utils
  60. %defattr(-,root,root,-)
  61. %{_bindir}/libevdev-tweak-device
  62. %{_bindir}/mouse-dpi-tool
  63. %{_bindir}/touchpad-edge-detector
  64. %changelog
  65. * Mon Apr 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.1-1
  66. - new upstream release
  67. - create %%{name}-utils subpackage
  68. * Mon Dec 01 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.1-1
  69. - new upstream release
  70. * Wed Jul 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.2-1
  71. - initial build for Vine Linux