# Repackages upstream's release build. It needs glibc 2.39, which EL10 has. %global debug_package %{nil} %global __strip /bin/true %global __os_install_post %{nil} %global _build_id_links none Name: matugen Version: 4.2.0 Release: 2%{?dist} Summary: Material You color generation tool # The binary includes its Rust crates (mostly MIT and Apache-2.0) License: GPL-2.0-or-later URL: https://github.com/InioX/matugen # Corresponding source: https://github.com/InioX/matugen/tree/v%%{version} Source0: matugen-%{version}-x86_64.tar.gz Source1: LICENSE ExclusiveArch: x86_64 %description Matugen generates Material You color schemes from an image or a color and fills them into templates for applications and toolkits. %prep %setup -q -c -T tar -xzf %{SOURCE0} cp %{SOURCE1} . %build # nothing to build %install install -D -m755 -p matugen %{buildroot}%{_bindir}/matugen %files %license LICENSE %{_bindir}/matugen %changelog %autochangelog