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