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