Name: uke-legacy-action-catalog Version: 2.17.4 Release: 1%{?dist} Summary: Reference catalog for the Uke command migration License: MIT Source0: legacy-catalog.tar.xz BuildRequires: gcc-c++ BuildRequires: pkgconfig(jsoncpp) BuildRequires: jq %description Reference action descriptors and argument templates from Uke Control 2.17.4. %prep %setup -q -n legacy-catalog %build %set_build_flags ${CXX:-g++} -std=c++20 $CXXFLAGS dump.cpp client.cpp client-catalog.cpp $(pkg-config --cflags --libs jsoncpp) $LDFLAGS -o dump-catalog ./dump-catalog > catalog.json %check jq -e '.catalog.schema == "org.uke.control.actions.v1" and .catalog.application_version == "2.17.4" and .catalog.metadata_only and (.catalog.actions | length > 60)' catalog.json jq -e '(.catalog.actions | map(.id) | sort) == (.templates | keys)' catalog.json %install install -Dm644 catalog.json %{buildroot}%{_datadir}/%{name}/catalog.json %files %{_datadir}/%{name}/catalog.json