From 04057cf6486d38fc89b9d9ee4c56e9ba0bc69d031de9a5cbf97b577c1a5d55f8 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 14 Mar 2015 20:43:37 +0000 Subject: [PATCH] udev helper should not be in devel OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/libinput?expand=0&rev=18 --- libinput.spec | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/libinput.spec b/libinput.spec index ae22f33..b9c687f 100644 --- a/libinput.spec +++ b/libinput.spec @@ -52,9 +52,19 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build libinput is a library that handles input devices for display servers and other applications that need to directly deal with input devices. +%package udev +Summary: libinput integration into udev +Group: System/Base + +# These programs may be absorbed into udev main at a future time +%description udev +Sets libinput properties on udev objects such that LIBINPUT_* +variables are available inside udev rules. + %package -n %lname Summary: Input device and event processing library Group: System/Libraries +Recommends: %name-udev %description -n %lname libinput is a library that handles input devices for display servers and @@ -104,6 +114,10 @@ export XDG_RUNTIME_DIR="$PWD/xdg" %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig +%files udev +%defattr(-,root,root) +%_libexecdir/udev/ + %files -n %lname %defattr(-,root,root) %_libdir/libinput.so.10* @@ -113,6 +127,5 @@ export XDG_RUNTIME_DIR="$PWD/xdg" %_includedir/%name/ %_libdir/pkgconfig/libinput.pc %_libdir/libinput.so -%_libexecdir/udev/ %changelog