libevdev-vl.spec 2.5 KB

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