## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: cpptrace Version: 1.0.4 Release: %autorelease Summary: Cpptrace is a simple and portable C++ stacktrace library License: MIT URL: https://boutproject.github.io/ Source0: https://github.com/jeremy-rifkin/cpptrace/archive/refs/tags/v%{version}.tar.gz # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} # # DEPENDENCIES # BuildRequires: cmake BuildRequires: g++ BuildRequires: libdwarf-devel BuildRequires: libcxxabi-devel BuildRequires: libzstd-devel # # DESCRIPTIONS # %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. %package devel Summary: Development files for cpptrace %description devel Development files for cpptrace # # PREP # %prep %autosetup -C -p1 # # BUILD # %build # testing requires googletest # but cmake only supports downloading %cmake \ -DCPPTRACE_DEMANGLE_WITH_CXXABI=ON \ -DCPPTRACE_USE_EXTERNAL_ZSTD=ON \ -DCPPTRACE_USE_EXTERNAL_LIBDWARF=ON \ -DCPPTRACE_FIND_LIBDWARF_WITH_PKGCONFIG=ON \ -DBUILD_TESTING=OFF \ -DBUILD_SHARED_LIBS=ON %cmake_build # # INSTALL # %install %cmake_install # # CHECK # %check # %%ctest # # FILES SECTION # %files %{_libdir}/libcpptrace.so.1.0.4 %license LICENSE %files devel %{_libdir}/libcpptrace.so %{_libdir}/libcpptrace.so.1 %{_libdir}/cmake/cpptrace %{_includedir}/ctrace %{_includedir}/cpptrace %license LICENSE # # CHANGELOG # %changelog ## START: Generated by rpmautospec * Wed Jan 07 2026 John Doe - 1.0.4-1 - Uncommitted changes ## END: Generated by rpmautospec