]>
Commit | Line | Data |
---|---|---|
51d7e93d JB |
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 | |
7991769c | 4 | Version: 0.4.0 |
51d7e93d JB |
5 | Release: 1 |
6 | License: MIT | |
7 | Group: X11/Applications | |
8 | Source0: http://xorg.freedesktop.org/releases/individual/driver/xf86-input-libinput-%{version}.tar.bz2 | |
7991769c | 9 | # Source0-md5: 74bd2fd994fd42fec23c9fc8282002f4 |
51d7e93d JB |
10 | URL: http://xorg.freedesktop.org/ |
11 | BuildRequires: autoconf >= 2.60 | |
12 | BuildRequires: automake | |
7991769c | 13 | BuildRequires: libinput-devel >= 0.7.0 |
51d7e93d JB |
14 | BuildRequires: libtool >= 2:2 |
15 | BuildRequires: pkgconfig >= 1:0.19 | |
16 | BuildRequires: rpmbuild(macros) >= 1.389 | |
17 | BuildRequires: xorg-proto-inputproto-devel >= 2.2 | |
18 | BuildRequires: xorg-proto-xproto-devel | |
19 | BuildRequires: xorg-util-util-macros >= 1.8 | |
20 | BuildRequires: xorg-xserver-server-devel >= 1.10 | |
21 | %{?requires_xorg_xserver_xinput} | |
7991769c | 22 | Requires: libinput >= 0.7.0 |
51d7e93d JB |
23 | Requires: xorg-xserver-server >= 1.10 |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | %description | |
27 | This is an X driver based on libinput. It is a thin wrapper around | |
28 | libinput, so while it does provide all features that libinput supports | |
29 | it does little beyond. | |
30 | ||
31 | %description -l pl.UTF-8 | |
32 | Sterownik wejściowy X oparty na libinput. Jest to bardzo cienkie | |
33 | obudowanie biblioteki libinput, więc udostępnia wszystkie funkcje | |
34 | obsługiwane przez libinput, ale niewiele poza tym. | |
35 | ||
36 | %prep | |
37 | %setup -q -n xf86-input-libinput-%{version} | |
38 | ||
39 | %build | |
40 | %{__libtoolize} | |
41 | %{__aclocal} | |
42 | %{__autoconf} | |
43 | %{__autoheader} | |
44 | %{__automake} | |
45 | %configure \ | |
46 | --disable-static | |
47 | ||
48 | %{__make} | |
49 | ||
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | %{__make} install \ | |
53 | DESTDIR=$RPM_BUILD_ROOT | |
54 | ||
55 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la | |
56 | ||
57 | %clean | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %files | |
61 | %defattr(644,root,root,755) | |
62 | %doc COPYING ChangeLog README.md conf/99-libinput.conf | |
51d7e93d JB |
63 | %attr(755,root,root) %{_libdir}/xorg/modules/input/libinput_drv.so |
64 | %{_mandir}/man4/libinput.4* |