1 # This specfile should not be used outside the CI
2 # Its main purpose is to sound alarm if files disappear or are added that
5 %global udevdir %(pkg-config --variable=udevdir udev)
7 %global pipelineid @PIPELINEID@
8 %global gitversion @GITVERSION@
12 Release: %{pipelineid}git%{gitversion}%{?dist}
13 Summary: Input device library
16 URL: http://www.freedesktop.org/wiki/Software/libinput/
17 Source0: %{name}-%{version}.tar.xz
19 # No BuildRequires, we rely on the container setup to have
20 # all the requires installed
23 libinput is a library that handles input devices for display servers and other
24 applications that need to directly deal with input devices.
26 It provides device detection, device handling, input device event processing
27 and abstraction so minimize the amount of custom input code the user of
28 libinput need to provide the common set of functionality that users expect.
32 Summary: Development files for %{name}
33 Requires: %{name}%{?_isa} = %{version}-%{release}
36 The %{name}-devel package contains libraries and header files for
37 developing applications that use %{name}.
40 Summary: Utilities and tools for debugging %{name}
41 Requires: %{name}%{?_isa} = %{version}-%{release}
42 Requires: python3-pyudev python3-libevdev
45 The %{name}-utils package contains tools to debug hardware and analyze
49 Summary: libinput integration test suite
50 Requires: %{name}%{?_isa} = %{version}-%{release}
53 The %{name}-test package contains the libinput test suite. It is not
54 intended to be run by users.
57 %autosetup -S git -n %{name}-%{version}
61 -Dinstall-tests=true \
76 %{_libdir}/libinput.so.*
77 %{udevdir}/libinput-device-group
78 %{udevdir}/libinput-fuzz-extract
79 %{udevdir}/libinput-fuzz-to-zero
80 %{udevdir}/rules.d/80-libinput-device-groups.rules
81 %{udevdir}/rules.d/90-libinput-fuzz-override.rules
83 %dir %{_libexecdir}/libinput/
84 %{_libexecdir}/libinput/libinput-debug-events
85 %{_libexecdir}/libinput/libinput-list-devices
86 %{_mandir}/man1/libinput.1*
87 %{_datadir}/libinput/*.quirks
89 %dir %{_datadir}/zsh/site-functions
90 %{_datadir}/zsh/site-functions/*
91 %{_mandir}/man1/libinput-list-devices.1*
92 %{_mandir}/man1/libinput-debug-events.1*
95 %{_includedir}/libinput.h
96 %{_libdir}/libinput.so
97 %{_libdir}/pkgconfig/libinput.pc
100 %{_libexecdir}/libinput/libinput-debug-gui
101 %{_libexecdir}/libinput/libinput-debug-tablet
102 %{_libexecdir}/libinput/libinput-measure
103 %{_libexecdir}/libinput/libinput-measure-fuzz
104 %{_libexecdir}/libinput/libinput-measure-touchpad-tap
105 %{_libexecdir}/libinput/libinput-measure-touchpad-pressure
106 %{_libexecdir}/libinput/libinput-measure-touch-size
107 %{_libexecdir}/libinput/libinput-measure-touchpad-size
108 %{_libexecdir}/libinput/libinput-quirks
109 %{_libexecdir}/libinput/libinput-record
110 %{_libexecdir}/libinput/libinput-replay
111 %{_libexecdir}/libinput/libinput-analyze
112 %{_libexecdir}/libinput/libinput-analyze-per-slot-delta
113 %{_mandir}/man1/libinput-debug-gui.1*
114 %{_mandir}/man1/libinput-debug-tablet.1*
115 %{_mandir}/man1/libinput-measure.1*
116 %{_mandir}/man1/libinput-measure-fuzz.1*
117 %{_mandir}/man1/libinput-measure-touchpad-tap.1*
118 %{_mandir}/man1/libinput-measure-touch-size.1*
119 %{_mandir}/man1/libinput-measure-touchpad-size.1*
120 %{_mandir}/man1/libinput-measure-touchpad-pressure.1*
121 %{_mandir}/man1/libinput-quirks.1*
122 %{_mandir}/man1/libinput-quirks-list.1*
123 %{_mandir}/man1/libinput-quirks-validate.1*
124 %{_mandir}/man1/libinput-record.1*
125 %{_mandir}/man1/libinput-replay.1*
126 %{_mandir}/man1/libinput-analyze.1*
127 %{_mandir}/man1/libinput-analyze-per-slot-delta.1*
130 %{_libexecdir}/libinput/libinput-test-suite
131 %{_mandir}/man1/libinput-test-suite.1*
134 * Wed Jul 15 2020 Peter Hutterer <peter.hutterer@redhat.com>
135 - Add basic spec file for package build testing