]> git.pld-linux.org Git - packages/libinput.git/blobdiff - libinput.spec
fix apidocs; rel 2
[packages/libinput.git] / libinput.spec
index e53c0d0ade49107358d06d38e32d4c7eccb5dd8e..7de4690b30d1dc8662ee4fc91580d78958f39f0b 100644 (file)
 Summary:       Input device library
 Summary(pl.UTF-8):     Biblioteka urządzeń wejściowych
 Name:          libinput
-Version:       1.16.4
-Release:       1
+Version:       1.17.0
+Release:       2
 License:       MIT
 Group:         Libraries
 Source0:       https://www.freedesktop.org/software/libinput/%{name}-%{version}.tar.xz
-# Source0-md5: 1fdc670e62a08bcebceabd23af3d639a
+# Source0-md5: 9d25bc0618a9abfaee1807358ed468b3
 URL:           https://www.freedesktop.org/wiki/Software/libinput/
 BuildRequires: check-devel >= 0.9.10
 BuildRequires: libevdev-devel >= 1.3
@@ -28,9 +28,11 @@ BuildRequires:       meson >= 0.45.0
 BuildRequires: mtdev-devel >= 1.1.0
 BuildRequires: ninja >= 1.5
 BuildRequires: pkgconfig
-BuildRequires: rpmbuild(macros) >= 1.736
+BuildRequires: rpmbuild(macros) >= 1.752
+BuildRequires: tar >= 1:1.22
 BuildRequires: udev-devel
 BuildRequires: valgrind
+BuildRequires: xz
 %if %{with gui}
 BuildRequires: cairo-devel
 BuildRequires: glib2-devel >= 2.0
@@ -99,9 +101,7 @@ wykorzystujących bibliotekę libinput.
 Summary:       API documentation for libinput library
 Summary(pl.UTF-8):     Dokumentacja API biblioteki libinput
 Group:         Documentation
-%if "%{_rpmversion}" >= "4.6"
-BuildArch:     noarch
-%endif
+%{?noarchpackage}
 
 %description apidocs
 API documentation for libinput library.
@@ -126,8 +126,9 @@ Dopełnianie parametrów w zsh dla polecenia libinput.
 %setup -q
 
 %{__sed} -i -e '1s,/usr/bin/env python3,%{__python3},' \
+       tools/libinput-analyze-{per-slot-delta,recording,touch-down-state}.py \
        tools/libinput-measure-{fuzz,touchpad-pressure,touch-size,touchpad-tap}.py \
-       tools/libinput-{replay,analyze-per-slot-delta.py,measure-touchpad-size.py}
+       tools/libinput-{replay,measure-touchpad-size}.py
 
 %build
 %meson build \
@@ -162,6 +163,8 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{_libexecdir}/libinput
 %attr(755,root,root) %{_libexecdir}/libinput/libinput-analyze
 %attr(755,root,root) %{_libexecdir}/libinput/libinput-analyze-per-slot-delta
+%attr(755,root,root) %{_libexecdir}/libinput/libinput-analyze-recording
+%attr(755,root,root) %{_libexecdir}/libinput/libinput-analyze-touch-down-state
 %attr(755,root,root) %{_libexecdir}/libinput/libinput-debug-events
 %attr(755,root,root) %{_libexecdir}/libinput/libinput-debug-tablet
 %attr(755,root,root) %{_libexecdir}/libinput/libinput-list-devices
@@ -184,6 +187,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/libinput.1*
 %{_mandir}/man1/libinput-analyze.1*
 %{_mandir}/man1/libinput-analyze-per-slot-delta.1*
+%{_mandir}/man1/libinput-analyze-recording.1*
+%{_mandir}/man1/libinput-analyze-touch-down-state.1*
 %{_mandir}/man1/libinput-debug-events.1*
 %{_mandir}/man1/libinput-debug-tablet.1*
 %{_mandir}/man1/libinput-list-devices.1*
@@ -215,7 +220,7 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with doc}
 %files apidocs
 %defattr(644,root,root,755)
-%doc build/api/*
+%doc build/doc/html/*
 %endif
 
 %files -n zsh-completion-%{name}
This page took 0.055826 seconds and 4 git commands to generate.