diff --git a/libinput.spec b/libinput.spec index 979094b..7816e2b 100644 --- a/libinput.spec +++ b/libinput.spec @@ -73,7 +73,6 @@ physical device. Summary: Input device and event processing library Group: System/Libraries Recommends: %name-udev -Requires: %name-data = %version %description -n %lname 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 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 Summary: Utilities to display libinput configuration Group: System/X11/Utilities @@ -120,6 +109,7 @@ to develop applications that require libinput. %build %meson \ --includedir="%_includedir/%name" \ + --datadir="%_datadir/%name-%version" \ -Dudev-dir="%_prefix/lib/udev" \ -Dtests=false -Ddocumentation=false %{!?use_wacom:-Dlibwacom=false} \ @@ -147,15 +137,13 @@ perl -i -pe 's{#!/usr/bin/env python}{#!/usr/bin/python}g' \ %files -n %lname %license COPYING %_libdir/libinput.so.10* +%_datadir/libinput-%version/ %files tools %_bindir/libinput %_libexecdir/libinput/ %_mandir/man1/* -%files data -%_datadir/libinput/ - %files devel %_includedir/%name/ %_libdir/pkgconfig/libinput.pc