]>
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 |
998e13c6 | 4 | Version: 1.2.1 |
968ee2a2 | 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 | |
998e13c6 | 9 | # Source0-md5: 29a6f9da5123149e4abc8ff83880ed5c |
7d9afaff AM |
10 | URL: http://xorg.freedesktop.org/ |
11 | BuildRequires: perl-base | |
12 | BuildRequires: pkgconfig | |
13 | BuildRequires: rpmbuild(macros) >= 1.389 | |
14 | BuildRequires: xorg-lib-libX11-devel | |
15 | BuildRequires: xorg-lib-libXext-devel | |
2c3223a8 | 16 | BuildRequires: xorg-lib-libXi-devel |
a748d702 | 17 | BuildRequires: xorg-lib-libpciaccess-devel |
7d9afaff AM |
18 | BuildRequires: xorg-xserver-server-devel |
19 | %requires_xorg_xserver_xinput | |
20 | Obsoletes: X11-input-synaptics | |
21 | Obsoletes: X11-synaptics | |
22 | Obsoletes: XFree86-input-synaptics | |
23 | Obsoletes: xorg-app-synaptics | |
24 | ExcludeArch: sparc sparc64 | |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
26 | ||
27 | %description | |
0aed3d6a | 28 | X.org input driver for Synaptics touchpads. |
7d9afaff AM |
29 | |
30 | %description -l pl.UTF-8 | |
0aed3d6a | 31 | Sterownik wejściowy X.org do touchpadów Synaptics. |
7d9afaff | 32 | |
efc2e163 AG |
33 | %package devel |
34 | Summary: Header file for synaptics driver | |
35 | Summary(pl.UTF-8): Plik nagłówkowy sterownika synaptics | |
36 | Group: Development/Libraries | |
37 | ||
38 | %description devel | |
39 | Header file for synaptics driver. | |
40 | ||
41 | %description devel -l pl.UTF-8 | |
42 | Plik nagłówkowy sterownika synaptics. | |
43 | ||
7d9afaff AM |
44 | %prep |
45 | %setup -q -n xf86-input-synaptics-%{version} | |
46 | ||
47 | %build | |
48 | %configure | |
49 | %{__make} | |
50 | ||
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | install -d $RPM_BUILD_ROOT%{_datadir}/hal/fdi/policy/10osvendor | |
54 | ||
55 | %{__make} install \ | |
56 | DESTDIR=$RPM_BUILD_ROOT | |
57 | ||
175c8c53 | 58 | install fdi/11-x11-synaptics.fdi $RPM_BUILD_ROOT%{_datadir}/hal/fdi/policy/10osvendor |
7d9afaff | 59 | |
0aed3d6a JB |
60 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/input/*.la |
61 | ||
7d9afaff AM |
62 | %clean |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
65 | %files | |
66 | %defattr(644,root,root,755) | |
bbfad80f | 67 | %doc COPYING ChangeLog README TODO |
0aed3d6a JB |
68 | %attr(755,root,root) %{_bindir}/synclient |
69 | %attr(755,root,root) %{_bindir}/syndaemon | |
70 | %attr(755,root,root) %{_libdir}/xorg/modules/input/synaptics_drv.so | |
71 | %{_datadir}/hal/fdi/policy/10osvendor/11-x11-synaptics.fdi | |
72 | %{_mandir}/man1/synclient.1* | |
73 | %{_mandir}/man1/syndaemon.1* | |
74 | %{_mandir}/man4/synaptics.4* | |
efc2e163 AG |
75 | |
76 | %files devel | |
77 | %defattr(644,root,root,755) | |
bc4aa8fa JB |
78 | %{_includedir}/xorg/synaptics*.h |
79 | %{_pkgconfigdir}/xorg-synaptics.pc |