Summary: X.org input driver for Linux generic event devices
Summary(pl.UTF-8): Sterownik wejściowy X.org dla ogólnych urządzeń linuksowych generujących zdarzenia
Name: xorg-driver-input-evdev
-Version: 2.6.0
-Release: 4
+Version: 2.9.0
+Release: 3
License: MIT
Group: X11/Applications
Source0: http://xorg.freedesktop.org/releases/individual/driver/xf86-input-evdev-%{version}.tar.bz2
-# Source0-md5: f33fe9413bde68936d8909206a13e8a1
+# Source0-md5: 9076ae2646f7aeb30963056e0bbfccf0
+Source1: evdev.conf
URL: http://xorg.freedesktop.org/
BuildRequires: autoconf >= 2.60
BuildRequires: automake
BuildRequires: libtool
+BuildRequires: mtdev-devel
BuildRequires: pkgconfig >= 1:0.19
BuildRequires: rpmbuild(macros) >= 1.389
-BuildRequires: xorg-proto-inputproto-devel
+BuildRequires: udev-devel
+BuildRequires: xorg-proto-inputproto-devel >= 2.2
BuildRequires: xorg-proto-kbproto-devel
BuildRequires: xorg-util-util-macros >= 1.8
-BuildRequires: xorg-xserver-server-devel >= 1.5.3
+BuildRequires: xorg-xserver-server-devel >= 1.12
%{?requires_xorg_xserver_xinput}
-Requires: xorg-xserver-server >= 1.5.3
+Requires: xorg-xserver-server >= 1.12
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%install
rm -rf $RPM_BUILD_ROOT
-
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/etc/X11/xorg.conf.d
+cp -p %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/xorg.conf.d/10-evdev.conf
+
%{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la
%clean
%files
%defattr(644,root,root,755)
%doc COPYING ChangeLog README
+%config(noreplace) %verify(not md5 mtime size) /etc/X11/xorg.conf.d/10-evdev.conf
%attr(755,root,root) %{_libdir}/xorg/modules/input/evdev_drv.so
%{_mandir}/man4/evdev.4*