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