%global debug_package %{nil} Name: localsend-cli Version: 1.18.2 Release: 100.1.1%{?dist} Summary: Command-line interface for LocalSend License: Apache-2.0 URL: https://github.com/localsend/localsend Source0: https://github.com/localsend/localsend/releases/download/v%{version}/LocalSend-CLI-%{version}-linux-x86-64.tar.gz Source1: https://github.com/localsend/localsend/releases/download/v%{version}/LocalSend-CLI-%{version}-linux-arm-64.tar.gz Source2: https://raw.githubusercontent.com/localsend/localsend/v%{version}/LICENSE ExclusiveArch: x86_64 aarch64 %description LocalSend CLI is the command-line interface for LocalSend, an open source cross-platform application for securely sharing files with nearby devices over the local network. %prep rm -rf localsend-cli-root mkdir -p localsend-cli-root %ifarch x86_64 tar -xzf %{SOURCE0} -C localsend-cli-root %else tar -xzf %{SOURCE1} -C localsend-cli-root %endif %build # Prebuilt upstream binary; nothing to compile. %install rm -rf %{buildroot} install -Dm0755 \ localsend-cli-root/localsend-cli \ "%{buildroot}%{_bindir}/localsend-cli" install -Dm0644 %{SOURCE2} \ "%{buildroot}%{_licensedir}/%{name}/LICENSE" %files %license %{_licensedir}/%{name}/LICENSE %{_bindir}/localsend-cli %changelog * Tue Aug 11 2026 Sl (Shahaf Levi) - 1.18.0-1 - Initial automatic-release package