1 Star 0 Fork 13

phanddy/libinput

forked from src-openEuler/libinput 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
libinput.spec 2.66 KB
一键复制 编辑 原始数据 按行查看 历史
吴超超 提交于 2020-07-20 16:36 . change release
#
# spec file for libinput
#
Name: libinput
Version: 1.15.6
Release: 1
Summary: Input device management and event handling library
License: MIT
URL: https://www.freedesktop.org/wiki/Software/libinput/
Source0: https://www.freedesktop.org/software/libinput/libinput-%{version}.tar.xz
BuildRequires: git-core gcc gcc-c++ python3-devel meson pkgconfig(libudev) pkgconfig(mtdev) pkgconfig(libevdev) pkgconfig(libwacom)
%description
libinput is a library to handle input devices in Wayland compositors and to provide
a generic X.Org input driver.It provides device detection, device handling, input
device event processing and abstraction so minimize the amount of custom input code
compositors need to provide the common set of functionality that users expect.
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package provide libraries and header files for
developing applications that use %{name}.
%package utils
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
Requires: python3-evdev python3-pyudev
%description utils
The %{name}-utils package provide tools for debuging.
%package help
Summary: document files for %{name}
Requires: %{name} = %{version}-%{release}
%description help
The %{name}-doc package contains document files.
%global udevdir /usr/lib/udev/
%prep
%autosetup -n %{name}-%{version} -Sgit
pathfix.py -i %{__python3} -p -n $(git grep -l '#!/usr/bin/.*python3')
%build
%meson -Ddebug-gui=false -Ddocumentation=false -Dtests=false -Dudev-dir=%{udevdir}
%meson_build
%install
%meson_install
%check
%preun
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc COPYING
%{_libdir}/libinput.so.*
%{udevdir}/libinput-device-group
%{udevdir}/libinput-fuzz-extract
%{udevdir}/libinput-fuzz-to-zero
%{udevdir}/rules.d/80-libinput-device-groups.rules
%{udevdir}/rules.d/90-libinput-fuzz-override.rules
%{_bindir}/libinput
%dir %{_libexecdir}/libinput/
%{_libexecdir}/libinput/libinput-debug-events
%{_libexecdir}/libinput/libinput-list-devices
%{_datadir}/libinput/*.quirks
/usr/share/zsh/site-functions/_libinput
%files devel
%{_includedir}/libinput.h
%{_libdir}/libinput.so
%{_libdir}/pkgconfig/libinput.pc
%files utils
%{_libexecdir}/libinput/*
%exclude %{_libexecdir}/libinput/libinput-{debug-events,list-devices}
%files help
%{_mandir}/man1/*
%changelog
* Thu Jul 16 2020 dingyue <dingyue5@openeuler.org> - 1.15.6-1
- Package update
* Thu Aug 29 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.14.1-2
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/phanddy/libinput.git
git@gitee.com:phanddy/libinput.git
phanddy
libinput
libinput
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385