initial package for openmamba [release 0.10.0-1mamba;Sun Mar 08 2026]

This commit is contained in:
2026-03-09 00:39:41 +01:00
parent d7e41ed26d
commit acfae219d5
2 changed files with 54 additions and 0 deletions
+2
View File
@@ -1,2 +1,4 @@
# lan-mouse
lan-mouse is a software KVM switch that allows sharing keyboard and mouse between multiple computers over a Local Area Network. It supports Wayland (via wlr-layer-shell protocol and libei/RemoteDesktop portal) and X11.
+52
View File
@@ -0,0 +1,52 @@
Summary: Software KVM switch for keyboard and mouse sharing over LAN
Name: lan-mouse
Version: 0.10.0
Release: 1mamba
License: GPL-3.0-only
Group: Graphical Desktop/Applications/Networking
Vendor: openmamba
Distribution: openmamba
Packager: Claude <claude@openmamba.org>
URL: https://github.com/feschber/lan-mouse
Source: https://github.com/feschber/lan-mouse.git/v0.10.0/lan-mouse-0.10.0.tar.bz2
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: cargo
BuildRequires: desktop-file-utils
BuildRequires: libadwaita-devel
BuildRequires: libei-devel
BuildRequires: libX11-devel
BuildRequires: libXtst-devel
# Rust release profile already strips symbols (strip = true, lto = "fat")
%define debug_package %{nil}
%description
lan-mouse is a software KVM switch that allows sharing keyboard and mouse between multiple computers over a Local Area Network. It supports Wayland (via wlr-layer-shell protocol and libei/RemoteDesktop portal) and X11.
%prep
%autosetup -n %{name}-%{version}
%build
export CARGO_HOME=$PWD/.cargo
cargo build --release --all-features
%install
install -Dm0755 target/release/%{name} %{buildroot}%{_bindir}/%{name}
desktop-file-install -m 644 --dir %{buildroot}%{_datadir}/applications/ \
de.feschber.LanMouse.desktop
install -Dm0644 lan-mouse-gtk/resources/de.feschber.LanMouse.svg \
%{buildroot}%{_datadir}/icons/hicolor/scalable/apps/de.feschber.LanMouse.svg
%files
%defattr(-,root,root)
%{_bindir}/%{name}
%{_datadir}/applications/de.feschber.LanMouse.desktop
%{_datadir}/icons/hicolor/scalable/apps/de.feschber.LanMouse.svg
%doc LICENSE
%changelog
* Sun Mar 08 2026 Claude <claude@openmamba.org> 0.10.0-1mamba
- initial package for openmamba