SHA256
1
0
forked from pool/libinput
Jan Engelhardt 2018-09-11 08:26:42 +00:00 committed by Git OBS Bridge
parent 7d0229c8c7
commit 5d590299db

View File

@ -73,7 +73,6 @@ physical device.
Summary: Input device and event processing library Summary: Input device and event processing library
Group: System/Libraries Group: System/Libraries
Recommends: %name-udev Recommends: %name-udev
Requires: %name-data = %version
%description -n %lname %description -n %lname
libinput is a library that handles input devices for display servers and libinput is a library that handles input devices for display servers and
@ -84,16 +83,6 @@ processing and abstraction so minimize the amount of custom input
code the user of libinput need to provide the common set of code the user of libinput need to provide the common set of
functionality that users expect. functionality that users expect.
%package data
Summary: Hardware quirk database for libinput
Group: System/Libraries
%description data
libinput is a library that handles input devices for display servers and
other applications that need to directly deal with input devices.
This package contains hardware-specific quirk lists.
%package tools %package tools
Summary: Utilities to display libinput configuration Summary: Utilities to display libinput configuration
Group: System/X11/Utilities Group: System/X11/Utilities
@ -120,6 +109,7 @@ to develop applications that require libinput.
%build %build
%meson \ %meson \
--includedir="%_includedir/%name" \ --includedir="%_includedir/%name" \
--datadir="%_datadir/%name-%version" \
-Dudev-dir="%_prefix/lib/udev" \ -Dudev-dir="%_prefix/lib/udev" \
-Dtests=false -Ddocumentation=false -Dtests=false -Ddocumentation=false
%{!?use_wacom:-Dlibwacom=false} \ %{!?use_wacom:-Dlibwacom=false} \
@ -147,15 +137,13 @@ perl -i -pe 's{#!/usr/bin/env python}{#!/usr/bin/python}g' \
%files -n %lname %files -n %lname
%license COPYING %license COPYING
%_libdir/libinput.so.10* %_libdir/libinput.so.10*
%_datadir/libinput-%version/
%files tools %files tools
%_bindir/libinput %_bindir/libinput
%_libexecdir/libinput/ %_libexecdir/libinput/
%_mandir/man1/* %_mandir/man1/*
%files data
%_datadir/libinput/
%files devel %files devel
%_includedir/%name/ %_includedir/%name/
%_libdir/pkgconfig/libinput.pc %_libdir/pkgconfig/libinput.pc