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