Summary: A libinput-based X.org input driver
Summary(pl.UTF-8): Sterownik wejściowy X.org oparty na libinput
Name: xorg-driver-input-libinput
-Version: 0.11.0
+Version: 1.2.0
Release: 1
License: MIT
Group: X11/Applications
-Source0: http://xorg.freedesktop.org/releases/individual/driver/xf86-input-libinput-%{version}.tar.bz2
-# Source0-md5: 710f0a2ecb6a3aefee80aba0fbbe6e18
-Source1: 90-libinput.conf
-URL: http://xorg.freedesktop.org/
+Source0: https://xorg.freedesktop.org/releases/individual/driver/xf86-input-libinput-%{version}.tar.bz2
+# Source0-md5: 22f0b98c3937cfc07517ec1414d1ca5d
+URL: https://xorg.freedesktop.org/
BuildRequires: autoconf >= 2.60
BuildRequires: automake
-BuildRequires: libinput-devel >= 0.14.0
+BuildRequires: libinput-devel >= 1.19.0
BuildRequires: libtool >= 2:2
BuildRequires: pkgconfig >= 1:0.19
BuildRequires: rpmbuild(macros) >= 1.389
-BuildRequires: xorg-proto-inputproto-devel >= 2.2
+BuildRequires: xorg-proto-inputproto-devel >= 2.3.99.1
BuildRequires: xorg-proto-xproto-devel
BuildRequires: xorg-util-util-macros >= 1.8
-BuildRequires: xorg-xserver-server-devel >= 1.10
+BuildRequires: xorg-xserver-server-devel >= 1.19
%{?requires_xorg_xserver_xinput}
-Requires: libinput >= 0.14.0
-Requires: xorg-xserver-server >= 1.10
+Requires: libinput >= 1.19.0
+Requires: xorg-xserver-server >= 1.19
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%{__autoheader}
%{__automake}
%configure \
+ --with-xorg-conf-dir=/etc/X11/xorg.conf.d \
--disable-static
%{__make}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-cp -p %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/xorg.conf.d/90-libinput.conf
-
%{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la
%clean
%files
%defattr(644,root,root,755)
%doc COPYING ChangeLog README.md
-/etc/X11/xorg.conf.d/90-libinput.conf
+/etc/X11/xorg.conf.d/40-libinput.conf
%attr(755,root,root) %{_libdir}/xorg/modules/input/libinput_drv.so
%{_mandir}/man4/libinput.4*