Name: cpak Version: 2.14.8 Release: 100.1.1%{?dist} Summary: Rootless application runtime and storage companion License: LGPL-2.1-only URL: https://cpak.it ExclusiveArch: x86_64 aarch64 %ifarch x86_64 %global cpak_arch amd64 %else %global cpak_arch arm64 %endif Source0: https://github.com/Containerpak/cpak/releases/download/v%{version}/cpak-linux-%{cpak_arch} Source1: https://github.com/Containerpak/cpak/releases/download/v%{version}/cpak-storaged-linux-%{cpak_arch} Source2: https://github.com/Containerpak/cpak/releases/download/v%{version}/SHA256SUMS Source3: https://raw.githubusercontent.com/Containerpak/cpak/v%{version}/LICENSE Source4: verify-release.sh BuildRequires: coreutils Recommends: slirp4netns %description CPak installs and runs OCI-backed applications in a rootless sandbox. This package provides both upstream runtime binaries, cpak and cpak-storaged. Applications, including Bottles, are installed separately in each user's store. %prep # Verify release binaries against upstream's matching SHA256SUMS manifest. bash %{SOURCE4} %{SOURCE2} %{SOURCE0} %{SOURCE1} %build %install install -Dm0755 %{SOURCE0} %{buildroot}%{_bindir}/cpak install -Dm0755 %{SOURCE1} %{buildroot}%{_bindir}/cpak-storaged install -Dm0644 %{SOURCE3} %{buildroot}%{_licensedir}/cpak/LICENSE %files %license %{_licensedir}/cpak/LICENSE %{_bindir}/cpak %{_bindir}/cpak-storaged %changelog * Wed Oct 21 2026 Sl - 2.14.8-1 - Package both official CPak runtime binaries with release checksum verification.