# vim: syntax=spec %global debug_package %{nil} Name: libbacktrace Version: 1.0 Release: 0%{?dist} Summary: Library to produce symbolic backtraces License: BSD Group: Development/C URL: https://github.com/ianlancetaylor/libbacktrace Source: libbacktrace-f878221e.tar.gz BuildRequires: gcc zlib-devel xz-devel %description Library that may be linked into a C/C++ program to produce symbolic backtraces. %prep %setup -T -b 0 -q -n libbacktrace %build %configure %make_build %install mkdir -p %buildroot{%_includedir,%_libdir} install -p -m644 backtrace.h %buildroot%_includedir/ install -p -m644 .libs/*.a %buildroot%_libdir/ %files %package devel Summary: Static librafy and headers for %name Group: Development/C %description devel Static library and header files for %name %files devel %doc LICENSE README.md %_includedir/* %_libdir/*.a