]> git.pld-linux.org Git - packages/xorg-driver-input-synaptics.git/blob - xorg-driver-input-synaptics.spec
- updated to 1.9.2
[packages/xorg-driver-input-synaptics.git] / xorg-driver-input-synaptics.spec
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
4 Version:        1.9.2
5 Release:        1
6 License:        MIT
7 Group:          X11/Applications
8 Source0:        https://xorg.freedesktop.org/archive/individual/driver/xf86-input-synaptics-%{version}.tar.xz
9 # Source0-md5:  3b95e7baf4428b114e9910f999e96601
10 Patch0:         restore-shm1.patch
11 Patch1:         restore-shm2.patch
12 Patch2:         more-fingers.patch
13 URL:            https://xorg.freedesktop.org/
14 BuildRequires:  autoconf >= 2.60
15 BuildRequires:  automake
16 BuildRequires:  libevdev-devel >= 1.2
17 BuildRequires:  libtool
18 BuildRequires:  perl-base
19 BuildRequires:  pkgconfig
20 BuildRequires:  rpmbuild(macros) >= 1.389
21 BuildRequires:  tar >= 1:1.22
22 BuildRequires:  xorg-lib-libXi-devel >= 1.2
23 BuildRequires:  xorg-lib-libXtst-devel >= 1.0.99.1
24 BuildRequires:  xorg-proto-inputproto-devel >= 2.1.99.3
25 BuildRequires:  xorg-proto-randrproto-devel
26 BuildRequires:  xorg-proto-recordproto-devel
27 BuildRequires:  xorg-proto-xproto-devel
28 BuildRequires:  xorg-util-util-macros >= 1.13
29 BuildRequires:  xorg-xserver-server-devel >= 1.12
30 BuildRequires:  xz
31 Requires:       xorg-lib-libXi >= 1.2
32 Requires:       xorg-lib-libXtst >= 1.0.99.1
33 Requires:       xorg-xserver-server >= 1.12
34 %{?requires_xorg_xserver_xinput}
35 Obsoletes:      X11-input-synaptics < 0.15
36 Obsoletes:      X11-synaptics < 0.15
37 Obsoletes:      XFree86-input-synaptics < 0.15
38 Obsoletes:      xorg-app-synaptics < 0.15
39 ExcludeArch:    sparc sparc64
40 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41
42 %description
43 X.org input driver for Synaptics touchpads.
44
45 %description -l pl.UTF-8
46 Sterownik wejściowy X.org do touchpadów Synaptics.
47
48 %package devel
49 Summary:        Header file for synaptics driver
50 Summary(pl.UTF-8):      Plik nagłówkowy sterownika synaptics
51 Group:          Development/Libraries
52
53 %description devel
54 Header file for synaptics driver.
55
56 %description devel -l pl.UTF-8
57 Plik nagłówkowy sterownika synaptics.
58
59 %prep
60 %setup -q -n xf86-input-synaptics-%{version}
61 %patch0 -p1
62 %patch1 -p1
63 %patch2 -p1
64
65 %build
66 %{__libtoolize}
67 %{__aclocal}
68 %{__autoconf}
69 %{__autoheader}
70 %{__automake}
71 %configure \
72         --disable-silent-rules
73 %{__make}
74
75 %install
76 rm -rf $RPM_BUILD_ROOT
77
78 %{__make} install \
79         DESTDIR=$RPM_BUILD_ROOT
80
81 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/input/*.la
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %files
87 %defattr(644,root,root,755)
88 %doc COPYING ChangeLog README.md
89 %attr(755,root,root) %{_bindir}/synclient
90 %attr(755,root,root) %{_bindir}/syndaemon
91 %attr(755,root,root) %{_libdir}/xorg/modules/input/synaptics_drv.so
92 %{_datadir}/X11/xorg.conf.d/70-synaptics.conf
93 %{_mandir}/man1/synclient.1*
94 %{_mandir}/man1/syndaemon.1*
95 %{_mandir}/man4/synaptics.4*
96
97 %files devel
98 %defattr(644,root,root,755)
99 %{_includedir}/xorg/synaptics.h
100 %{_includedir}/xorg/synaptics-properties.h
101 %{_pkgconfigdir}/xorg-synaptics.pc
This page took 0.143022 seconds and 4 git commands to generate.