8df6e95492
- switch to new fdo host - Only match on specific device types, don't match on joysticks or tablets
72 lines
2.1 KiB
RPMSpec
72 lines
2.1 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.2.0
|
|
Release: 1%{?dist}
|
|
URL: http://ww.x.org
|
|
License: MIT
|
|
|
|
Source0: ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2
|
|
Source1: 90-libinput.conf
|
|
|
|
ExcludeArch: s390 s390x
|
|
|
|
BuildRequires: autoconf automake libtool
|
|
BuildRequires: xorg-x11-server-devel >= 1.14.0
|
|
BuildRequires: libudev-devel libevdev-devel libinput-devel
|
|
BuildRequires: xorg-x11-util-macros
|
|
|
|
Requires: Xorg %(xserver-sdk-abi-requires ansic)
|
|
Requires: Xorg %(xserver-sdk-abi-requires xinput)
|
|
Requires: xkeyboard-config
|
|
|
|
%description
|
|
A generic input driver for the X.Org X11 X server based on libinput,
|
|
supporting all devices.
|
|
|
|
%prep
|
|
%setup -q -n %{tarball}-%{version}
|
|
|
|
%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*
|
|
|
|
%changelog
|
|
* 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)
|
|
|