Name: cpptrace Version: 1.0.4 Release: 33%{?dist} Summary: Simple, portable, and self-contained stacktrace library for C++11 and newer License: MIT URL: https://github.com/jeremy-rifkin/cpptrace Source0: https://github.com/jeremy-rifkin/cpptrace/archive/refs/tags/v1.0.4.tar.gz#/cpptrace-1.0.4.tar.gz BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: libdwarf-code BuildRequires: libdwarf-code-devel BuildRequires: libzstd-devel BuildRequires: ninja-build BuildRequires: pkgconfig(libdwarf) BuildRequires: pkgconfig(libunwind) %description Cpptrace is a simple and portable C++ stacktrace library supporting C++11 and greater on Linux, macOS, and Windows including MinGW and Cygwin environments. The goal: Make stack traces simple for once. In addition to providing access to stack traces, cpptrace also provides a mechanism for getting stacktraces from thrown exceptions which is immensely valuable for debugging and triaging Maintainer info: Source repository: https://github.com/nett00n/hyprland-copr COPR repository: https://copr.fedorainfracloud.org/coprs/nett00n/hyprland/ Package info: Tag: v1.0.4 Commit: 3db8da80111171c219ab5839905771386bee06b3 %prep %autosetup -p1 %build %cmake -DCPPTRACE_USE_EXTERNAL_ZSTD=ON -DCPPTRACE_USE_EXTERNAL_LIBDWARF=ON -DCPPTRACE_FIND_LIBDWARF_WITH_PKGCONFIG=ON -DCPPTRACE_UNWIND_WITH_LIBUNWIND=ON %cmake_build %install %cmake_install %files %doc README.md %license LICENSE %{_libdir}/libcpptrace.so* %package devel Summary: Development files for Simple, portable, and self-contained stacktrace library for C++11 and newer Requires: %{name} = %{version}-%{release} %description devel Development files for cpptrace. %files devel %{_includedir}/cpptrace/*.hpp %{_includedir}/ctrace/ctrace.h %{_libdir}/cmake/cpptrace/cpptrace-*.cmake %{_libdir}/cmake/cpptrace/Findzstd.cmake %changelog * Thu Jul 24 2025 nett00n - 1.0.4-33 - Bump to v1.0.4