1 Summary: Input device library
6 URL: http://www.freedesktop.org/wiki/Software/libinput/
7 Source0: http://www.freedesktop.org/software/libinput/%{name}-%{version}.tar.xz
8 # Source0-md5: f5d794beb5228353f480d15a058e1885
10 BuildRequires: libevdev-devel
11 BuildRequires: mtdev-devel
12 BuildRequires: udev-devel
15 libinput is a library that handles input devices for display servers
16 and other applications that need to directly deal with input devices.
18 It provides device detection, device handling, input device event
19 processing and abstraction so minimize the amount of custom input code
20 the user of libinput need to provide the common set of functionality
24 Summary: Development files for %{name}
25 Requires: %{name} = %{version}-%{release}
28 The %{name}-devel package contains libraries and header files for
29 developing applications that use %{name}.
37 --disable-silent-rules
42 rm -rf $RPM_BUILD_ROOT
45 DESTDIR=$RPM_BUILD_ROOT
48 rm -rf $RPM_BUILD_ROOT
50 %post -p /sbin/ldconfig
51 %postun -p /sbin/ldconfig
54 %defattr(644,root,root,755)
56 %attr(755,root,root) %ghost %{_libdir}/libinput.so.0
57 %attr(755,root,root) %{_libdir}/libinput.so.*.*
60 %defattr(644,root,root,755)
61 %{_includedir}/libinput.h
62 %attr(755,root,root) %{_libdir}/libinput.so
63 %{_pkgconfigdir}/libinput.pc