libevdev-vl.spec 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. Summary: A wrapper library for evdev devices
  2. Summary(ja): evdev デバイス用ラッパーライブラリ
  3. Name: libevdev
  4. Version: 1.2.2
  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. %description
  12. libevdev is a wrapper library for evdev devices. it moves the
  13. common tasks when dealing with evdev devices into a library and
  14. provides a library interface to the callers, thus avoiding
  15. erroneous ioctls, etc.
  16. %package devel
  17. Summary: Development files for %{name}
  18. Summary(ja): %{name} の開発ファイル
  19. Group: Development/Libraries
  20. Requires: %{name} = %{version}-%{release}
  21. Requires: pkgconfig
  22. %description devel
  23. This package contains libraries and header files for
  24. developing applications that use %{name}.
  25. %prep
  26. %setup -q
  27. %build
  28. %configure --disable-static
  29. make %{?_smp_mflags}
  30. %install
  31. rm -rf $RPM_BUILD_ROOT
  32. make install DESTDIR=$RPM_BUILD_ROOT
  33. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  34. %clean
  35. rm -rf $RPM_BUILD_ROOT
  36. %post -p /sbin/ldconfig
  37. %postun -p /sbin/ldconfig
  38. %files
  39. %defattr(-,root,root,-)
  40. %doc COPYING
  41. %{_bindir}/touchpad-edge-detector
  42. %{_libdir}/%{name}.so.*
  43. %files devel
  44. %defattr(-,root,root,-)
  45. %doc doc/html
  46. %{_includedir}/%{name}-1.0
  47. %{_libdir}/%{name}.so
  48. %{_libdir}/pkgconfig/%{name}.pc
  49. %{_mandir}/man3/%{name}.3.gz
  50. %changelog
  51. * Wed Jul 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.2-1
  52. - initial build for Vine Linux