]> git.pld-linux.org Git - packages/libinput.git/blob - libinput.spec
- initial
[packages/libinput.git] / libinput.spec
1 Summary:        Input device library
2 Name:           libinput
3 Version:        0.1.0
4 Release:        1
5 License:        MIT
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
9 Group:          Libraries
10 BuildRequires:  libevdev-devel
11 BuildRequires:  mtdev-devel
12 BuildRequires:  udev-devel
13
14 %description
15 libinput is a library that handles input devices for display servers
16 and other applications that need to directly deal with input devices.
17
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
21 that users expect.
22
23 %package        devel
24 Summary:        Development files for %{name}
25 Requires:       %{name} = %{version}-%{release}
26
27 %description    devel
28 The %{name}-devel package contains libraries and header files for
29 developing applications that use %{name}.
30
31 %prep
32 %setup -q
33
34 %build
35 %configure \
36         --disable-static \
37         --disable-silent-rules
38
39 %{__make}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 %{__make} install \
45         DESTDIR=$RPM_BUILD_ROOT
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %post -p /sbin/ldconfig
51 %postun -p /sbin/ldconfig
52
53 %files
54 %defattr(644,root,root,755)
55 %doc README
56 %attr(755,root,root) %ghost %{_libdir}/libinput.so.0
57 %attr(755,root,root) %{_libdir}/libinput.so.*.*
58
59 %files devel
60 %defattr(644,root,root,755)
61 %{_includedir}/libinput.h
62 %attr(755,root,root) %{_libdir}/libinput.so
63 %{_pkgconfigdir}/libinput.pc
This page took 0.080505 seconds and 4 git commands to generate.