%global debug_package %{nil} Name: skatelet Version: 0.5.11 Release: 1%{?dist} Summary: A small binary agent for the skate container platform License: Apache-2.0 URL: https://github.com/skateco/skate Source0: skatelet-x86_64-unknown-linux-gnu.tar.gz # This is a binary package, so no build-time dependencies are needed. # We are only packaging a pre-compiled file. %description skatelet is the small binary agent for the skate container platform. Skate is a low resource, no daemon, kubernetes manifest compatible container platform. It runs as a CLI on your machine and talks to skatelet on each host over ssh to manage pods. %prep # We use %setup -c -T here because the tarball does not contain a # top-level directory (it just has the 'skatelet' binary). # This command creates a clean build directory for us. %setup -q -c -T # Now, extract the binary from Source0 into our clean directory tar -xvf %{SOURCE0} # Copy doc/license files from SOURCES dir into the build dir # so %doc and %license macros can find them. cp %{_sourcedir}/README.md . cp %{_sourcedir}/LICENSE . %build # This is a pre-compiled binary, so no build steps are needed. %install # Create the destination directory install -d -m 0755 %{buildroot}%{_bindir} # Install the binary from the build directory to the buildroot # (which becomes the final RPM) install -m 0755 skatelet %{buildroot}%{_bindir}/skatelet %files # List the file that this package owns %{_bindir}/skatelet %license LICENSE %doc README.md %changelog * Wed Nov 05 2025 builder - Initial packaging of skatelet v0.5.11