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: http://xorg.freedesktop.org/archive/individual/driver/xf86-input-synaptics-%{version}.tar.bz2
9 # Source0-md5: 4e3c8bed1ab4a67db2160c2c3d7e2a34
10 Patch0: restore-shm1.patch
11 Patch1: restore-shm2.patch
12 Patch2: more-fingers.patch
13 URL: http://xorg.freedesktop.org/
14 BuildRequires: libevdev-devel >= 1.2
15 BuildRequires: perl-base
16 BuildRequires: pkgconfig
17 BuildRequires: rpmbuild(macros) >= 1.389
18 BuildRequires: xorg-lib-libXi-devel >= 1.2
19 BuildRequires: xorg-lib-libXtst-devel >= 1.0.99.1
20 BuildRequires: xorg-proto-inputproto-devel >= 2.1.99.3
21 BuildRequires: xorg-proto-randrproto-devel
22 BuildRequires: xorg-proto-recordproto-devel
23 BuildRequires: xorg-util-util-macros >= 1.13
24 BuildRequires: xorg-xserver-server-devel >= 1.12
25 Requires: xorg-lib-libXi >= 1.2
26 Requires: xorg-lib-libXtst >= 1.0.99.1
27 Requires: xorg-xserver-server >= 1.12
28 %{?requires_xorg_xserver_xinput}
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)
37 X.org input driver for Synaptics touchpads.
39 %description -l pl.UTF-8
40 Sterownik wejściowy X.org do touchpadów Synaptics.
43 Summary: Header file for synaptics driver
44 Summary(pl.UTF-8): Plik nagłówkowy sterownika synaptics
45 Group: Development/Libraries
48 Header file for synaptics driver.
50 %description devel -l pl.UTF-8
51 Plik nagłówkowy sterownika synaptics.
54 %setup -q -n xf86-input-synaptics-%{version}
61 --disable-silent-rules
65 rm -rf $RPM_BUILD_ROOT
68 DESTDIR=$RPM_BUILD_ROOT
70 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/input/*.la
73 rm -rf $RPM_BUILD_ROOT
76 %defattr(644,root,root,755)
77 %doc COPYING ChangeLog README
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
81 %{_datadir}/X11/xorg.conf.d/50-synaptics.conf
82 %{_mandir}/man1/synclient.1*
83 %{_mandir}/man1/syndaemon.1*
84 %{_mandir}/man4/synaptics.4*
87 %defattr(644,root,root,755)
88 %{_includedir}/xorg/synaptics.h
89 %{_includedir}/xorg/synaptics-properties.h
90 %{_pkgconfigdir}/xorg-synaptics.pc