1 | Summary: A wrapper library for evdev devices |
---|
2 | Summary(ja): evdev デバイス用ラッパーライブラリ |
---|
3 | |
---|
4 | Name: libevdev |
---|
5 | Version: 1.5.1 |
---|
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 | Vendor: Project Vine |
---|
15 | Distribution: Vine Linux |
---|
16 | Packager: Takemikaduchi |
---|
17 | |
---|
18 | |
---|
19 | %description |
---|
20 | libevdev is a wrapper library for evdev devices. it moves the |
---|
21 | common tasks when dealing with evdev devices into a library and |
---|
22 | provides a library interface to the callers, thus avoiding |
---|
23 | erroneous ioctls, etc. |
---|
24 | |
---|
25 | |
---|
26 | %package devel |
---|
27 | Summary: Development files for %{name} |
---|
28 | Summary(ja): %{name} の開発ファイル |
---|
29 | Group: Development/Libraries |
---|
30 | Requires: %{name} = %{version}-%{release} |
---|
31 | Requires: pkgconfig |
---|
32 | |
---|
33 | %description devel |
---|
34 | This package contains libraries and header files for |
---|
35 | developing applications that use %{name}. |
---|
36 | |
---|
37 | |
---|
38 | %package utils |
---|
39 | Summary: Utilities files for %{name} |
---|
40 | Summary(ja): %{name} の開発ファイル |
---|
41 | Group: Development/Libraries |
---|
42 | Requires: %{name} = %{version}-%{release} |
---|
43 | |
---|
44 | %description utils |
---|
45 | %{summary} |
---|
46 | |
---|
47 | |
---|
48 | %prep |
---|
49 | %setup -q |
---|
50 | |
---|
51 | |
---|
52 | %build |
---|
53 | %configure --disable-static |
---|
54 | make %{?_smp_mflags} |
---|
55 | |
---|
56 | |
---|
57 | %install |
---|
58 | rm -rf $RPM_BUILD_ROOT |
---|
59 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
60 | |
---|
61 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
62 | |
---|
63 | |
---|
64 | %clean |
---|
65 | rm -rf $RPM_BUILD_ROOT |
---|
66 | |
---|
67 | |
---|
68 | %post -p /sbin/ldconfig |
---|
69 | |
---|
70 | %postun -p /sbin/ldconfig |
---|
71 | |
---|
72 | |
---|
73 | %files |
---|
74 | %defattr(-,root,root,-) |
---|
75 | %doc COPYING |
---|
76 | %{_libdir}/%{name}.so.* |
---|
77 | |
---|
78 | %files devel |
---|
79 | %defattr(-,root,root,-) |
---|
80 | %doc doc/html |
---|
81 | %{_includedir}/%{name}-1.0 |
---|
82 | %{_libdir}/%{name}.so |
---|
83 | %{_libdir}/pkgconfig/%{name}.pc |
---|
84 | %{_mandir}/man3/%{name}.3.gz |
---|
85 | |
---|
86 | %files utils |
---|
87 | %defattr(-,root,root,-) |
---|
88 | %{_bindir}/libevdev-tweak-device |
---|
89 | %{_bindir}/mouse-dpi-tool |
---|
90 | %{_bindir}/touchpad-edge-detector |
---|
91 | |
---|
92 | |
---|
93 | %changelog |
---|
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 | |
---|