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
7 Group: X11/Applications
8 Source0: http://xorg.freedesktop.org/releases/individual/driver/xf86-input-libinput-%{version}.tar.bz2
9 # Source0-md5: 6881879dacf4db34db6ca2113dbef949
10 Source1: 90-libinput.conf
11 URL: http://xorg.freedesktop.org/
12 BuildRequires: autoconf >= 2.60
13 BuildRequires: automake
14 BuildRequires: libinput-devel >= 0.21.0
15 BuildRequires: libtool >= 2:2
16 BuildRequires: pkgconfig >= 1:0.19
17 BuildRequires: rpmbuild(macros) >= 1.389
18 BuildRequires: xorg-proto-inputproto-devel >= 2.2
19 BuildRequires: xorg-proto-xproto-devel
20 BuildRequires: xorg-util-util-macros >= 1.8
21 BuildRequires: xorg-xserver-server-devel >= 1.10
22 %{?requires_xorg_xserver_xinput}
23 Requires: libinput >= 0.21.0
24 Requires: xorg-xserver-server >= 1.10
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 This is an X driver based on libinput. It is a thin wrapper around
29 libinput, so while it does provide all features that libinput supports
30 it does little beyond.
32 %description -l pl.UTF-8
33 Sterownik wejściowy X oparty na libinput. Jest to bardzo cienkie
34 obudowanie biblioteki libinput, więc udostępnia wszystkie funkcje
35 obsługiwane przez libinput, ale niewiele poza tym.
38 Summary: Header file for libinput driver
39 Summary(pl.UTF-8): Plik nagłówkowy sterownika libinput
40 Group: Development/Libraries
43 Header file for libinput driver.
45 %description devel -l pl.UTF-8
46 Plik nagłówkowy sterownika libinput.
49 %setup -q -n xf86-input-libinput-%{version}
63 rm -rf $RPM_BUILD_ROOT
65 install -d $RPM_BUILD_ROOT/etc/X11/xorg.conf.d/
68 DESTDIR=$RPM_BUILD_ROOT
70 cp -p %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/xorg.conf.d/90-libinput.conf
72 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la
75 rm -rf $RPM_BUILD_ROOT
78 %defattr(644,root,root,755)
79 %doc COPYING ChangeLog README.md
80 /etc/X11/xorg.conf.d/90-libinput.conf
81 %attr(755,root,root) %{_libdir}/xorg/modules/input/libinput_drv.so
82 %{_mandir}/man4/libinput.4*
85 %defattr(644,root,root,755)
86 %{_includedir}/xorg/libinput-properties.h
87 %{_pkgconfigdir}/xorg-libinput.pc