%global debug_package %{nil} # git archive --format=tar --prefix=%{name}-%{gitshort}/ %{gitshort} | xz > ~/%{name}-%{gitshort}.tar.xz %define gitshort 9940fbf Name: ruy Version: 20250718 Release: 1.git%{gitshort}%{?dist} Summary: The ruy matrix multiplication library License: Apache-2.0 URL: https://github.com/google/ruy Source: %{name}-%{gitshort}.tar.xz BuildRequires: cmake BuildRequires: gcc-g++ BuildRequires: cpuinfo-devel BuildRequires: gtest-devel %description ruy is a matrix multiplication library. Its focus is to cover the matrix multiplication needs of neural network inference engines. Its initial user has been TensorFlow Lite, where it is used by default on the ARM CPU architecture. ruy supports both floating-point and 8bit-integer-quantized matrices. %package devel Summary: Development files for ruy matrix multiplication library %description devel This package contains the header and static library files for ruy matrix multiplication library. %prep %autosetup -p1 -n %{name}-%{gitshort} %build %cmake -DRUY_FIND_CPUINFO=1 -DWITH_STATIC_LIB=OFF %cmake_build %install %cmake_install %files %files devel %license LICENSE %doc README.md %{_libdir}/libruy* %{_libdir}/cmake/ruy/ %{_includedir}/%{name} %changelog * Thu Nov 20 2025 Peter Robinson - 20231104-1.git9940fbf - Initial package