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