]> git.pld-linux.org Git - packages/xorg-driver-input-libinput.git/blob - xorg-driver-input-libinput.spec
52b85b0c41e2135c397ae79e4bec00092203cc97
[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:        0.27.1
5 Release:        1
6 License:        MIT
7 Group:          X11/Applications
8 Source0:        https://xorg.freedesktop.org/releases/individual/driver/xf86-input-libinput-%{version}.tar.bz2
9 # Source0-md5:  bdad198a7a9f2ce2c1f90d5e6760462b
10 URL:            https://xorg.freedesktop.org/
11 BuildRequires:  autoconf >= 2.60
12 BuildRequires:  automake
13 BuildRequires:  libinput-devel >= 1.5.0
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}
22 Requires:       libinput >= 1.5.0
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 %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
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 \
57         --with-xorg-conf-dir=/etc/X11/xorg.conf.d \
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 %{__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)
77 %doc COPYING ChangeLog README.md
78 /etc/X11/xorg.conf.d/40-libinput.conf
79 %attr(755,root,root) %{_libdir}/xorg/modules/input/libinput_drv.so
80 %{_mandir}/man4/libinput.4*
81
82 %files devel
83 %defattr(644,root,root,755)
84 %{_includedir}/xorg/libinput-properties.h
85 %{_pkgconfigdir}/xorg-libinput.pc
This page took 0.028737 seconds and 2 git commands to generate.