%global debug_package %{nil} Name: st-node-beta Version: 2026.04.0.0 Release: alpha3 Summary: A useflag-based CLI tool for server/ansible node environments BuildArch: %{_target_cpu} License: MPL-2.0 Source0: %{name}-%{version}.tar.gz BuildRequires: gcc BuildRequires: make BuildRequires: libstp2 Requires: libstp2 Requires: bash Requires: pciutils Requires: usbutils Requires: sudo Requires: systemd Requires: fwupd Recommends: fastfetch Recommends: wget2 %description Setup Tool Ansible Node Client - A useflag-based CLI tool for server/ansible environments. This package is installed on managed nodes and provides system management capabilities that can be invoked directly or via Ansible automation. %prep %setup -q %install rm -rf %{buildroot} # Create directory structure mkdir -p %{buildroot}/%{_bindir} mkdir -p %{buildroot}/%{_datadir}/licenses/%{name} # Compile the CLI tool gcc st-node.c -o st-node-beta -lstp2 # Install binary directly to /usr/bin cp st-node-beta %{buildroot}/%{_bindir}/ # Install license cp LICENSE %{buildroot}/%{_datadir}/licenses/%{name} %files %license %{_datadir}/licenses/%{name}/LICENSE %{_bindir}/st-node-beta %changelog %autochangelog