%global debug_package %{nil} Name: linglong-box Version: 2.3.3 Release: 1 Summary: Linglong sandbox runtime. License: LGPL v3 URL: https://github.com/OpenAtom-Linyaps/linyaps-box Source0: https://github.com/OpenAtom-Linyaps/linyaps-box/archive/refs/heads/master.zip BuildRequires: cmake git clang llvm glib2-devel glibc-static libstdc++-static gtest-devel gmock-devel libseccomp-devel libcap-devel lld systemd-devel Requires: desktop-file-utils systemd Requires: glib2 shared-mime-info erofs-utils Recommends: linglong-selinux erofs-fuse %description Linyaps sandbox with OCI standard.It is used by Linyaps. %prep %autosetup -p1 -n linyaps-box-master %define _debugsource_template %{nil} %build mkdir build && cd build cmake -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ -DCMAKE_POSITION_INDEPENDENT_CODE=ON \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_SHARED_LIBS=OFF \ -DCMAKE_C_COMPILER=clang \ -DCMAKE_CXX_COMPILER=clang++ \ -DCMAKE_C_FLAGS="-O3 -flto" \ -DCMAKE_CXX_FLAGS="-O3 -flto" \ -DCMAKE_EXE_LINKER_FLAGS="-fuse-ld=lld" \ -DCMAKE_SHARED_LINKER_FLAGS="-fuse-ld=lld" \ -DCMAKE_MODULE_LINKER_FLAGS="-fuse-ld=lld" \ -Dlinyaps-box_CPM_LOCAL_PACKAGES_ONLY=ON .. make -j$(nproc) %install cd build %make_install INSTALL_ROOT=%{buildroot} %files %license LICENSE %{_bindir}/ll-box %changelog * Mon Sep 14 2026 LFRon - 2.3.3-1 - Follow the upstream master branch * Tue Dec 16 2025 LFRon - 2.1.2-2 - Enable Clang Polly+O3+Full-LTO optimization * Mon Nov 17 2025 LFRon - 2.1.2-1 - Follow the upstream 2.1.2-1 * Wed Oct 15 2025 LFRon - 2.1.1-1 - Follow the upstream 2.1.1-1 * Thu Sep 4 2025 LFRon - 2.1.0-2 - Follow the upstream 2.1.0-1 * Thu Aug 07 2025 LFRon - 2.1.0-1 - Follow the upstream 2.1.0 - fix: /tmp share with host * Thu Jun 26 2025 LFRon - 2.0.4-0 - Follow the Master-branch upstream 2.0.4-0 * Thu Jun 26 2025 chenchenjun - 2.0.0-1 - Follow the upstream version 2.0.0-1