2014-07-24 23:36:04 +00:00
|
|
|
%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
|
2014-11-24 08:00:29 +00:00
|
|
|
Version: 0.3.0
|
|
|
|
Release: 1%{?dist}
|
2014-11-19 04:59:38 +00:00
|
|
|
URL: http://ww.x.org
|
2014-07-24 23:36:04 +00:00
|
|
|
License: MIT
|
|
|
|
|
2014-11-19 04:59:38 +00:00
|
|
|
Source0: ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2
|
2014-07-24 23:36:04 +00:00
|
|
|
Source1: 90-libinput.conf
|
|
|
|
|
|
|
|
ExcludeArch: s390 s390x
|
|
|
|
|
|
|
|
BuildRequires: autoconf automake libtool
|
|
|
|
BuildRequires: xorg-x11-server-devel >= 1.14.0
|
2014-11-24 07:30:34 +00:00
|
|
|
BuildRequires: libudev-devel libevdev-devel libinput-devel >= 0.6.0-3
|
2014-07-24 23:36:04 +00:00
|
|
|
BuildRequires: xorg-x11-util-macros
|
|
|
|
|
|
|
|
Requires: Xorg %(xserver-sdk-abi-requires ansic)
|
|
|
|
Requires: Xorg %(xserver-sdk-abi-requires xinput)
|
|
|
|
Requires: xkeyboard-config
|
2014-11-24 07:30:34 +00:00
|
|
|
Requires: libinput >= 0.6.0-3
|
2014-07-24 23:36:04 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
A generic input driver for the X.Org X11 X server based on libinput,
|
|
|
|
supporting all devices.
|
|
|
|
|
|
|
|
%prep
|
2014-11-19 04:59:38 +00:00
|
|
|
%setup -q -n %{tarball}-%{version}
|
2014-07-24 23:36:04 +00:00
|
|
|
|
|
|
|
%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
|
2014-11-19 04:59:38 +00:00
|
|
|
%{_mandir}/man4/libinput.4*
|
2014-07-24 23:36:04 +00:00
|
|
|
|
|
|
|
%changelog
|
2014-11-24 08:00:29 +00:00
|
|
|
* Mon Nov 24 2014 Peter Hutterer <peter.hutterer@redhat.com> 0.3.0-1
|
|
|
|
- xorg-x11-drv-libinput 0.3.0
|
|
|
|
|
2014-11-24 07:30:34 +00:00
|
|
|
* 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
|
|
|
|
|
2014-11-19 04:59:38 +00:00
|
|
|
* 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
|
|
|
|
|
2014-09-12 06:56:47 +00:00
|
|
|
* Fri Sep 12 2014 Peter Hutterer <peter.hutterer@redhat.com> - 0.1.2-3
|
|
|
|
- Rebuild for libinput soname bump
|
|
|
|
|
2014-08-18 10:35:04 +00:00
|
|
|
* 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
|
|
|
|
|
2014-07-24 23:36:04 +00:00
|
|
|
* 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)
|
|
|
|
|