144 lines
4.6 KiB
RPMSpec
144 lines
4.6 KiB
RPMSpec
%global tarball xf86-input-libinput
|
|
%global moduledir %(pkg-config xorg-server --variable=moduledir )
|
|
%global driverdir %{moduledir}/input
|
|
|
|
Summary: Xorg X11 libinput input driver
|
|
Name: xorg-x11-drv-libinput
|
|
Version: 0.10.0
|
|
Release: 3%{?dist}
|
|
URL: http://ww.x.org
|
|
License: MIT
|
|
|
|
Source0: ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2
|
|
Source1: 90-libinput.conf
|
|
|
|
Patch01: 0001-Only-init-abs-axes-if-we-don-t-have-acceleration.patch
|
|
# Bug 1208992 - Mouse cursor doesn't move when moving the physical mouse slowly
|
|
Patch02: 0001-Use-the-new-unaccelerated-valuator-ValuatorMask-feat.patch
|
|
|
|
ExcludeArch: s390 s390x
|
|
|
|
BuildRequires: autoconf automake libtool
|
|
BuildRequires: xorg-x11-server-devel >= 1.14.0
|
|
BuildRequires: libudev-devel libevdev-devel libinput-devel >= 0.6.0-3
|
|
BuildRequires: xorg-x11-util-macros
|
|
|
|
Requires: Xorg %(xserver-sdk-abi-requires ansic)
|
|
Requires: Xorg %(xserver-sdk-abi-requires xinput)
|
|
Requires: xkeyboard-config
|
|
Requires: libinput >= 0.8.0
|
|
|
|
# For the unaccelerated valuator masks, drop in F23
|
|
Requires: xorg-x11-server-Xorg >= 1.17.1-14
|
|
|
|
%description
|
|
A generic input driver for the X.Org X11 X server based on libinput,
|
|
supporting all devices.
|
|
|
|
%prep
|
|
%setup -q -n %{tarball}-%{version}
|
|
%patch01 -p1
|
|
%patch02 -p1
|
|
|
|
%build
|
|
autoreconf --force -v --install || exit 1
|
|
%configure --disable-static --disable-silent-rules
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%make_install
|
|
|
|
# FIXME: Remove all libtool archives (*.la) from modules directory. This
|
|
# should be fixed in upstream Makefile.am or whatever.
|
|
find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f --
|
|
|
|
install -d $RPM_BUILD_ROOT%{_datadir}/X11/xorg.conf.d
|
|
install -p -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/X11/xorg.conf.d/90-libinput.conf
|
|
|
|
%files
|
|
%doc COPYING
|
|
%{driverdir}/libinput_drv.so
|
|
%{_datadir}/X11/xorg.conf.d/90-libinput.conf
|
|
%{_mandir}/man4/libinput.4*
|
|
|
|
%package devel
|
|
Summary: Xorg X11 libinput input driver development package.
|
|
Requires: pkgconfig
|
|
%description devel
|
|
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
|
|
* Tue May 26 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.10.0-3
|
|
- Use the new unnaccelerated valuator masks, fixes nonmoving mouse in SDL
|
|
(#1208992)
|
|
|
|
* Fri May 22 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.10.0-2
|
|
- Init mixed rel/abs devices as rel devices (#1223619)
|
|
|
|
* Thu May 21 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.10.0-1
|
|
- xf86-input-libinput 0.10.0
|
|
|
|
* Thu Apr 23 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.9.0-1
|
|
- xf86-input-libinput 0.9.0
|
|
|
|
* Tue Mar 10 2015 Peter Hutterer <peter.hutterer@redhat.com> - 0.8.0-2
|
|
- Rebuild for libinput soname bump
|
|
|
|
* Fri Mar 06 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.8.0-1
|
|
- xf86-input-libinput 0.8.0
|
|
|
|
* Thu Mar 05 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.7.0-5
|
|
- Fix two-finger scrolling speed (#1198467)
|
|
|
|
* Thu Feb 26 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.7.0-4
|
|
- Fix property setting patch, first version prevented re-enabling a device.
|
|
|
|
* Wed Feb 25 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.7.0-3
|
|
- Fix a crash when setting properties on a disabled device
|
|
|
|
* Wed Feb 25 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.7.0-2
|
|
- Fix stack smash on pointer init (#1195905)
|
|
|
|
* Tue Feb 24 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.7.0-1
|
|
- xorg-x11-drv-libinput 0.7.0
|
|
|
|
* Tue Jan 27 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.6.0-1
|
|
- xorg-x11-drv-libinput 0.6.0
|
|
|
|
* Fri Jan 16 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.5.0-1
|
|
- xorg-x11-drv-libinput 0.5.0
|
|
|
|
* Fri Dec 05 2014 Peter Hutterer <peter.hutterer@redhat.com> 0.4.0-1
|
|
- xorg-x11-drv-libinput 0.4.0
|
|
|
|
* Mon Nov 24 2014 Peter Hutterer <peter.hutterer@redhat.com> 0.3.0-1
|
|
- xorg-x11-drv-libinput 0.3.0
|
|
|
|
* Mon Nov 24 2014 Peter Hutterer <peter.hutterer@redhat.com> 0.2.0-2
|
|
- Add explicit (Build)Requires for libinput 0.6.0-3, we rely on new symbols
|
|
from the git snapshot
|
|
|
|
* Mon Nov 24 2014 Peter Hutterer <peter.hutterer@redhat.com> 0.2.0-1
|
|
- Only match on specific device types, don't match on joysticks or tablets
|
|
- libinput 0.2.0
|
|
- switch to new fdo host
|
|
|
|
* Fri Sep 12 2014 Peter Hutterer <peter.hutterer@redhat.com> - 0.1.2-3
|
|
- Rebuild for libinput soname bump
|
|
|
|
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
* Thu Jul 24 2014 Peter Hutterer <peter.hutterer@redhat.com> 0.1.2-1
|
|
- Update to 0.1.2, dropping the pkgconfig files
|
|
|
|
* Thu Jun 26 2014 Peter Hutterer <peter.hutterer@redhat.com> 0.1.1-1
|
|
- Initial release (#1113392)
|
|
|