SHA256
1
0
forked from pool/libinput

udev helper should not be in devel

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/libinput?expand=0&rev=18
This commit is contained in:
Jan Engelhardt 2015-03-14 20:43:37 +00:00 committed by Git OBS Bridge
parent 7a80f2571c
commit 04057cf648

View File

@ -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