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