%global ros_distro jazzy %global pkg_name pybind11_json_vendor %global upstream_name pybind11-json-vendor %global debug_package %{nil} Name: ros-jazzy-pybind11-json-vendor Version: 0.4.2 Release: 1%{?dist} Summary: A vendor package for pybind11_json for Modern C++ License: Apache License 2.0 URL: https://github.com/open-rmf/pybind11_json_vendor Source0: https://github.com/open-rmf/pybind11_json_vendor/archive/refs/tags/0.4.2.tar.gz#/pybind11_json_vendor-0.4.2.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 BuildRequires: ros2-jazzy-ament_cmake_vendor_package-devel BuildRequires: ros2-jazzy-pybind11_vendor-devel # Runtime dependencies Requires: ros-jazzy-rclcpp %description A vendor package for pybind11_json for Modern C++ %prep %autosetup -n pybind11_json_vendor-0.4.2 %build export PYTHONPATH=/usr/lib64/ros2-jazzy/lib/python3.13/site-packages %cmake -S pybind11_json_vendor -DCMAKE_BUILD_TYPE=RelWithDebInfo -S . -DCMAKE_PREFIX_PATH=/usr/lib64/ros2-jazzy%cmake_build %install %cmake_install %check # Tests disabled %files /usr/opt/pybind11_json_vendor/* /usr/share/pybind11_json_vendor/* /usr/share/ament_index/resource_index/vendor_packages/pybind11_json_vendor /usr/share/ament_index/resource_index/package_run_dependencies/pybind11_json_vendor /usr/share/ament_index/resource_index/packages/pybind11_json_vendor /usr/share/ament_index/resource_index/parent_prefix_path/pybind11_json_vendor %changelog * Thu Aug 14 2025 Sayan Paul - jazzy.0.4.2-1 - Updated from distro/jazzy.repo