xorg-x11-drv-libinput/xorg-x11-drv-libinput.spec

76 lines
1.9 KiB
RPMSpec
Raw Normal View History

2019-11-06 19:56:51 +08:00
%global moduledir %(pkg-config xorg-server --variable=moduledir )
%global driverdir %{moduledir}/input
Name: xorg-x11-drv-libinput
Version: 0.28.0
2020-01-05 18:45:34 +08:00
Release: 4
2019-11-06 19:56:51 +08:00
Summary: Xorg X11 libinput input driver
License: MIT
URL: https://www.x.org
Source0: https://www.x.org/archive/individual/driver/xf86-input-libinput-%{version}.tar.bz2
Source1: 71-libinput-overrides-wacom.conf
BuildRequires: autoconf automake libtool xorg-x11-server-devel xorg-x11-util-macros
BuildRequires: libudev-devel libevdev-devel libinput-devel
Requires: Xorg %(xserver-sdk-abi-requires ansic) xkeyboard-config libinput >= 0.21.0
Requires: Xorg %(xserver-sdk-abi-requires xinput)
Provides: xorg-x11-drv-synaptics = 1.9.0-3
Obsoletes: xorg-x11-drv-synaptics < 1.9.0-3
%description
A generic input driver for the X.Org X11 X server based on libinput,
supporting all devices.
%package devel
Summary: Xorg X11 libinput input driver development package.
Requires: pkgconfig
%description devel
Xorg X11 libinput input driver development files.
%package_help
%prep
%autosetup -n xf86-input-libinput-%{version} -p1
%build
autoreconf --force -v --install || exit 1
%configure --disable-silent-rules
%make_build
%install
%make_install
%delete_la
cp %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/X11/xorg.conf.d/
%files
%defattr(-,root,root)
%doc COPYING ChangeLog
%{driverdir}/libinput_drv.so
%{_datadir}/X11/xorg.conf.d/*.conf
%files devel
%defattr(-,root,root)
%doc COPYING
%{_libdir}/pkgconfig/xorg-libinput.pc
%{_includedir}/xorg/libinput-properties.h
%files help
%defattr(-,root,root)
%doc README.md
%{_mandir}/man4/libinput.4*
%changelog
2020-01-05 18:45:34 +08:00
* Thu Jan 3 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.28.0-4
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:optimization the spec
2019-11-06 19:56:51 +08:00
* Fri Oct 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.28.0-3
- Package init