]> git.pld-linux.org Git - packages/xorg-driver-input-libinput.git/blob - xorg-driver-input-libinput.spec
up to 1.4.0
[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:        1.4.0
5 Release:        1
6 License:        MIT
7 Group:          X11/Applications
8 Source0:        https://xorg.freedesktop.org/releases/individual/driver/xf86-input-libinput-%{version}.tar.xz
9 # Source0-md5:  b52a1fc7456cf6595a9a1004287551a3
10 URL:            https://xorg.freedesktop.org/
11 BuildRequires:  autoconf >= 2.60
12 BuildRequires:  automake
13 BuildRequires:  libinput-devel >= 1.23.0
14 BuildRequires:  libtool >= 2:2
15 BuildRequires:  pkgconfig >= 1:0.19
16 BuildRequires:  rpmbuild(macros) >= 1.389
17 BuildRequires:  tar >= 1:1.22
18 BuildRequires:  xorg-proto-inputproto-devel >= 2.3.99.1
19 BuildRequires:  xorg-proto-xproto-devel
20 BuildRequires:  xorg-util-util-macros >= 1.8
21 BuildRequires:  xorg-xserver-server-devel >= 1.19
22 BuildRequires:  xz
23 %{?requires_xorg_xserver_xinput}
24 Requires:       libinput >= 1.23.0
25 Requires:       xorg-xserver-server >= 1.19
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 This is an X driver based on libinput. It is a thin wrapper around
30 libinput, so while it does provide all features that libinput supports
31 it does little beyond.
32
33 %description -l pl.UTF-8
34 Sterownik wejściowy X oparty na libinput. Jest to bardzo cienkie
35 obudowanie biblioteki libinput, więc udostępnia wszystkie funkcje
36 obsługiwane przez libinput, ale niewiele poza tym.
37
38 %package devel
39 Summary:        Header file for libinput driver
40 Summary(pl.UTF-8):      Plik nagłówkowy sterownika libinput
41 Group:          Development/Libraries
42
43 %description devel
44 Header file for libinput driver.
45
46 %description devel -l pl.UTF-8
47 Plik nagłówkowy sterownika libinput.
48
49 %prep
50 %setup -q -n xf86-input-libinput-%{version}
51
52 %build
53 %{__libtoolize}
54 %{__aclocal}
55 %{__autoconf}
56 %{__autoheader}
57 %{__automake}
58 %configure \
59         --with-xorg-conf-dir=/etc/X11/xorg.conf.d \
60         --disable-static
61
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 install -d $RPM_BUILD_ROOT/etc/X11/xorg.conf.d/
68
69 %{__make} install \
70         DESTDIR=$RPM_BUILD_ROOT
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 %config(noreplace) %verify(not md5 mtime size) /etc/X11/xorg.conf.d/40-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
This page took 0.125077 seconds and 4 git commands to generate.