Peter Hutterer 48d863f
%global udevdir %(pkg-config --variable=udevdir udev)
Peter Hutterer 48d863f
Peter Hutterer e635b1e
#global gitdate 20141211
Peter Hutterer 2c56761
%global gitversion 58abea394
Peter Hutterer 74f5423
ac7874b
Name:           libinput
Peter Hutterer 6af3f58
Version:        0.21.0
Peter Hutterer 6af3f58
Release:        1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
ac7874b
Summary:        Input device library
ac7874b
ac7874b
License:        MIT
ac7874b
URL:            http://www.freedesktop.org/wiki/Software/libinput/
Peter Hutterer 74f5423
%if 0%{?gitdate}
Peter Hutterer 74f5423
Source0:        %{name}-%{gitdate}.tar.xz
Peter Hutterer 74f5423
Source1:        make-git-snapshot.sh
Peter Hutterer 74f5423
Source2:        commitid
Peter Hutterer 74f5423
%else
ac7874b
Source0:        http://www.freedesktop.org/software/libinput/libinput-%{version}.tar.xz
Peter Hutterer 74f5423
%endif
ac7874b
Peter Hutterer 6af3f58
# Not upstream, keep until kernel 4.2 or 4.1.x with dbf3c37086 
Peter Hutterer 6af3f58
Patch01:        0001-touchpad-serial-synaptics-need-to-fake-new-touches-o.patch
Peter Hutterer f91e723
Peter Hutterer 74f5423
BuildRequires:  git
Peter Hutterer 74f5423
BuildRequires:  autoconf automake libtool pkgconfig
ac7874b
BuildRequires:  libevdev-devel
ac7874b
BuildRequires:  libudev-devel
ac7874b
BuildRequires:  mtdev-devel
Peter Hutterer be67c6d
BuildRequires:  pkgconfig(udev)
ac7874b
ac7874b
%description
ac7874b
libinput is a library that handles input devices for display servers and other
ac7874b
applications that need to directly deal with input devices.
ac7874b
ac7874b
It provides device detection, device handling, input device event processing
ac7874b
and abstraction so minimize the amount of custom input code the user of
ac7874b
libinput need to provide the common set of functionality that users expect.
ac7874b
ac7874b
ac7874b
%package        devel
ac7874b
Summary:        Development files for %{name}
ac7874b
Requires:       %{name}%{?_isa} = %{version}-%{release}
ac7874b
ac7874b
%description    devel
ac7874b
The %{name}-devel package contains libraries and header files for
ac7874b
developing applications that use %{name}.
ac7874b
ac7874b
ac7874b
%prep
Peter Hutterer 74f5423
%setup -q -n %{name}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}}
Peter Hutterer 74f5423
git init
Peter Hutterer 74f5423
if [ -z "$GIT_COMMITTER_NAME" ]; then
Peter Hutterer 74f5423
    git config user.email "x@fedoraproject.org"
Peter Hutterer 74f5423
    git config user.name "Fedora X Ninjas"
