]>
Commit | Line | Data |
---|---|---|
0aed3d6a JB |
1 | Summary: X.org input driver for Synaptics and ALPS touchpads |
2 | Summary(pl.UTF-8): Sterownik wejściowy X.org do touchpadów Synaptics oraz ALPS | |
7d9afaff | 3 | Name: xorg-driver-input-synaptics |
88f9e5ce | 4 | Version: 1.8.3 |
5607d212 | 5 | Release: 2 |
7d9afaff AM |
6 | License: MIT |
7 | Group: X11/Applications | |
8 | Source0: http://xorg.freedesktop.org/archive/individual/driver/xf86-input-synaptics-%{version}.tar.bz2 | |
88f9e5ce | 9 | # Source0-md5: 4e3c8bed1ab4a67db2160c2c3d7e2a34 |
f7d2631d JR |
10 | Patch0: restore-shm1.patch |
11 | Patch1: restore-shm2.patch | |
12 | Patch2: more-fingers.patch | |
7d9afaff | 13 | URL: http://xorg.freedesktop.org/ |
41529e09 | 14 | BuildRequires: libevdev-devel >= 1.2 |
7d9afaff AM |
15 | BuildRequires: perl-base |
16 | BuildRequires: pkgconfig | |
17 | BuildRequires: rpmbuild(macros) >= 1.389 | |
c67dfaed JB |
18 | BuildRequires: xorg-lib-libXi-devel >= 1.2 |
19 | BuildRequires: xorg-lib-libXtst-devel >= 1.0.99.1 | |
6feb1577 | 20 | BuildRequires: xorg-proto-inputproto-devel >= 2.1.99.3 |
54ae8d0c | 21 | BuildRequires: xorg-proto-randrproto-devel |
121f48d7 | 22 | BuildRequires: xorg-proto-recordproto-devel |
810533cb | 23 | BuildRequires: xorg-util-util-macros >= 1.13 |
54ae8d0c | 24 | BuildRequires: xorg-xserver-server-devel >= 1.12 |
c67dfaed JB |
25 | Requires: xorg-lib-libXi >= 1.2 |
26 | Requires: xorg-lib-libXtst >= 1.0.99.1 | |
54ae8d0c | 27 | Requires: xorg-xserver-server >= 1.12 |
c67dfaed | 28 | %{?requires_xorg_xserver_xinput} |
7d9afaff AM |
29 | Obsoletes: X11-input-synaptics |
30 | Obsoletes: X11-synaptics | |
31 | Obsoletes: XFree86-input-synaptics | |
32 | Obsoletes: xorg-app-synaptics | |
33 | ExcludeArch: sparc sparc64 | |
34 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
35 | ||
36 | %description | |
0aed3d6a | 37 | X.org input driver for Synaptics touchpads. |
7d9afaff AM |
38 | |
39 | %description -l pl.UTF-8 | |
0aed3d6a | 40 | Sterownik wejściowy X.org do touchpadów Synaptics. |
7d9afaff | 41 | |
efc2e163 AG |
42 | %package devel |
43 | Summary: Header file for synaptics driver | |
44 | Summary(pl.UTF-8): Plik nagłówkowy sterownika synaptics | |
45 | Group: Development/Libraries | |
46 | ||
47 | %description devel | |
48 | Header file for synaptics driver. | |
49 | ||
50 | %description devel -l pl.UTF-8 | |
51 | Plik nagłówkowy sterownika synaptics. | |
52 | ||
7d9afaff AM |
53 | %prep |
54 | %setup -q -n xf86-input-synaptics-%{version} | |
f7d2631d JR |
55 | %patch0 -p1 |
56 | %patch1 -p1 | |
57 | %patch2 -p1 | |
7d9afaff AM |
58 | |
59 | %build | |
c67dfaed JB |
60 | %configure \ |
61 | --disable-silent-rules | |
7d9afaff AM |
62 | %{__make} |
63 | ||
64 | %install | |
65 | rm -rf $RPM_BUILD_ROOT | |
7d9afaff AM |
66 | |
67 | %{__make} install \ | |
68 | DESTDIR=$RPM_BUILD_ROOT | |
69 | ||
0aed3d6a JB |
70 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/input/*.la |
71 | ||
7d9afaff AM |
72 | %clean |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | ||
75 | %files | |
76 | %defattr(644,root,root,755) | |
704113a3 | 77 | %doc COPYING ChangeLog README |
0aed3d6a JB |
78 | %attr(755,root,root) %{_bindir}/synclient |
79 | %attr(755,root,root) %{_bindir}/syndaemon | |
80 | %attr(755,root,root) %{_libdir}/xorg/modules/input/synaptics_drv.so | |
704113a3 | 81 | %{_datadir}/X11/xorg.conf.d/50-synaptics.conf |
0aed3d6a JB |
82 | %{_mandir}/man1/synclient.1* |
83 | %{_mandir}/man1/syndaemon.1* | |
84 | %{_mandir}/man4/synaptics.4* | |
efc2e163 AG |
85 | |
86 | %files devel | |
87 | %defattr(644,root,root,755) | |
f7d2631d | 88 | %{_includedir}/xorg/synaptics.h |
c67dfaed | 89 | %{_includedir}/xorg/synaptics-properties.h |
bc4aa8fa | 90 | %{_pkgconfigdir}/xorg-synaptics.pc |