# Conditional build:
%bcond_with gui # event-gui (noinst as of 0.4.0)
%bcond_with static_libs # static library
-#
+
Summary: Input device library
Summary(pl.UTF-8): Biblioteka urządzeń wejściowych
Name: libinput
-Version: 1.1.0
+Version: 1.6.3
Release: 1
License: MIT
Group: Libraries
-Source0: http://www.freedesktop.org/software/libinput/%{name}-%{version}.tar.xz
-# Source0-md5: 3610c80555f4cb13fe61d4c04511e060
-URL: http://www.freedesktop.org/wiki/Software/libinput/
+Source0: https://www.freedesktop.org/software/libinput/%{name}-%{version}.tar.xz
+# Source0-md5: 62f4a283925ac7ebe6cc59884801aa69
+URL: https://www.freedesktop.org/wiki/Software/libinput/
%{?with_gui:BuildRequires: cairo-devel}
BuildRequires: check-devel >= 0.9.10
BuildRequires: doxygen >= 1.6.0
BuildRequires: graphviz >= 2.26.0
%{?with_gui:BuildRequires: gtk+3-devel >= 3.0}
BuildRequires: libevdev-devel >= 0.4
+BuildRequires: libwacom-devel >= 0.20
BuildRequires: mtdev-devel >= 1.1.0
BuildRequires: pkgconfig
BuildRequires: udev-devel
+Requires: libevdev >= 0.4
+Requires: libwacom >= 0.20
+Requires: mtdev >= 1.1.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Summary: API documentation for libinput library
Summary(pl.UTF-8): Dokumentacja API biblioteki libinput
Group: Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
%description apidocs
API documentation for libinput library.