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
3 Name: xorg-driver-input-synaptics
7 Group: X11/Applications
8 Source0: https://xorg.freedesktop.org/archive/individual/driver/xf86-input-synaptics-%{version}.tar.xz
9 # Source0-md5: 3b95e7baf4428b114e9910f999e96601
10 Patch0: restore-shm1.patch
11 Patch1: restore-shm2.patch
12 Patch2: more-fingers.patch
13 URL: https://xorg.freedesktop.org/
14 BuildRequires: autoconf >= 2.60
15 BuildRequires: automake
16 BuildRequires: libevdev-devel >= 1.2
17 BuildRequires: libtool
18 BuildRequires: perl-base
19 BuildRequires: pkgconfig
20 BuildRequires: rpmbuild(macros) >= 1.389
21 BuildRequires: tar >= 1:1.22
22 BuildRequires: xorg-lib-libXi-devel >= 1.2
23 BuildRequires: xorg-lib-libXtst-devel >= 1.0.99.1
24 BuildRequires: xorg-proto-inputproto-devel >= 2.1.99.3
25 BuildRequires: xorg-proto-randrproto-devel
26 BuildRequires: xorg-proto-recordproto-devel
27 BuildRequires: xorg-proto-xproto-devel
28 BuildRequires: xorg-util-util-macros >= 1.13
29 BuildRequires: xorg-xserver-server-devel >= 1.12
31 Requires: xorg-lib-libXi >= 1.2
32 Requires: xorg-lib-libXtst >= 1.0.99.1
33 Requires: xorg-xserver-server >= 1.12
34 %{?requires_xorg_xserver_xinput}
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
39 ExcludeArch: sparc sparc64
40 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43 X.org input driver for Synaptics touchpads.
45 %description -l pl.UTF-8
46 Sterownik wejściowy X.org do touchpadów Synaptics.
49 Summary: Header file for synaptics driver
50 Summary(pl.UTF-8): Plik nagłówkowy sterownika synaptics
51 Group: Development/Libraries
54 Header file for synaptics driver.
56 %description devel -l pl.UTF-8
57 Plik nagłówkowy sterownika synaptics.
60 %setup -q -n xf86-input-synaptics-%{version}
72 --disable-silent-rules
76 rm -rf $RPM_BUILD_ROOT
79 DESTDIR=$RPM_BUILD_ROOT
81 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/input/*.la
84 rm -rf $RPM_BUILD_ROOT
87 %defattr(644,root,root,755)
88 %doc COPYING ChangeLog README.md
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
92 %{_datadir}/X11/xorg.conf.d/70-synaptics.conf
93 %{_mandir}/man1/synclient.1*
94 %{_mandir}/man1/syndaemon.1*
95 %{_mandir}/man4/synaptics.4*
98 %defattr(644,root,root,755)
99 %{_includedir}/xorg/synaptics.h
100 %{_includedir}/xorg/synaptics-properties.h
101 %{_pkgconfigdir}/xorg-synaptics.pc