]> git.pld-linux.org Git - packages/xorg-driver-input-libinput.git/blob - xorg-driver-input-libinput.spec
- rel 2; add config and fixes from FC
[packages/xorg-driver-input-libinput.git] / xorg-driver-input-libinput.spec
1 Summary:        A libinput-based X.org input driver
2 Summary(pl.UTF-8):      Sterownik wejściowy X.org oparty na libinput
3 Name:           xorg-driver-input-libinput
4 Version:        0.10.0
5 Release:        2
6 License:        MIT
7 Group:          X11/Applications
8 Source0:        http://xorg.freedesktop.org/releases/individual/driver/xf86-input-libinput-%{version}.tar.bz2
9 # Source0-md5:  e0d6fc2aceba154e57501d36e361d3f7
10 Source1:        90-libinput.conf
11 # Source1-md5: xyz
12 Patch0:         0001-Only-init-abs-axes-if-we-don-t-have-acceleration.patch
13 # fedora Bug 1208992 - Mouse cursor doesn't move when moving the physical mouse slowly
14 Patch1:         0001-Use-the-new-unaccelerated-valuator-ValuatorMask-feat.patch
15 Patch2:         0001-Fix-missing-scroll-methods-default-scroll-button-pro.patch
16 URL:            http://xorg.freedesktop.org/
17 BuildRequires:  autoconf >= 2.60
18 BuildRequires:  automake
19 BuildRequires:  libinput-devel >= 0.11.0
20 BuildRequires:  libtool >= 2:2
21 BuildRequires:  pkgconfig >= 1:0.19
22 BuildRequires:  rpmbuild(macros) >= 1.389
23 BuildRequires:  xorg-proto-inputproto-devel >= 2.2
24 BuildRequires:  xorg-proto-xproto-devel
25 BuildRequires:  xorg-util-util-macros >= 1.8
26 BuildRequires:  xorg-xserver-server-devel >= 1.10
27 %{?requires_xorg_xserver_xinput}
28 Requires:       libinput >= 0.11.0
29 Requires:       xorg-xserver-server >= 1.10
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 This is an X driver based on libinput. It is a thin wrapper around
34 libinput, so while it does provide all features that libinput supports
35 it does little beyond.
36
37 %description -l pl.UTF-8
38 Sterownik wejściowy X oparty na libinput. Jest to bardzo cienkie
39 obudowanie biblioteki libinput, więc udostępnia wszystkie funkcje
40 obsługiwane przez libinput, ale niewiele poza tym.
41
42 %package devel
43 Summary:        Header file for libinput driver
44 Summary(pl.UTF-8):      Plik nagłówkowy sterownika libinput
45 Group:          Development/Libraries
46
47 %description devel
48 Header file for libinput driver.
49
50 %description devel -l pl.UTF-8
51 Plik nagłówkowy sterownika libinput.
52
53 %prep
54 %setup -q -n xf86-input-libinput-%{version}
55 %patch0 -p1
56 %patch1 -p1
57 %patch2 -p1
58
59 %build
60 %{__libtoolize}
61 %{__aclocal}
62 %{__autoconf}
63 %{__autoheader}
64 %{__automake}
65 %configure \
66         --disable-static
67
68 %{__make}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72
73 install -d $RPM_BUILD_ROOT/etc/X11/xorg.conf.d/
74
75 %{__make} install \
76         DESTDIR=$RPM_BUILD_ROOT
77
78 cp -p %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/xorg.conf.d/90-libinput.conf
79
80 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %files
86 %defattr(644,root,root,755)
87 %doc COPYING ChangeLog README.md
88 /etc/X11/xorg.conf.d/90-libinput.conf
89 %attr(755,root,root) %{_libdir}/xorg/modules/input/libinput_drv.so
90 %{_mandir}/man4/libinput.4*
91
92 %files devel
93 %defattr(644,root,root,755)
94 %{_includedir}/xorg/libinput-properties.h
95 %{_pkgconfigdir}/xorg-libinput.pc
This page took 0.053655 seconds and 4 git commands to generate.