diff --git a/xorg-x11-drv-libinput.spec b/xorg-x11-drv-libinput.spec index e1c077ff9fd1656cfc64db95be78790ce751c7e0..3839903a2b100019cba089ec804f1f0aedf4ed0e 100644 --- a/xorg-x11-drv-libinput.spec +++ b/xorg-x11-drv-libinput.spec @@ -1,3 +1,4 @@ +%define anolis_release .0.1 %global tarball xf86-input-libinput %global moduledir %(pkg-config xorg-server --variable=moduledir ) %global driverdir %{moduledir}/input @@ -8,7 +9,7 @@ Summary: Xorg X11 libinput input driver Name: xorg-x11-drv-libinput Version: 0.29.0 -Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} +Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{anolis_release}%{?dist} URL: http://www.x.org License: MIT @@ -32,6 +33,7 @@ Requires: Xorg %(xserver-sdk-abi-requires ansic) Requires: Xorg %(xserver-sdk-abi-requires xinput) Requires: xkeyboard-config Requires: libinput >= 0.21.0 +Requires: glibc Provides: xorg-x11-drv-synaptics = 1.9.0-3 Obsoletes: xorg-x11-drv-synaptics < 1.9.0-3 @@ -40,6 +42,14 @@ Obsoletes: xorg-x11-drv-synaptics < 1.9.0-3 A generic input driver for the X.Org X11 X server based on libinput, supporting all devices. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +Doc pages for %{name}. + %prep %setup -q -n %{tarball}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}} %patch01 -p1 @@ -58,8 +68,10 @@ find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f -- cp %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/X11/xorg.conf.d/ -%files +%files doc %doc COPYING + +%files %{driverdir}/libinput_drv.so %{_datadir}/X11/xorg.conf.d/40-libinput.conf %{_datadir}/X11/xorg.conf.d/71-libinput-overrides-wacom.conf @@ -72,12 +84,14 @@ Requires: pkgconfig Xorg X11 libinput input driver development files. %files devel -%doc COPYING %{_libdir}/pkgconfig/xorg-libinput.pc %dir %{_includedir}/xorg/ %{_includedir}/xorg/libinput-properties.h %changelog +* Sat Jul 16 2022 Hangbo Fan - 0.29.0-1.0.1 +- Add Requirse/Provides + * Tue Oct 29 2019 Peter Hutterer 0.29.0-1 - xf86-input-libinput 0.29.0 (#1728820)