%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: 1.git%{gitshort}%{?dist} Summary: Low-precision matrix multiplication License: Apache-2.0 URL: https://github.com/google/gemmlowp Source: %{name}-%{gitshort}.tar.xz BuildRequires: cmake-filesystem %description DFX-MGR provides infrastructure to abstract configuration and hardware resource management for dynamic deployment of Xilinx based accelerators (AKA FPGA) across different platforms. %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 * Sun May 18 2025 Peter Robinson - 20231104-1.16e8662 - Initial package