%undefine _disable_source_fetch %define debug_package %nil Name: hdr10plus-tool Version: 1.7.2 Release: 1%{?dist} Summary: CLI utility to work with HDR10+ in HEVC files License: MIT URL: https://github.com/quietvoid/hdr10plus_tool Source0: https://github.com/quietvoid/hdr10plus_tool/archive/refs/tags/1.7.2.tar.gz BuildRequires: cargo, gcc-c++, fontconfig-devel %description CLI utility to work with HDR10+ in HEVC files. %prep %setup -n hdr10plus_tool-%{version} %build cargo build --profile release-deploy %install rm -rf $RPM_BUILD_ROOT install -D -m 0755 target/release-deploy/hdr10plus_tool $RPM_BUILD_ROOT/usr/bin/hdr10plus_tool %files %license LICENSE %doc README.md /usr/bin/hdr10plus_tool %changelog * Thu Jan 22 2026 System User for dev -