Peter Hutterer 74f5423
fi
Peter Hutterer 74f5423
git add .
Peter Hutterer 74f5423
git commit --allow-empty -a -q -m "%{version} baseline."
Peter Hutterer 74f5423
Peter Hutterer 74f5423
# Apply all the patches.
Peter Hutterer 74f5423
git am -p1 %{patches} < /dev/null
ac7874b
ac7874b
%build
Peter Hutterer 74f5423
autoreconf -v --install --force || exit 1
Peter Hutterer 48d863f
%configure --disable-static --disable-silent-rules --with-udev-dir=%{udevdir}
ac7874b
make %{?_smp_mflags}
ac7874b
ac7874b
ac7874b
%install
ac7874b
%make_install
ac7874b
find $RPM_BUILD_ROOT -name '*.la' -delete
ac7874b
ac7874b
Peter Hutterer 089f1ff
%post
Peter Hutterer 089f1ff
/sbin/ldconfig
Peter Hutterer 089f1ff
/usr/bin/udevadm hwdb --update  >/dev/null 2>&1 || :
ac7874b
ac7874b
%postun -p /sbin/ldconfig
ac7874b
ac7874b
ac7874b
%files
ac7874b
%doc COPYING
ac7874b
%{_libdir}/libinput.so.*
Peter Hutterer 48d863f
%{udevdir}/libinput-device-group
Peter Hutterer a40d43d
%{udevdir}/libinput-model-quirks
Peter Hutterer 089f1ff
%{udevdir}/rules.d/80-libinput-device-groups.rules
Peter Hutterer 089f1ff
%{udevdir}/rules.d/90-libinput-model-quirks.rules
Peter Hutterer 089f1ff
%{udevdir}/hwdb.d/90-libinput-model-quirks.hwdb
Peter Hutterer 1bd3c48
%{_bindir}/libinput-list-devices
Peter Hutterer 089f1ff
%{_bindir}/libinput-debug-events
Peter Hutterer 1bd3c48
%{_mandir}/man1/libinput-list-devices.1*
Peter Hutterer 089f1ff
%{_mandir}/man1/libinput-debug-events.1*
ac7874b
ac7874b
%files devel
ac7874b
%{_includedir}/libinput.h
ac7874b
%{_libdir}/libinput.so
ac7874b
%{_libdir}/pkgconfig/libinput.pc
ac7874b
ac7874b
ac7874b
%changelog
Peter Hutterer 6af3f58
* Tue Aug 04 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.21.0-1
Peter Hutterer 6af3f58
- libinput 0.21.0
Peter Hutterer 6af3f58
- fix 3fg touch detection on Synaptics semi-mt touchpads
Peter Hutterer 6af3f58
Peter Hutterer 5d1af9d
* Thu Jul 30 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.20.0-6
Peter Hutterer 5d1af9d
- Fix broken 2fg scrolling on single-touch touchpads (#1246651)
Peter Hutterer 5d1af9d
- Drop distance threshold for 2fg gesture detection (#1246868)
Peter Hutterer 5d1af9d
Peter Hutterer 3abc616
* Wed Jul 29 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.20.0-5
Peter Hutterer 3abc616
- Add a size hint for Apple one-button touchpads (#1246651)
Peter Hutterer 3abc616
Peter Hutterer 014ea42
* Wed Jul 29 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.20.0-4
Peter Hutterer 014ea42
- Disable 2fg scrolling on Synaptics semi-mt (#1235175)
Peter Hutterer 014ea42
Peter Hutterer 78cb319
* Fri Jul 24 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.20.0-3
Peter Hutterer 78cb319
- Disable thumb detection, too many false positives (#1246093)
Peter Hutterer 78cb319
Peter Hutterer d704a72
* Tue Jul 21 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.20.0-2
Peter Hutterer d704a72
- Restore parsing for trackpoing const accel
Peter Hutterer d704a72
Peter Hutterer a40d43d
* Thu Jul 16 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.20.0-1
Peter Hutterer a40d43d
- libinput 0.20
Peter Hutterer a40d43d
Peter Hutterer 8ed156b
* Tue Jul 14 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.19.0-3
Peter Hutterer 8ed156b
- Only edge scroll when the finger is on the actual edge
Peter Hutterer 8ed156b
Peter Hutterer f91e723
* Thu Jul 09 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.19.0-2
Peter Hutterer f91e723
- enable edge scrolling on clickpads (#1225579)
Peter Hutterer f91e723
Peter Hutterer b66bfe2
* Mon Jul 06 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.19.0-1
Peter Hutterer b66bfe2
- libinput 0.19.0
Peter Hutterer b66bfe2
Peter Hutterer 69f9783
* Wed Jul 01 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.18.0-5
Peter Hutterer 69f9783
- Improve trackpoint->touchpad transition responsiveness (#1233844)
Peter Hutterer 69f9783
Peter Hutterer 7eb3526
* Mon Jun 29 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.18.0-4
Peter Hutterer 7eb3526
- Steepen deceleration curve to get better 1:1 movement on slow speeds
Peter Hutterer 7eb3526
  (#1231304)
Peter Hutterer 7eb3526
- Provide custom accel method for <1000dpi mice (#1227039)
Peter Hutterer 7eb3526
Peter Hutterer a50ef2a
* Thu Jun 25 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.18.0-3
Peter Hutterer a50ef2a
- Fix stuck finger after a clickpad click on resolutionless touchpads
Peter Hutterer a50ef2a
Peter Hutterer 40ac433
* Wed Jun 24 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.18.0-2
Peter Hutterer 40ac433
- Fix initial jump during edge scrolling
Peter Hutterer 40ac433
Peter Hutterer 911bbb8
* Mon Jun 22 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.18.0-1
Peter Hutterer 911bbb8
- libinput 0.18.0
Peter Hutterer 911bbb8
Peter Hutterer 5003f6e
* Tue Jun 16 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.17.0-5
Peter Hutterer 5003f6e
- Use physical values for the hystersis where possible (#1230462)
Peter Hutterer 5003f6e
- Disable right-edge palm detection when edge scrolling is active
Peter Hutterer 5003f6e
  (fdo#90980)
Peter Hutterer 5003f6e
Peter Hutterer 9d9abc1
* Tue Jun 16 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.17.0-4
Peter Hutterer 9d9abc1
- Avoid erroneous finger movement after a physical click (#1230441)
Peter Hutterer 9d9abc1
Peter Hutterer be67c6d
* Fri Jun 12 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.17.0-3
Peter Hutterer be67c6d
- Require udev.pc for the build
Peter Hutterer be67c6d
Peter Hutterer 4d3b8a5
* Tue Jun 09 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.17.0-2
Peter Hutterer 4d3b8a5
- Cap the minimum acceleration slowdown at 0.3 (#1227796)
Peter Hutterer 4d3b8a5
Peter Hutterer bdcf525
* Thu Jun 04 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.17.0-1
Peter Hutterer bdcf525
- libinput 0.17
Peter Hutterer bdcf525
Peter Hutterer 9f8c03f
* Tue Jun 02 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.16.0-4
Peter Hutterer 9f8c03f
- Always set the middle button as default button for button-scrolling
Peter Hutterer 9f8c03f
  (#1227182)
Peter Hutterer 9f8c03f
Peter Hutterer 7427601
* Tue Jun 02 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.16.0-3
Peter Hutterer 7427601
- Reduce tap-n-drag timeout (#1225998)
Peter Hutterer 7427601
Peter Hutterer 8a91c2a
* Tue Jun 02 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.16.0-2
Peter Hutterer 8a91c2a
- Handle slow motions better (#1227039)
Peter Hutterer 8a91c2a
Peter Hutterer 1a6d239
* Tue Jun 02 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.16.0-1
Peter Hutterer 1a6d239
- libinput 0.16.0
Peter Hutterer 1a6d239
Peter Hutterer fd5a322
* Fri May 29 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.15.0-4
Peter Hutterer fd5a322
- Add tap-to-end-drag patch (#1225998)
Peter Hutterer fd5a322
 
Peter Hutterer 9418372
* Wed May 27 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.15.0-3
Peter Hutterer 9418372
- Refine disable-while-typing (#1209753)
Peter Hutterer 9418372
Peter Hutterer 3a8be7c
* Mon May 18 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.15.0-2
Peter Hutterer 3a8be7c
- Add disable-while-typing feature (#1209753)
Peter Hutterer 3a8be7c
Peter Hutterer 089f1ff
* Tue May 05 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.15.0-1
Peter Hutterer 089f1ff
- libinput 0.15.0
Peter Hutterer 089f1ff
Peter Hutterer c2dbcdf
* Fri Apr 24 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.14.1-2
Peter Hutterer c2dbcdf
- Fix crash with the MS Surface Type Cover (#1206869)
Peter Hutterer c2dbcdf
Peter Hutterer 1bd3c48
* Wed Apr 22 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.14.1-1
Peter Hutterer 1bd3c48
- libinput 0.14.1
Peter Hutterer 1bd3c48
Peter Hutterer c0c551f
* Thu Apr 16 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.13.0-6
Peter Hutterer c0c551f
- git add the patch...
Peter Hutterer c0c551f
Peter Hutterer f1e2a7f
* Thu Apr 16 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.13.0-5
Peter Hutterer f1e2a7f
- Reduce palm detection threshold to 70mm (#1209753)
Peter Hutterer f1e2a7f
- Don't allow taps in the top part of the palm zone (#1209753)
Peter Hutterer f1e2a7f
Peter Hutterer 65a366d
* Thu Apr 09 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.13.0-4
Peter Hutterer 65a366d
- Fix finger miscounts on single-touch touchpads (#1209151)
Peter Hutterer 65a366d
Peter Hutterer 3164021
* Wed Apr 08 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.13.0-3
Peter Hutterer 3164021
- Fix mouse slowdown (#1208992)
Peter Hutterer 3164021
Peter Hutterer f8ec5f9
* Wed Apr 08 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.13.0-2
Peter Hutterer f8ec5f9
- Fix crasher triggered by fake MT devices without ABS_X/Y (#1207574)
Peter Hutterer f8ec5f9
Peter Hutterer f974be8
* Tue Mar 24 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.13.0-1
Peter Hutterer f974be8
- libinput 0.13.0
Peter Hutterer f974be8
Peter Hutterer 48d863f
* Fri Mar 20 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.12.0-2
Peter Hutterer 48d863f
- Install the udev rules in the udevdir, not libdir (#1203645)
Peter Hutterer 48d863f
Peter Hutterer ff3b4cb
* Tue Mar 10 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.12.0-1
Peter Hutterer ff3b4cb
- libinput 0.12.0
Peter Hutterer ff3b4cb
Peter Hutterer 2b6aa58
* Mon Feb 23 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.11.0-1
Peter Hutterer 2b6aa58
- libinput 0.11.0
Peter Hutterer 2b6aa58
Peter Hutterer 9c9d37a
* Fri Feb 06 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.10.0-1
Peter Hutterer 9c9d37a
- libinput 0.10.0
Peter Hutterer 9c9d37a
Peter Hutterer 6c5096b
* Fri Jan 30 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.9.0-1
Peter Hutterer 6c5096b
- libinput 0.9.0
Peter Hutterer 6c5096b
Peter Hutterer e635b1e
* Mon Jan 19 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.8.0-1
Peter Hutterer e635b1e
- libinput 0.8.0
Peter Hutterer e635b1e
Peter Hutterer 2c56761
* Thu Dec 11 2014 Peter Hutterer <peter.hutterer@redhat.com> 0.7.0-2.20141211git58abea394
Peter Hutterer 2c56761
- git snapshot, fixes a crasher and fd confusion after suspending a device
Peter Hutterer 2c56761
Peter Hutterer 6fb1e1d
* Fri Dec 05 2014 Peter Hutterer <peter.hutterer@redhat.com> 0.7.0-1
Peter Hutterer 6fb1e1d
- libinput 0.7.0
Peter Hutterer 6fb1e1d
Peter Hutterer 74f5423
* Mon Nov 24 2014 Peter Hutterer <peter.hutterer@redhat.com> 0.6.0-3.20141124git92d178f16
Peter Hutterer 74f5423
- Add the hooks to build from a git snapshot
Peter Hutterer 74f5423
- Disable silent rules
Peter Hutterer 74f5423
- Update to today's git master
Peter Hutterer 74f5423
Peter Hutterer daca7fc
* Fri Sep 12 2014 Peter Hutterer <peter.hutterer@redhat.com> 0.6.0-2
Peter Hutterer daca7fc
- libinput 0.6.0
Peter Hutterer daca7fc
2796749
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-2
2796749
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
2796749
Peter Hutterer d790111
* Wed Jul 23 2014 Peter Hutterer <peter.hutterer@redhat.com> 0.5.0-1
Peter Hutterer d790111
- libinput 0.5.0
Peter Hutterer d790111
Peter Hutterer 6988264
* Wed Jul 02 2014 Peter Hutterer <peter.hutterer@redhat.com> 0.4.0-2
Peter Hutterer 6988264
- Add the new touchpad pointer acceleration code
Peter Hutterer 6988264
2711dd9
* Wed Jun 25 2014 Kalev Lember <kalevlember@gmail.com> - 0.4.0-1
2711dd9
- Update to 0.4.0
2711dd9
ab1fd2a
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-2
ab1fd2a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
ab1fd2a
Peter Hutterer c29a2ad
* Fri May 23 2014 Peter Hutterer <peter.hutterer@redhat.com> 0.2.0-1
Peter Hutterer c29a2ad
- libinput 0.2.0
Peter Hutterer c29a2ad
ac7874b
* Fri Feb 28 2014 Kalev Lember <kalevlember@gmail.com> - 0.1.0-1
ac7874b
- Initial Fedora packaging