]>
Commit | Line | Data |
---|---|---|
1 | Summary: X.org input driver for Linux generic event devices | |
2 | Summary(pl.UTF-8): Sterownik wejściowy X.org dla ogólnych urządzeń linuksowych generujących zdarzenia | |
3 | Name: xorg-driver-input-evdev | |
4 | Version: 2.10.6 | |
5 | Release: 1 | |
6 | License: MIT | |
7 | Group: X11/Applications | |
8 | Source0: https://xorg.freedesktop.org/releases/individual/driver/xf86-input-evdev-%{version}.tar.bz2 | |
9 | # Source0-md5: e8bd1edc6751f92e425cae7eba3c61eb | |
10 | URL: https://xorg.freedesktop.org/ | |
11 | BuildRequires: autoconf >= 2.60 | |
12 | BuildRequires: automake | |
13 | BuildRequires: libevdev-devel >= 0.4 | |
14 | BuildRequires: libtool | |
15 | BuildRequires: mtdev-devel | |
16 | BuildRequires: pkgconfig >= 1:0.19 | |
17 | BuildRequires: rpmbuild(macros) >= 1.389 | |
18 | BuildRequires: udev-devel | |
19 | BuildRequires: xorg-proto-inputproto-devel >= 2.2 | |
20 | BuildRequires: xorg-proto-kbproto-devel | |
21 | BuildRequires: xorg-proto-xproto-devel | |
22 | BuildRequires: xorg-util-util-macros >= 1.8 | |
23 | BuildRequires: xorg-xserver-server-devel >= 1.12 | |
24 | %{?requires_xorg_xserver_xinput} | |
25 | Requires: libevdev >= 0.4 | |
26 | Requires: xorg-xserver-server >= 1.12 | |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
28 | ||
29 | %description | |
30 | X.org input driver for Linux generic event devices. It supports all | |
31 | input devices that the kernel knows about, including most mice and | |
32 | keyboards. | |
33 | ||
34 | %description -l pl.UTF-8 | |
35 | Sterownik wejściowy X.org dla ogólnych urządzeń linuksowych | |
36 | generujących zdarzenia. Obsługuje wszystkie urządzenia wejściowe znane | |
37 | przez jądro, w tym większość myszy i klawiatur. | |
38 | ||
39 | %package devel | |
40 | Summary: Header file for evdev driver | |
41 | Summary(pl.UTF-8): Plik nagłówkowy sterownika evdev | |
42 | Group: Development/Libraries | |
43 | ||
44 | %description devel | |
45 | Header file for evdev driver. | |
46 | ||
47 | %description devel -l pl.UTF-8 | |
48 | Plik nagłówkowy sterownika evdev. | |
49 | ||
50 | %prep | |
51 | %setup -q -n xf86-input-evdev-%{version} | |
52 | ||
53 | %build | |
54 | %{__libtoolize} | |
55 | %{__aclocal} | |
56 | %{__autoconf} | |
57 | %{__autoheader} | |
58 | %{__automake} | |
59 | %configure \ | |
60 | --disable-static | |
61 | ||
62 | %{__make} | |
63 | ||
64 | %install | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | %{__make} install \ | |
67 | DESTDIR=$RPM_BUILD_ROOT | |
68 | ||
69 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la | |
70 | ||
71 | %clean | |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | ||
74 | %files | |
75 | %defattr(644,root,root,755) | |
76 | %doc COPYING ChangeLog README | |
77 | %attr(755,root,root) %{_libdir}/xorg/modules/input/evdev_drv.so | |
78 | %{_datadir}/X11/xorg.conf.d/10-evdev.conf | |
79 | %{_mandir}/man4/evdev.4* | |
80 | ||
81 | %files devel | |
82 | %defattr(644,root,root,755) | |
83 | %{_includedir}/xorg/evdev-properties.h | |
84 | %{_pkgconfigdir}/xorg-evdev.pc |