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: 52c38b1369764243bfcf6ead1e4c6d32
10 URL: http://xorg.freedesktop.org/
11 BuildRequires: autoconf >= 2.60
12 BuildRequires: automake
13 BuildRequires: libinput-devel >= 1.2.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: libinput >= 1.2.0
23 Requires: xorg-xserver-server >= 1.10
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 This is an X driver based on libinput. It is a thin wrapper around
28 libinput, so while it does provide all features that libinput supports
29 it does little beyond.
31 %description -l pl.UTF-8
32 Sterownik wejściowy X oparty na libinput. Jest to bardzo cienkie
33 obudowanie biblioteki libinput, więc udostępnia wszystkie funkcje
34 obsługiwane przez libinput, ale niewiele poza tym.
37 Summary: Header file for libinput driver
38 Summary(pl.UTF-8): Plik nagłówkowy sterownika libinput
39 Group: Development/Libraries
42 Header file for libinput driver.
44 %description devel -l pl.UTF-8
45 Plik nagłówkowy sterownika libinput.
48 %setup -q -n xf86-input-libinput-%{version}
57 --with-xorg-conf-dir=/etc/X11/xorg.conf.d \
63 rm -rf $RPM_BUILD_ROOT
65 install -d $RPM_BUILD_ROOT/etc/X11/xorg.conf.d/
68 DESTDIR=$RPM_BUILD_ROOT
70 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la
73 rm -rf $RPM_BUILD_ROOT
76 %defattr(644,root,root,755)
77 %doc COPYING ChangeLog README.md
78 /etc/X11/xorg.conf.d/60-libinput.conf
79 %attr(755,root,root) %{_libdir}/xorg/modules/input/libinput_drv.so
80 %{_mandir}/man4/libinput.4*
83 %defattr(644,root,root,755)
84 %{_includedir}/xorg/libinput-properties.h
85 %{_pkgconfigdir}/xorg-libinput.pc