%global debug_package %{nil} %global __brp_strip %{nil} %global __brp_strip_static_archive %{nil} %global __brp_strip_comment_note %{nil} Name: skwd-lens-model Version: 1.0.0 Release: 1%{?dist} Summary: Default SigLIP 2 semantic model pack for Skwd Lens License: Apache-2.0 AND CC-BY-4.0 AND MIT URL: https://github.com/liixini/skwd-wall/tree/v2 Source0: skwd-lens-model-1.0.0.tar.xz ExclusiveArch: x86_64 # The bundled runtime lives under %{_datadir}, where RPM's ELF scanner does # not look, so its loader dependencies are declared by hand. Requires: libstdc++%{?_isa} Requires: glibc%{?_isa} %description Quantised SigLIP 2 image and text encoders with the ONNX Runtime build Skwd Lens loads them through. Installed as the system semantic pack; a pack installed per user takes precedence over this one. %prep %autosetup -n skwd-lens-model-%{version} %build %install install -d %{buildroot}%{_datadir}/skwd-lens/models/semantic cp -a semantic/. %{buildroot}%{_datadir}/skwd-lens/models/semantic/ install -d %{buildroot}%{_licensedir}/skwd-lens-model install -m644 licenses/*.txt %{buildroot}%{_licensedir}/skwd-lens-model/ %files %license %{_licensedir}/skwd-lens-model/ %{_datadir}/skwd-lens/models/semantic/ %changelog