%global debug_package %{nil} Name: websocketpp Version: 0.8.2 Release: 1%{?dist} Summary: Header-only C++ library implementing the WebSocket protocol License: BSD-3-Clause URL: https://github.com/zaphoyd/websocketpp Source0: %{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: make %description WebSocket++ is a header-only C++ library that implements RFC6455 (The WebSocket Protocol). It allows integrating WebSocket client and server functionality into C++ programs, with pluggable transports and full protocol support (text and binary messages, TLS, blocking and non-blocking modes). Consumers supply the transport: Boost.Asio via boost-devel, and for TLS the OpenSSL headers. Nothing is linked by this package itself. %package devel Summary: Development files for websocketpp Requires: %{name} = %{version}-%{release} Requires: cmake-filesystem %description devel Headers and the CMake package configuration for WebSocket++. To compile code that includes you also need a transport, i.e. Boost.Asio (boost-devel) and, when TLS is used, openssl-devel. %prep %autosetup -n %{name}-%{version} %build # Nothing is compiled: WebSocket++ is header-only. The CMake project only # installs headers plus its package config, so examples/tests stay off. mkdir -p .obj-%{_target_platform} && cd .obj-%{_target_platform} %cmake3 \ -DCMAKE_INSTALL_INCLUDEDIR=%{_includedir} \ -DINSTALL_CMAKE_DIR=%{_datadir}/cmake/websocketpp \ -DBUILD_EXAMPLES=OFF \ -DBUILD_TESTS=OFF \ .. %make_build %install %make_install -C .obj-%{_target_platform} %files %license COPYING %doc readme.md changelog.md %files devel %{_includedir}/websocketpp %{_datadir}/cmake/websocketpp %changelog * Fri Oct 02 2026 Rourou2285 - 0.8.2-1 - Initial openEuler package: WebSocket++ 0.8.2 (header-only), needed by ros-humble-rmf-websocket, ros-humble-rmf-visualization and ros-humble-foxglove-bridge, none of which can build without websocketpp-devel.