Summary: X.org input driver for Linux generic event devices
-Summary(pl): Sterownik wej¶ciowy X.org dla ogólnych urz±dzeñ linuksowych generuj±cych zdarzenia
+Summary(pl.UTF-8): Sterownik wejściowy X.org dla ogólnych urządzeń linuksowych generujących zdarzenia
Name: xorg-driver-input-evdev
-Version: 1.1.1
-Release: 0.1
+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: 1fe5ef6abf138ef4f334f28d58a986dc
+# Source0-md5: 9076ae2646f7aeb30963056e0bbfccf0
+Source1: evdev.conf
URL: http://xorg.freedesktop.org/
-BuildRequires: autoconf >= 2.57
+BuildRequires: autoconf >= 2.60
BuildRequires: automake
BuildRequires: libtool
+BuildRequires: mtdev-devel
BuildRequires: pkgconfig >= 1:0.19
-BuildRequires: xorg-proto-inputproto-devel
-BuildRequires: xorg-proto-randrproto-devel
-BuildRequires: xorg-util-util-macros >= 0.99.2
-BuildRequires: xorg-xserver-server-devel >= 1.0.99.901
-Requires: xorg-xserver-server >= 1.0.99.901
+BuildRequires: rpmbuild(macros) >= 1.389
+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.12
+%{?requires_xorg_xserver_xinput}
+Requires: xorg-xserver-server >= 1.12
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
input devices that the kernel knows about, including most mice and
keyboards.
-%description -l pl
-Sterownik wej¶ciowy X.org dla ogólnych urz±dzeñ linuksowych
-generuj±cych zdarzenia. Obs³uguje wszystkie urz±dzenia wej¶ciowe znane
-przez j±dro, w tym wiêkszo¶æ myszy i klawiatur.
+%description -l pl.UTF-8
+Sterownik wejściowy X.org dla ogólnych urządzeń linuksowych
+generujących zdarzenia. Obsługuje wszystkie urządzenia wejściowe znane
+przez jądro, w tym większość myszy i klawiatur.
+
+%package devel
+Summary: Header file for evdev driver
+Summary(pl.UTF-8): Plik nagłówkowy sterownika evdev
+Group: Development/Libraries
+
+%description devel
+Header file for evdev driver.
+
+%description devel -l pl.UTF-8
+Plik nagłówkowy sterownika evdev.
%prep
%setup -q -n xf86-input-evdev-%{version}
%install
rm -rf $RPM_BUILD_ROOT
-
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la
+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
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc COPYING ChangeLog
+%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*
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/xorg/evdev-properties.h
+%{_pkgconfigdir}/xorg-evdev.pc