%global ros_distro jazzy %global pkg_name nlohmann_json_schema_validator_vendor %global upstream_name nlohmann-json-schema-validator-vendor Name: ros-jazzy-nlohmann-json-schema-validator-vendor Version: 0.4.1 Release: 1%{?dist} Summary: A vendor package for JSON schema validator for JSON for Modern C++ License: Apache License 2.0 URL: https://github.com/open-rmf/nlohmann_json_schema_validator_vendor Source0: https://github.com/open-rmf/nlohmann_json_schema_validator_vendor/archive/refs/tags/0.4.1.tar.gz#/nlohmann_json_schema_validator_vendor-0.4.1.tar.gz # Build dependencies BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: pkgconfig BuildRequires: ros-jazzy-ament-cmake BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: ros2-jazzy-ament_cmake-devel BuildRequires: git BuildRequires: json-devel # Runtime dependencies Requires: ros-jazzy-rclcpp %description A vendor package for JSON schema validator for JSON for Modern C++ %prep %autosetup -n nlohmann_json_schema_validator_vendor-0.4.1 %build export PYTHONPATH=/usr/lib64/ros2-jazzy/lib/python3.13/site-packages %cmake -S nlohmann_json_schema_validator_vendor -DCMAKE_BUILD_TYPE=RelWithDebInfo -S . -DCMAKE_PREFIX_PATH=/usr/lib64/ros2-jazzy%cmake_build %install %cmake_install %check # Tests disabled %files /usr/bin/* /usr/include/nlohmann/* /usr/lib/libnlohmann_json_schema_validator.so* /usr/lib/cmake/nlohmann_json_schema_validator/* /usr/share/nlohmann_json_schema_validator_vendor/* /usr/share/ament_index/resource_index/packages/nlohmann_json_schema_validator_vendor /usr/share/ament_index/resource_index/parent_prefix_path/nlohmann_json_schema_validator_vendor /usr/share/ament_index/resource_index/package_run_dependencies/nlohmann_json_schema_validator_vendor %changelog * Thu Aug 14 2025 Sayan Paul - jazzy.0.4.1-1 - Updated from distro/jazzy.repo