]>
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 | |
98ed4f24 | 4 | Version: 0.28.0 |
72ebcae6 | 5 | Release: 1 |
51d7e93d JB |
6 | License: MIT |
7 | Group: X11/Applications | |
1633b1a6 | 8 | Source0: https://xorg.freedesktop.org/releases/individual/driver/xf86-input-libinput-%{version}.tar.bz2 |
98ed4f24 | 9 | # Source0-md5: 2d7519ac0e39d4c88f3be32e81a637aa |
1633b1a6 | 10 | URL: https://xorg.freedesktop.org/ |
51d7e93d JB |
11 | BuildRequires: autoconf >= 2.60 |
12 | BuildRequires: automake | |
6f85bda2 | 13 | BuildRequires: libinput-devel >= 1.5.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} | |
1633b1a6 | 22 | Requires: libinput >= 1.5.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 | ||
6004e28c JB |
36 | %package devel |
37 | Summary: Header file for libinput driver | |
38 | Summary(pl.UTF-8): Plik nagłówkowy sterownika libinput | |
39 | Group: Development/Libraries | |
40 | ||
41 | %description devel | |
42 | Header file for libinput driver. | |
43 | ||
44 | %description devel -l pl.UTF-8 | |
45 | Plik nagłówkowy sterownika libinput. | |
46 | ||
51d7e93d JB |
47 | %prep |
48 | %setup -q -n xf86-input-libinput-%{version} | |
49 | ||
50 | %build | |
51 | %{__libtoolize} | |
52 | %{__aclocal} | |
53 | %{__autoconf} | |
54 | %{__autoheader} | |
55 | %{__automake} | |
56 | %configure \ | |
fde39230 | 57 | --with-xorg-conf-dir=/etc/X11/xorg.conf.d \ |
51d7e93d JB |
58 | --disable-static |
59 | ||
60 | %{__make} | |
61 | ||
62 | %install | |
63 | rm -rf $RPM_BUILD_ROOT | |
8ad3d608 AM |
64 | |
65 | install -d $RPM_BUILD_ROOT/etc/X11/xorg.conf.d/ | |
66 | ||
51d7e93d JB |
67 | %{__make} install \ |
68 | DESTDIR=$RPM_BUILD_ROOT | |
69 | ||
70 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la | |
71 | ||
72 | %clean | |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | ||
75 | %files | |
76 | %defattr(644,root,root,755) | |
8ad3d608 | 77 | %doc COPYING ChangeLog README.md |
6f85bda2 | 78 | /etc/X11/xorg.conf.d/40-libinput.conf |
51d7e93d JB |
79 | %attr(755,root,root) %{_libdir}/xorg/modules/input/libinput_drv.so |
80 | %{_mandir}/man4/libinput.4* | |
6004e28c JB |
81 | |
82 | %files devel | |
83 | %defattr(644,root,root,755) | |
84 | %{_includedir}/xorg/libinput-properties.h | |
85 | %{_pkgconfigdir}/xorg-libinput.pc |