Accepting request 1007364 from home:llyyr
The Interception Tools is a small set of utilities for operating on input events of evdev devices OBS-URL: https://build.opensuse.org/request/show/1007364 OBS-URL: https://build.opensuse.org/package/show/utilities/interception-tools?expand=0&rev=1
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 1 05:02:10 UTC 2022 - llyyr <llyyr.public@gmail.com>
|
||||
|
||||
- Init project at 0.6.8
|
||||
@@ -0,0 +1,62 @@
|
||||
#
|
||||
# spec file for package interception-tools
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: interception-tools
|
||||
Version: 0.6.8
|
||||
Release: 0
|
||||
Summary: A minimal composable infrastructure on top of libudev and libevdev
|
||||
License: GPL-3.0-or-later
|
||||
URL: https://gitlab.com/interception/linux/tools
|
||||
Source0: tools-%{version}.tar.gz
|
||||
Source1: udevmon.service
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libevdev-devel
|
||||
BuildRequires: systemd-devel
|
||||
BuildRequires: systemd-rpm-macros
|
||||
BuildRequires: yaml-cpp-devel
|
||||
|
||||
%description
|
||||
The Interception Tools is a small set of utilities for operating on input
|
||||
events of evdev devices.
|
||||
|
||||
%prep
|
||||
%setup -q -n tools-%{version}
|
||||
|
||||
%build
|
||||
%cmake
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
install -Dm644 %{SOURCE1} %{buildroot}%{_unitdir}/udevmon.service
|
||||
|
||||
%preun
|
||||
%systemd_preun udevmon.service
|
||||
|
||||
%postun
|
||||
%systemd_postun_with_restart udevmon.service
|
||||
|
||||
%files
|
||||
%license LICENSE.md
|
||||
%doc README.md
|
||||
%{_bindir}/*
|
||||
%{_unitdir}/udevmon.service
|
||||
|
||||
%changelog
|
||||
@@ -0,0 +1,17 @@
|
||||
<services>
|
||||
<service name="obs_scm" mode="disabled">
|
||||
<param name="url">https://gitlab.com/interception/linux/tools.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="filename">tools</param>
|
||||
<param name="revision">v0.6.8</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="versionrewrite-pattern">v(.*)</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
</service>
|
||||
<service name="tar" mode="buildtime"/>
|
||||
<service name="recompress" mode="buildtime">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">gz</param>
|
||||
</service>
|
||||
<service name="set_version" mode="buildtime"/>
|
||||
</services>
|
||||
@@ -0,0 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://gitlab.com/interception/linux/tools.git</param>
|
||||
<param name="changesrevision">d1ac6116d4c28743f2931f0d94609c52de0149af</param></service></servicedata>
|
||||
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
@@ -0,0 +1 @@
|
||||
.osc
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:145c6b556387f13416f2a93f3b2079a3fe8c4b909a773f25e54a2e43bff3b3e6
|
||||
size 119819
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:20308878532ae95d998571fe201fd35bef3ef915454ceb7805b42fa0b4f0a673
|
||||
size 32229
|
||||
@@ -0,0 +1,4 @@
|
||||
name: tools
|
||||
version: 0.6.8
|
||||
mtime: 1637497347
|
||||
commit: d1ac6116d4c28743f2931f0d94609c52de0149af
|
||||
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Monitor input devices for launching tasks
|
||||
Wants=systemd-udev-settle.service
|
||||
After=systemd-udev-settle.service
|
||||
Documentation=man:udev(7)
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/udevmon -c /etc/interception/udevmon.yaml
|
||||
Nice=-20
|
||||
Restart=on-failure
|
||||
OOMScoreAdjust=-1000
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user