%global debug_package %{nil} # git archive --format=tar --prefix=%{name}-%{gitshort}/ %{gitshort} | xz > ~/%{name}-%{gitshort}.tar.xz %define gitshort 16e8662 Name: gemmlowp Version: 20231104 Release: 2.git%{gitshort}%{?dist} Summary: Low-precision matrix multiplication License: Apache-2.0 URL: https://github.com/google/gemmlowp Source: %{name}-%{gitshort}.tar.xz %description This is not a full linear algebra library, only a GEMM library: it only does general matrix multiplication ("GEMM"). The meaning of "low precision" is detailed in this document: doc/low-precision.md Some of the general design is explained in doc/design.md. %package devel Summary: Development files for Low-precision matrix multiplication %description devel This package contains the header and static library files for Low-precision matrix multiplication. %prep %autosetup -p1 -n %{name}-%{gitshort} %build %install install -D -pm 644 contrib/CMakeLists.txt %{buildroot}/%{_datadir}/cmake/%{name}/CMakeLists.txt for f in `find -type f -name '*.h'`; do install -D -pm 644 $f %{buildroot}/%{_includedir}/%{name}/$f done %files devel %license LICENSE %doc README.md %{_datadir}/cmake/%{name} %{_includedir}/%{name} %changelog * Thu Nov 20 2025 Peter Robinson - 20231104-2.git16e8662 - Package updates * Thu Nov 20 2025 Peter Robinson - 20231104-1.git16e8662 - Initial package