]>
Commit | Line | Data |
---|---|---|
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.13.0 | |
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 | |
9 | # Source0-md5: 6881879dacf4db34db6ca2113dbef949 | |
10 | Source1: 90-libinput.conf | |
11 | URL: http://xorg.freedesktop.org/ | |
12 | BuildRequires: autoconf >= 2.60 | |
13 | BuildRequires: automake | |
14 | BuildRequires: libinput-devel >= 0.21.0 | |
15 | BuildRequires: libtool >= 2:2 | |
16 | BuildRequires: pkgconfig >= 1:0.19 | |
17 | BuildRequires: rpmbuild(macros) >= 1.389 | |
18 | BuildRequires: xorg-proto-inputproto-devel >= 2.2 | |
19 | BuildRequires: xorg-proto-xproto-devel | |
20 | BuildRequires: xorg-util-util-macros >= 1.8 | |
21 | BuildRequires: xorg-xserver-server-devel >= 1.10 | |
22 | %{?requires_xorg_xserver_xinput} | |
23 | Requires: libinput >= 0.21.0 | |
24 | Requires: xorg-xserver-server >= 1.10 | |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
26 | ||
27 | %description | |
28 | This is an X driver based on libinput. It is a thin wrapper around | |
29 | libinput, so while it does provide all features that libinput supports | |
30 | it does little beyond. | |
31 | ||
32 | %description -l pl.UTF-8 | |
33 | Sterownik wejściowy X oparty na libinput. Jest to bardzo cienkie | |
34 | obudowanie biblioteki libinput, więc udostępnia wszystkie funkcje | |
35 | obsługiwane przez libinput, ale niewiele poza tym. | |
36 | ||
37 | %package devel | |
38 | Summary: Header file for libinput driver | |
39 | Summary(pl.UTF-8): Plik nagłówkowy sterownika libinput | |
40 | Group: Development/Libraries | |
41 | ||
42 | %description devel | |
43 | Header file for libinput driver. | |
44 | ||
45 | %description devel -l pl.UTF-8 | |
46 | Plik nagłówkowy sterownika libinput. | |
47 | ||
48 | %prep | |
49 | %setup -q -n xf86-input-libinput-%{version} | |
50 | ||
51 | %build | |
52 | %{__libtoolize} | |
53 | %{__aclocal} | |
54 | %{__autoconf} | |
55 | %{__autoheader} | |
56 | %{__automake} | |
57 | %configure \ | |
58 | --disable-static | |
59 | ||
60 | %{__make} | |
61 | ||
62 | %install | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
65 | install -d $RPM_BUILD_ROOT/etc/X11/xorg.conf.d/ | |
66 | ||
67 | %{__make} install \ | |
68 | DESTDIR=$RPM_BUILD_ROOT | |
69 | ||
70 | cp -p %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/xorg.conf.d/90-libinput.conf | |
71 | ||
72 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la | |
73 | ||
74 | %clean | |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
77 | %files | |
78 | %defattr(644,root,root,755) | |
79 | %doc COPYING ChangeLog README.md | |
80 | /etc/X11/xorg.conf.d/90-libinput.conf | |
81 | %attr(755,root,root) %{_libdir}/xorg/modules/input/libinput_drv.so | |
82 | %{_mandir}/man4/libinput.4* | |
83 | ||
84 | %files devel | |
85 | %defattr(644,root,root,755) | |
86 | %{_includedir}/xorg/libinput-properties.h | |
87 | %{_pkgconfigdir}/xorg-libinput.pc |