]>
Commit | Line | Data |
---|---|---|
51d7e93d JB |
1 | Summary: A libinput-based X.org input driver |
2 | Summary(pl.UTF-8): Sterownik wejściowy X.org oparty na libinput | |
3 | Name: xorg-driver-input-libinput | |
4 | Version: 0.2.0 | |
5 | Release: 1 | |
6 | License: MIT | |
7 | Group: X11/Applications | |
8 | Source0: http://xorg.freedesktop.org/releases/individual/driver/xf86-input-libinput-%{version}.tar.bz2 | |
9 | # Source0-md5: 3c0d849d8b391a0997004f3b19352e5f | |
10 | URL: http://xorg.freedesktop.org/ | |
11 | BuildRequires: autoconf >= 2.60 | |
12 | BuildRequires: automake | |
13 | BuildRequires: libinput-devel > 0.6.0 | |
14 | BuildRequires: libtool >= 2:2 | |
15 | BuildRequires: pkgconfig >= 1:0.19 | |
16 | BuildRequires: rpmbuild(macros) >= 1.389 | |
17 | BuildRequires: xorg-proto-inputproto-devel >= 2.2 | |
18 | BuildRequires: xorg-proto-xproto-devel | |
19 | BuildRequires: xorg-util-util-macros >= 1.8 | |
20 | BuildRequires: xorg-xserver-server-devel >= 1.10 | |
21 | %{?requires_xorg_xserver_xinput} | |
22 | Requires: xorg-xserver-server >= 1.10 | |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
26 | This is an X driver based on libinput. It is a thin wrapper around | |
27 | libinput, so while it does provide all features that libinput supports | |
28 | it does little beyond. | |
29 | ||
30 | %description -l pl.UTF-8 | |
31 | Sterownik wejściowy X oparty na libinput. Jest to bardzo cienkie | |
32 | obudowanie biblioteki libinput, więc udostępnia wszystkie funkcje | |
33 | obsługiwane przez libinput, ale niewiele poza tym. | |
34 | ||
35 | %prep | |
36 | %setup -q -n xf86-input-libinput-%{version} | |
37 | ||
38 | %build | |
39 | %{__libtoolize} | |
40 | %{__aclocal} | |
41 | %{__autoconf} | |
42 | %{__autoheader} | |
43 | %{__automake} | |
44 | %configure \ | |
45 | --disable-static | |
46 | ||
47 | %{__make} | |
48 | ||
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | %{__make} install \ | |
52 | DESTDIR=$RPM_BUILD_ROOT | |
53 | ||
54 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la | |
55 | ||
56 | %clean | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %files | |
60 | %defattr(644,root,root,755) | |
61 | %doc COPYING ChangeLog README.md conf/99-libinput.conf | |
62 | %config(noreplace) %verify(not md5 mtime size) /etc/X11/xorg.conf.d/10-libinput.conf | |
63 | %attr(755,root,root) %{_libdir}/xorg/modules/input/libinput_drv.so | |
64 | %{_mandir}/man4/libinput.4* |