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.4.0
+Version: 0.27.1
Release: 1
License: MIT
Group: X11/Applications
-Source0: http://xorg.freedesktop.org/releases/individual/driver/xf86-input-libinput-%{version}.tar.bz2
-# Source0-md5: 74bd2fd994fd42fec23c9fc8282002f4
-URL: http://xorg.freedesktop.org/
+Source0: https://xorg.freedesktop.org/releases/individual/driver/xf86-input-libinput-%{version}.tar.bz2
+# Source0-md5: bdad198a7a9f2ce2c1f90d5e6760462b
+URL: https://xorg.freedesktop.org/
BuildRequires: autoconf >= 2.60
BuildRequires: automake
-BuildRequires: libinput-devel >= 0.7.0
+BuildRequires: libinput-devel >= 1.5.0
BuildRequires: libtool >= 2:2
BuildRequires: pkgconfig >= 1:0.19
BuildRequires: rpmbuild(macros) >= 1.389
BuildRequires: xorg-util-util-macros >= 1.8
BuildRequires: xorg-xserver-server-devel >= 1.10
%{?requires_xorg_xserver_xinput}
-Requires: libinput >= 0.7.0
+Requires: libinput >= 1.5.0
Requires: xorg-xserver-server >= 1.10
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
obudowanie biblioteki libinput, więc udostępnia wszystkie funkcje
obsługiwane przez libinput, ale niewiele poza tym.
+%package devel
+Summary: Header file for libinput driver
+Summary(pl.UTF-8): Plik nagłówkowy sterownika libinput
+Group: Development/Libraries
+
+%description devel
+Header file for libinput driver.
+
+%description devel -l pl.UTF-8
+Plik nagłówkowy sterownika libinput.
+
%prep
%setup -q -n xf86-input-libinput-%{version}
%{__autoheader}
%{__automake}
%configure \
+ --with-xorg-conf-dir=/etc/X11/xorg.conf.d \
--disable-static
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT/etc/X11/xorg.conf.d/
+
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc COPYING ChangeLog README.md conf/99-libinput.conf
+%doc COPYING ChangeLog README.md
+/etc/X11/xorg.conf.d/40-libinput.conf
%attr(755,root,root) %{_libdir}/xorg/modules/input/libinput_drv.so
%{_mandir}/man4/libinput.4*
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/xorg/libinput-properties.h
+%{_pkgconfigdir}/xorg-libinput.pc