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:
parent
7a80f2571c
commit
04057cf648
@ -52,9 +52,19 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
libinput is a library that handles input devices for display servers and
|
libinput is a library that handles input devices for display servers and
|
||||||
other applications that need to directly deal with input devices.
|
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
|
%package -n %lname
|
||||||
Summary: Input device and event processing library
|
Summary: Input device and event processing library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
Recommends: %name-udev
|
||||||
|
|
||||||
%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
|
||||||
@ -104,6 +114,10 @@ export XDG_RUNTIME_DIR="$PWD/xdg"
|
|||||||
%post -n %lname -p /sbin/ldconfig
|
%post -n %lname -p /sbin/ldconfig
|
||||||
%postun -n %lname -p /sbin/ldconfig
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files udev
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%_libexecdir/udev/
|
||||||
|
|
||||||
%files -n %lname
|
%files -n %lname
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%_libdir/libinput.so.10*
|
%_libdir/libinput.so.10*
|
||||||
@ -113,6 +127,5 @@ export XDG_RUNTIME_DIR="$PWD/xdg"
|
|||||||
%_includedir/%name/
|
%_includedir/%name/
|
||||||
%_libdir/pkgconfig/libinput.pc
|
%_libdir/pkgconfig/libinput.pc
|
||||||
%_libdir/libinput.so
|
%_libdir/libinput.so
|
||||||
%_libexecdir/udev/
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user