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