]> git.pld-linux.org Git - packages/xorg-driver-input-evdev.git/blobdiff - xorg-driver-input-evdev.spec
- xserver rebuild
[packages/xorg-driver-input-evdev.git] / xorg-driver-input-evdev.spec
index b061b6703b22e6f0d17f518736e2ecf742fc5c0f..826110452ceda2c750b9c42e8fa5a148c56e007a 100644 (file)
@@ -1,28 +1,49 @@
-Summary:       X.org input driver for evdev devices
-Summary(pl):   Sterownik wej¶ciowy X.org dla urz±dzeñ evdev
+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:       1.0.0.3
-Release:       0.1
+Version:       2.9.0
+Release:       3
 License:       MIT
 Group:         X11/Applications
-Source0:       http://xorg.freedesktop.org/releases/X11R7.0-RC3/driver/xf86-input-evdev-%{version}.tar.bz2
-# Source0-md5: c406fbaf6fcf37b5e78d9d43290a8c67
+Source0:       http://xorg.freedesktop.org/releases/individual/driver/xf86-input-evdev-%{version}.tar.bz2
+# 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 >= 0.99.3
+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
-X.org input driver for evdev devices.
+X.org input driver for Linux generic event devices. It supports all
+input devices that the kernel knows about, including most mice and
+keyboards.
 
-%description -l pl
-Sterownik wej¶ciowy X.org dla urz±dzeñ evdev.
+%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}
@@ -40,17 +61,25 @@ Sterownik wej
 
 %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 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*
+%{_mandir}/man4/evdev.4*
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/xorg/evdev-properties.h
+%{_pkgconfigdir}/xorg-evdev.pc
This page took 0.030518 seconds and 4 git commands to generate.