%global debug_package %{nil} Name: onagre Version: 1.1.1 Release: 1%{?dist} Summary: General purpose launcher. License: MIT URL: https://github.com/onagre-launcher/onagre Source0: %{url}/archive/refs/tags/%{version}.tar.gz %if 0%{?el8} %else BuildRequires: cargo >= 1.39 BuildRequires: rust >= 1.39 %endif Requires: pop-launcher %description A general purpose application launcher for X and wayland inspired by rofi/wofi and alfred. %prep %autosetup -p1 %build cargo build --release %install install -Dm755 target/release/%{name} -t %{buildroot}%{_bindir} %check %if %{with test} %{cargo_test} %endif %files %license LICEN* %doc README* docs CHANGELOG.md %{_bindir}/%{name} %changelog