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 # Both architectures must be present in the x86_64-generated source RPM. Source0: https://github.com/Containerpak/cpak/releases/download/v%{version}/cpak-linux-amd64 Source1: https://github.com/Containerpak/cpak/releases/download/v%{version}/cpak-storaged-linux-amd64 Source2: https://github.com/Containerpak/cpak/releases/download/v%{version}/cpak-linux-arm64 Source3: https://github.com/Containerpak/cpak/releases/download/v%{version}/cpak-storaged-linux-arm64 Source4: https://github.com/Containerpak/cpak/releases/download/v%{version}/SHA256SUMS Source5: https://raw.githubusercontent.com/Containerpak/cpak/v%{version}/LICENSE Source6: 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 %{SOURCE6} %{SOURCE4} %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} %build %install %ifarch x86_64 install -Dm0755 %{SOURCE0} %{buildroot}%{_bindir}/cpak install -Dm0755 %{SOURCE1} %{buildroot}%{_bindir}/cpak-storaged %else install -Dm0755 %{SOURCE2} %{buildroot}%{_bindir}/cpak install -Dm0755 %{SOURCE3} %{buildroot}%{_bindir}/cpak-storaged %endif install -Dm0644 %{SOURCE5} %{buildroot}%{_licensedir}/cpak/LICENSE %files %license %{_licensedir}/cpak/LICENSE %{_bindir}/cpak %{_bindir}/cpak-storaged %changelog * Fri Oct 23 2026 Sl - 2.14.8-1 - Include both architectures in the source RPM and install the matching binaries. - Verify all four binaries against upstream's release checksums. * Wed Oct 21 2026 Sl - 2.14.8-1 - Package both official CPak runtime binaries with release checksum verification.