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