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

e6d3a2
%global tarball xf86-input-libinput
e6d3a2
%global moduledir %(pkg-config xorg-server --variable=moduledir )
e6d3a2
%global driverdir %{moduledir}/input
e6d3a2
e6d3a2
#define gitdate 20160929
e6d3a2
%global gitversion 66c997886
e6d3a2
e6d3a2
Summary:    Xorg X11 libinput input driver
e6d3a2
Name:       xorg-x11-drv-libinput
86170f
Version:    0.29.0
86170f
Release:    1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
e6d3a2
URL:        http://www.x.org
e6d3a2
License:    MIT
e6d3a2
e6d3a2
%if 0%{?gitdate}
e6d3a2
Source0:    %{tarball}-%{gitdate}.tar.xz
e6d3a2
%else
e6d3a2
Source0:    ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2
e6d3a2
%endif
e6d3a2
Source1:    71-libinput-overrides-wacom.conf
e6d3a2
e6d3a2
# Fedora-only hack for hidpi screens
e6d3a2
# https://bugzilla.redhat.com/show_bug.cgi?id=1413306
e6d3a2
Patch01:    0001-Add-a-DPIScaleFactor-option-as-temporary-solution-to.patch
e6d3a2
e6d3a2
BuildRequires: autoconf automake libtool
e6d3a2
BuildRequires: xorg-x11-server-devel >= 1.14.0
e6d3a2
BuildRequires: libudev-devel libevdev-devel libinput-devel >= 0.6.0-3
e6d3a2
BuildRequires: xorg-x11-util-macros
e6d3a2
e6d3a2
Requires: Xorg %(xserver-sdk-abi-requires ansic)
e6d3a2
Requires: Xorg %(xserver-sdk-abi-requires xinput)
e6d3a2
Requires: xkeyboard-config
e6d3a2
Requires: libinput >= 0.21.0
e6d3a2
e6d3a2
Provides: xorg-x11-drv-synaptics = 1.9.0-3
e6d3a2
Obsoletes: xorg-x11-drv-synaptics < 1.9.0-3
e6d3a2
e6d3a2
%description
e6d3a2
A generic input driver for the X.Org X11 X server based on libinput,
e6d3a2
supporting all devices.
e6d3a2
e6d3a2
%prep
e6d3a2
%setup -q -n %{tarball}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}}
e6d3a2
%patch01 -p1
e6d3a2
e6d3a2
%build
e6d3a2
autoreconf --force -v --install || exit 1
e6d3a2
%configure --disable-static --disable-silent-rules
e6d3a2
make %{?_smp_mflags}
e6d3a2
e6d3a2
%install
e6d3a2
%make_install
e6d3a2
e6d3a2
# FIXME: Remove all libtool archives (*.la) from modules directory.  This
e6d3a2
# should be fixed in upstream Makefile.am or whatever.
e6d3a2
find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f --
e6d3a2
e6d3a2
cp %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/X11/xorg.conf.d/
e6d3a2
e6d3a2
%files
e6d3a2
%doc COPYING
e6d3a2
%{driverdir}/libinput_drv.so
e6d3a2
%{_datadir}/X11/xorg.conf.d/40-libinput.conf
e6d3a2
%{_datadir}/X11/xorg.conf.d/71-libinput-overrides-wacom.conf
e6d3a2
%{_mandir}/man4/libinput.4*
e6d3a2
e6d3a2
%package devel
e6d3a2
Summary:        Xorg X11 libinput input driver development package.
e6d3a2
Requires:       pkgconfig
e6d3a2
%description devel
e6d3a2
Xorg X11 libinput input driver development files.
e6d3a2
e6d3a2
%files devel
e6d3a2
%doc COPYING
e6d3a2
%{_libdir}/pkgconfig/xorg-libinput.pc
e6d3a2
%dir %{_includedir}/xorg/
e6d3a2
%{_includedir}/xorg/libinput-properties.h
e6d3a2
e6d3a2
%changelog
86170f
* Tue Oct 29 2019 Peter Hutterer <peter.hutterer@redhat.com> 0.29.0-1
86170f
- xf86-input-libinput 0.29.0 (#1728820)
86170f
e6d3a2
* Mon Oct 15 2018 Peter Hutterer <peter.hutterer@redhat.com> 0.28.0-2
e6d3a2
- Fix wrong slot to touch ID mapping (#1639059)
e6d3a2
e6d3a2
* Wed Jul 11 2018 Peter Hutterer <peter.hutterer@redhat.com> 0.28.0-1
e6d3a2
- xf86-input-libinput 0.28.0
e6d3a2
e6d3a2
* Mon May 14 2018 Adam Jackson <ajax@redhat.com> - 0.27.1-2.1
e6d3a2
- Rebuild for xserver 1.20
e6d3a2
e6d3a2
* Thu Apr 12 2018 Peter Hutterer <peter.hutterer@redhat.com> 0.27.1-2
e6d3a2
- Build on s390x (#1565062)
e6d3a2
e6d3a2
* Tue Apr 10 2018 Peter Hutterer <peter.hutterer@redhat.com> 0.27.1-1
e6d3a2
- xorg-x11-drv-libinput 0.27.1
e6d3a2
e6d3a2
* Mon Apr 02 2018 Adam Jackson <ajax@redhat.com> - 0.27.0-3
e6d3a2
- Rebuild for xserver 1.20
e6d3a2
e6d3a2
* Thu Mar 22 2018 Peter Hutterer <peter.hutterer@redhat.com> 0.27.0-2
e6d3a2
- Fix left-handed property missing on all but the first pointer device
e6d3a2
e6d3a2
* Tue Mar 20 2018 Peter Hutterer <peter.hutterer@redhat.com> 0.27.0-1
e6d3a2
- xorg-x11-drv-libinput 0.27.0
e6d3a2
e6d3a2
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.26.0-2
e6d3a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e6d3a2
e6d3a2
* Fri Sep 15 2017 Peter Hutterer <peter.hutterer@redhat.com> 0.26.0-1
e6d3a2
- xorg-x11-drv-libinput 0.26.0
e6d3a2
e6d3a2
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.25.1-4
e6d3a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
e6d3a2
e6d3a2
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.25.1-3
e6d3a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e6d3a2
e6d3a2
* Thu May 18 2017 Peter Hutterer <peter.hutterer@redhat.com> 0.25.1-2
e6d3a2
- Add a new option to provide a workaround for the slow pointer movement on
e6d3a2
  hidpi displays (#1413306) .
e6d3a2
  That's a fedora-only patch for now, no idea what the permanent upstream
e6d3a2
  solution will be here.
e6d3a2
e6d3a2
* Fri May 05 2017 Peter Hutterer <peter.hutterer@redhat.com> 0.25.1-1
e6d3a2
- xorg-x11-drv-libinput 0.25.1
e6d3a2
e6d3a2
* Thu Mar 09 2017 Peter Hutterer <peter.hutterer@redhat.com> 0.25.0-1
e6d3a2
- libinput 0.25.0
e6d3a2
e6d3a2
* Thu Feb 09 2017 Peter Hutterer <peter.hutterer@redhat.com> 0.24.0-1
e6d3a2
- libinput 0.24.0
e6d3a2
e6d3a2
* Wed Dec 21 2016 Peter Hutterer <peter.hutterer@redhat.com> 0.23.0-2
e6d3a2
- Ignore LED updates for disabled devices, avoids a null-pointer dereference
e6d3a2
  when an AccessX timeout is set
e6d3a2
e6d3a2
* Mon Dec 12 2016 Peter Hutterer <peter.hutterer@redhat.com> 0.23.0-1
e6d3a2
- libnput 0.23.0
e6d3a2
e6d3a2
* Fri Nov 25 2016 Peter Hutterer <peter.hutterer@redhat.com> 0.22.0-4
e6d3a2
- Override touchpads assigned the wacom driver with libinput again
e6d3a2
  (#1397477)
e6d3a2
e6d3a2
* Fri Nov 18 2016 Peter Hutterer <peter.hutterer@redhat.com> 0.22.0-3
e6d3a2
- Provide xorg-x11-drv-synaptics. The actual content is now provided by
e6d3a2
  xorg-x11-drv-synaptics-legacy (#1394836). For details, see
e6d3a2
  https://fedoraproject.org/wiki/Changes/RetireSynapticsDriver
e6d3a2
e6d3a2
* Tue Nov 01 2016 Peter Hutterer <peter.hutterer@redhat.com> 0.22.0-2
e6d3a2
- Match against tablets too
e6d3a2
e6d3a2
* Wed Oct 19 2016 Peter Hutterer <peter.hutterer@redhat.com> 0.22.0-1
e6d3a2
- xf86-input-libinput 0.22.0
e6d3a2
e6d3a2
* Tue Oct 18 2016 Peter Hutterer <peter.hutterer@redhat.com> 0.20.0-1
e6d3a2
- xf86-input-libinput 0.20.0
e6d3a2
e6d3a2
* Thu Sep 29 2016 Hans de Goede <hdegoede@redhat.com> 0.19.1-3.20160929
e6d3a2
- Fix crash when the first detected input device gets removed (rhbz#1381840)
e6d3a2
e6d3a2
* Thu Sep 29 2016 Hans de Goede <hdegoede@redhat.com> 0.19.1-2.20160929
e6d3a2
- Update to latest git master for use with xserver-1.19
e6d3a2
- Rebuild against xserver-1.19
e6d3a2
e6d3a2
* Wed Sep 14 2016 Peter Hutterer <peter.hutterer@redhat.com> 0.19.1-1
e6d3a2
- xf86-input-libinput 0.19.1
e6d3a2
e6d3a2
* Tue Jul 19 2016 Peter Hutterer <peter.hutterer@redhat.com> 0.19.0-2
e6d3a2
- Bump to make F24 update path happy
e6d3a2
e6d3a2
* Thu Apr 28 2016 Peter Hutterer <peter.hutterer@redhat.com> 0.19.0-1
e6d3a2
- xf86-input-libinput 0.19.0
e6d3a2
e6d3a2
* Fri Feb 26 2016 Peter Hutterer <peter.hutterer@redhat.com> 0.17.0-1
e6d3a2
- xf86-input-libinput 0.17.0
e6d3a2
e6d3a2
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.0-2
e6d3a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
e6d3a2
e6d3a2
* Wed Dec 23 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.16.0-1
e6d3a2
- xf86-input-libinput 0.16.0
e6d3a2
e6d3a2
* Tue Oct 27 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.15.0-1
e6d3a2
- xf86-input-libinput 0.15.0
e6d3a2
e6d3a2
* Wed Sep 16 2015 Dave Airlie <airlied@redhat.com> - 0.14.0-2
e6d3a2
- 1.18 ABI rebuild
e6d3a2
e6d3a2
* Mon Aug 31 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.14.0-1
e6d3a2
- xf86-input-libinput 0.14.0
e6d3a2
e6d3a2
* Mon Aug 17 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.13.0-2
e6d3a2
- Add drag lock support (#1249309)
e6d3a2
e6d3a2
* Tue Aug 11 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.13.0-1
e6d3a2
- xf86-input-libinput 0.13.0
e6d3a2
e6d3a2
* Wed Jul 29 2015 Dave Airlie <airlied@redhat.com> 0.12.0-2
e6d3a2
- bump for X server ABI
e6d3a2
e6d3a2
* Tue Jul 14 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.12.0-1
e6d3a2
- xf86-input-libinput 0.12.0
e6d3a2
e6d3a2
* Mon Jul 13 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.11.0-3
e6d3a2
- Restore unaccelerated valuator masks (#1208992)
e6d3a2
e6d3a2
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.0-2
e6d3a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e6d3a2
e6d3a2
* Mon Jun 15 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.11.0-1
e6d3a2
- xf86-input-libinput 0.11.0
e6d3a2
- support buttons higher than BTN_BACK (1230945)
e6d3a2
e6d3a2
* Mon Jun 01 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.10.0-5
e6d3a2
- Fix missing scroll button property
e6d3a2
e6d3a2
* Fri May 29 2015 Nils Philippsen <nils@redhat.com> 0.10.0-4
e6d3a2
- fix URL
e6d3a2
e6d3a2
* Tue May 26 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.10.0-3
e6d3a2
- Use the new unnaccelerated valuator masks, fixes nonmoving mouse in SDL
e6d3a2
  (#1208992)
e6d3a2
e6d3a2
* Fri May 22 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.10.0-2
e6d3a2
- Init mixed rel/abs devices as rel devices (#1223619)
e6d3a2
e6d3a2
* Thu May 21 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.10.0-1
e6d3a2
- xf86-input-libinput 0.10.0
e6d3a2
e6d3a2
* Thu Apr 23 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.9.0-1
e6d3a2
- xf86-input-libinput 0.9.0
e6d3a2
e6d3a2
* Tue Mar 10 2015 Peter Hutterer <peter.hutterer@redhat.com> - 0.8.0-2
e6d3a2
- Rebuild for libinput soname bump
e6d3a2
e6d3a2
* Fri Mar 06 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.8.0-1
e6d3a2
- xf86-input-libinput 0.8.0
e6d3a2
e6d3a2
* Thu Mar 05 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.7.0-5
e6d3a2
- Fix two-finger scrolling speed (#1198467)
e6d3a2
e6d3a2
* Thu Feb 26 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.7.0-4
e6d3a2
- Fix property setting patch, first version prevented re-enabling a device.
e6d3a2
e6d3a2
* Wed Feb 25 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.7.0-3
e6d3a2
- Fix a crash when setting properties on a disabled device
e6d3a2
e6d3a2
* Wed Feb 25 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.7.0-2
e6d3a2
- Fix stack smash on pointer init (#1195905)
e6d3a2
e6d3a2
* Tue Feb 24 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.7.0-1
e6d3a2
- xorg-x11-drv-libinput 0.7.0
e6d3a2
e6d3a2
* Tue Jan 27 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.6.0-1
e6d3a2
- xorg-x11-drv-libinput 0.6.0
e6d3a2
e6d3a2
* Fri Jan 16 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.5.0-1
e6d3a2
- xorg-x11-drv-libinput 0.5.0
e6d3a2
e6d3a2
* Fri Dec 05 2014 Peter Hutterer <peter.hutterer@redhat.com> 0.4.0-1
e6d3a2
- xorg-x11-drv-libinput 0.4.0
e6d3a2
e6d3a2
* Mon Nov 24 2014 Peter Hutterer <peter.hutterer@redhat.com> 0.3.0-1
e6d3a2
- xorg-x11-drv-libinput 0.3.0
e6d3a2
e6d3a2
* Mon Nov 24 2014 Peter Hutterer <peter.hutterer@redhat.com> 0.2.0-2
e6d3a2
- Add explicit (Build)Requires for libinput 0.6.0-3, we rely on new symbols
e6d3a2
  from the git snapshot
e6d3a2
e6d3a2
* Mon Nov 24 2014 Peter Hutterer <peter.hutterer@redhat.com> 0.2.0-1
e6d3a2
- Only match on specific device types, don't match on joysticks or tablets
e6d3a2
- libinput 0.2.0
e6d3a2
- switch to new fdo host
e6d3a2
e6d3a2
* Fri Sep 12 2014 Peter Hutterer <peter.hutterer@redhat.com> - 0.1.2-3
e6d3a2
- Rebuild for libinput soname bump
e6d3a2
e6d3a2
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-2
e6d3a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
e6d3a2
e6d3a2
* Thu Jul 24 2014 Peter Hutterer <peter.hutterer@redhat.com> 0.1.2-1
e6d3a2
- Update to 0.1.2, dropping the pkgconfig files
e6d3a2
e6d3a2
* Thu Jun 26 2014 Peter Hutterer <peter.hutterer@redhat.com> 0.1.1-1
e6d3a2
- Initial release (#1113392)
e6d3a2