Files
desktop/libevdev/libevdev.spec
2025-11-24 22:39:12 +08:00

52 lines
1.4 KiB
RPMSpec

# SPDX-License-Identifier: MulanPSL-2.0
# SPDX-FileCopyrightText: (C) 2025 Institute of Software, Chinese Academy of Sciences (ISCAS)
# SPDX-FileCopyrightText: (C) 2025 openRuyi Project Contributors
Name: libevdev
Version: 1.13.5
Release: 5.1%{?dist}
Summary: A wrapper library for evdev devices
License: MIT
URL: https://www.freedesktop.org/wiki/Software/libevdev/
VCS: https://gitlab.freedesktop.org/libevdev/libevdev
#!RemoteAsset
Source: https://www.freedesktop.org/software/%{name}/%{name}-%{version}.tar.xz
BuildSystem: autotools
BuildRequires: automake
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: python
%description
Library for handling evdev kernel devices. It abstracts the ioctls through type-safe interfaces and provides functions to change the appearance of the device, shipping both the shared libraries and helper utilities.
%prep
%autosetup -p1
%build
%configure \
--disable-static \
--disable-gcov
%make_build
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%files
%license COPYING
%{_libdir}/libevdev.so.*
%{_libdir}/libevdev.so
%{_includedir}/libevdev-1.0/
%{_libdir}/pkgconfig/libevdev.pc
%{_mandir}/man3/libevdev.*
%{_bindir}/mouse-dpi-tool
%{_bindir}/libevdev-tweak-device
%{_bindir}/touchpad-edge-detector
%{_mandir}/man1/libevdev-tweak-device.1%{?ext_man}
%{_mandir}/man1/mouse-dpi-tool.1%{?ext_man}
%{_mandir}/man1/touchpad-edge-detector.1%{?ext_man}
%changelog