2014-01-29 13:05:34 +01:00
|
|
|
#
|
|
|
|
# spec file for package libinput
|
|
|
|
#
|
2018-02-08 01:03:47 +01:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2014-01-29 13:05:34 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: libinput
|
2015-03-14 21:30:52 +01:00
|
|
|
%define lname libinput10
|
2017-12-14 09:50:30 +01:00
|
|
|
Version: 1.9.4
|
2014-01-29 13:05:34 +01:00
|
|
|
Release: 0
|
2014-02-27 19:36:07 +01:00
|
|
|
Summary: Input device and event processing library
|
2015-06-23 11:19:38 +02:00
|
|
|
License: MIT
|
2014-01-29 13:05:34 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2014-09-12 12:58:55 +02:00
|
|
|
Url: http://www.freedesktop.org/wiki/Software/libinput/
|
2014-02-27 19:36:07 +01:00
|
|
|
|
2014-01-29 13:05:34 +01:00
|
|
|
#Git-Clone: git://anongit.freedesktop.org/wayland/libinput
|
|
|
|
#Git-Web: http://cgit.freedesktop.org/wayland/libinput/
|
2015-03-14 21:30:52 +01:00
|
|
|
#DL-URL: http://freedesktop.org/software/libinput/
|
2016-04-19 10:08:44 +02:00
|
|
|
Source: http://freedesktop.org/software/libinput/%name-%version.tar.xz
|
|
|
|
Source2: http://freedesktop.org/software/libinput/%name-%version.tar.xz.sig
|
2014-08-22 23:16:03 +02:00
|
|
|
Source3: baselibs.conf
|
|
|
|
Source4: %name.keyring
|
2017-07-16 00:57:53 +02:00
|
|
|
Source5: libinput-rpmlintrc
|
2017-11-28 11:03:31 +01:00
|
|
|
Patch1: kill-env.diff
|
2018-02-08 01:03:47 +01:00
|
|
|
Patch2: 0001-evdev-add-a-quirk-to-disable-debouncing-on-the-MS-Na.patch
|
2014-01-29 13:05:34 +01:00
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: fdupes
|
2014-08-22 23:09:09 +02:00
|
|
|
BuildRequires: gcc-c++
|
2017-07-16 00:57:53 +02:00
|
|
|
BuildRequires: graphviz >= 2.26
|
2015-01-25 14:35:30 +01:00
|
|
|
BuildRequires: grep
|
2017-07-16 00:57:53 +02:00
|
|
|
BuildRequires: meson >= 0.40.0
|
2014-01-29 13:05:34 +01:00
|
|
|
BuildRequires: pkgconfig
|
2017-07-16 00:57:53 +02:00
|
|
|
BuildRequires: pkgconfig(cairo)
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
2017-11-15 00:51:26 +01:00
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.20
|
2014-05-02 00:26:03 +02:00
|
|
|
BuildRequires: pkgconfig(libevdev) >= 0.4
|
|
|
|
BuildRequires: pkgconfig(libudev)
|
2017-02-02 10:51:28 +01:00
|
|
|
BuildRequires: pkgconfig(libwacom) >= 0.20
|
2014-05-02 00:26:03 +02:00
|
|
|
BuildRequires: pkgconfig(mtdev) >= 1.1.0
|
2014-01-29 13:05:34 +01:00
|
|
|
|
|
|
|
%description
|
2014-02-27 19:36:07 +01:00
|
|
|
libinput is a library that handles input devices for display servers and
|
|
|
|
other applications that need to directly deal with input devices.
|
2014-01-29 13:05:34 +01:00
|
|
|
|
2015-03-14 21:43:37 +01:00
|
|
|
%package udev
|
2015-11-24 14:01:01 +01:00
|
|
|
Summary: Input device and event processing library integration into udev
|
2015-03-14 21:43:37 +01:00
|
|
|
Group: System/Base
|
|
|
|
|
|
|
|
%description udev
|
2015-03-14 21:46:26 +01:00
|
|
|
The libinput udev helper rule will set the LIBINPUT_DEVICE_GROUP
|
|
|
|
variable for event devices. Device groups are a labelling system to
|
|
|
|
allow callers to identify which libinput devices are part of the same
|
|
|
|
physical device.
|
2015-03-14 21:43:37 +01:00
|
|
|
|
2014-01-29 13:05:34 +01:00
|
|
|
%package -n %lname
|
2014-02-27 19:36:07 +01:00
|
|
|
Summary: Input device and event processing library
|
2014-01-29 13:05:34 +01:00
|
|
|
Group: System/Libraries
|
2015-03-14 21:43:37 +01:00
|
|
|
Recommends: %name-udev
|
2014-01-29 13:05:34 +01:00
|
|
|
|
|
|
|
%description -n %lname
|
2014-02-27 19:36:07 +01:00
|
|
|
libinput is a library that handles input devices for display servers and
|
|
|
|
other applications that need to directly deal with input devices.
|
|
|
|
|
|
|
|
It provides device detection, device handling, input device event
|
|
|
|
processing and abstraction so minimize the amount of custom input
|
|
|
|
code the user of libinput need to provide the common set of
|
|
|
|
functionality that users expect.
|
2014-01-29 13:05:34 +01:00
|
|
|
|
2015-04-22 23:39:00 +02:00
|
|
|
%package tools
|
|
|
|
Summary: Utilities to display libinput configuration
|
|
|
|
Group: System/X11/Utilities
|
2015-04-22 22:59:34 +02:00
|
|
|
|
2015-04-22 23:39:00 +02:00
|
|
|
%description tools
|
|
|
|
This tool lists the locally recognised devices and their respective
|
|
|
|
configuration options and configuration defaults.
|
2015-04-22 22:59:34 +02:00
|
|
|
|
2014-01-29 13:05:34 +01:00
|
|
|
%package devel
|
2015-11-17 11:55:21 +01:00
|
|
|
Summary: Development files for the Input Device Library
|
2014-01-29 13:05:34 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: %lname = %version
|
|
|
|
|
|
|
|
%description devel
|
2014-02-27 19:36:07 +01:00
|
|
|
libinput is a library that handles input devices for display servers and
|
|
|
|
other applications that need to directly deal with input devices.
|
|
|
|
|
2014-01-29 13:05:34 +01:00
|
|
|
This package contains all necessary include files and libraries needed
|
|
|
|
to develop applications that require libinput.
|
|
|
|
|
|
|
|
%prep
|
2017-12-03 22:21:39 +01:00
|
|
|
%autosetup -p1
|
2014-01-29 13:05:34 +01:00
|
|
|
|
|
|
|
%build
|
2017-07-16 00:57:53 +02:00
|
|
|
%meson \
|
2017-09-01 17:58:31 +02:00
|
|
|
--includedir="%_includedir/%name" \
|
2017-07-16 00:58:43 +02:00
|
|
|
-Dudev-dir="%_prefix/lib/udev" \
|
2017-07-16 00:57:53 +02:00
|
|
|
-Dtests=false \
|
|
|
|
%nil
|
|
|
|
%meson_build
|
2014-01-29 13:05:34 +01:00
|
|
|
|
|
|
|
%install
|
2017-07-16 00:57:53 +02:00
|
|
|
%meson_install
|
2014-01-29 13:05:34 +01:00
|
|
|
%fdupes %buildroot/%_prefix
|
|
|
|
|
|
|
|
%post -n %lname -p /sbin/ldconfig
|
|
|
|
%postun -n %lname -p /sbin/ldconfig
|
|
|
|
|
2015-03-14 21:43:37 +01:00
|
|
|
%files udev
|
2017-07-16 01:00:59 +02:00
|
|
|
%_prefix/lib/udev/hwdb.d
|
|
|
|
%_prefix/lib/udev/libinput-device-group
|
|
|
|
%_prefix/lib/udev/libinput-model-quirks
|
|
|
|
%_prefix/lib/udev/rules.d
|
2015-03-14 21:43:37 +01:00
|
|
|
|
2014-01-29 13:05:34 +01:00
|
|
|
%files -n %lname
|
2015-06-23 11:19:38 +02:00
|
|
|
%doc COPYING
|
2015-03-14 21:30:52 +01:00
|
|
|
%_libdir/libinput.so.10*
|
2014-01-29 13:05:34 +01:00
|
|
|
|
2015-04-22 23:39:00 +02:00
|
|
|
%files tools
|
2017-07-16 00:57:53 +02:00
|
|
|
%_bindir/libinput
|
2015-05-06 17:12:49 +02:00
|
|
|
%_bindir/libinput-debug-events
|
2015-04-22 22:59:34 +02:00
|
|
|
%_bindir/libinput-list-devices
|
2017-10-26 00:19:12 +02:00
|
|
|
%dir %_libexecdir/libinput
|
|
|
|
%_libexecdir/libinput/libinput-debug-events
|
|
|
|
%_libexecdir/libinput/libinput-debug-gui
|
|
|
|
%_libexecdir/libinput/libinput-list-devices
|
|
|
|
%_libexecdir/libinput/libinput-measure
|
|
|
|
%_libexecdir/libinput/libinput-measure-touch-size
|
|
|
|
%_libexecdir/libinput/libinput-measure-touchpad-pressure
|
|
|
|
%_libexecdir/libinput/libinput-measure-touchpad-tap
|
|
|
|
%_libexecdir/libinput/libinput-measure-trackpoint-range
|
|
|
|
%_mandir/man1/libinput-measure-touch-size.1%{?ext_man}
|
|
|
|
%_mandir/man1/libinput-debug-events.1%{?ext_man}
|
|
|
|
%_mandir/man1/libinput-debug-gui.1%{?ext_man}
|
|
|
|
%_mandir/man1/libinput-list-devices.1%{?ext_man}
|
|
|
|
%_mandir/man1/libinput-measure-touchpad-pressure.1%{?ext_man}
|
|
|
|
%_mandir/man1/libinput-measure-touchpad-tap.1%{?ext_man}
|
|
|
|
%_mandir/man1/libinput-measure-trackpoint-range.1%{?ext_man}
|
|
|
|
%_mandir/man1/libinput-measure.1%{?ext_man}
|
|
|
|
%_mandir/man1/libinput.1%{?ext_man}
|
2015-04-22 22:59:34 +02:00
|
|
|
|
2014-01-29 13:05:34 +01:00
|
|
|
%files devel
|
2017-09-01 17:58:31 +02:00
|
|
|
%_includedir/%name/
|
2014-01-29 13:05:34 +01:00
|
|
|
%_libdir/pkgconfig/libinput.pc
|
|
|
|
%_libdir/libinput.so
|
|
|
|
|
|
|
|
%changelog
|