Name: libbacktrace Version: 1.0_git20250410 Release: 0 Summary: Backtrace C library License: BSD-3-Clause Group: System/Libraries URL: https://github.com/ianlancetaylor/%{name} Source0: %{name}-%{version}.tar.xz BuildRequires: automake BuildRequires: libtool Group: System/Libraries %description This is a C library that may be linked into a C/C++ program to produce symbolic backtraces. %package devel Summary: Development files for %{name} Group: Development/Libraries/C and C++ Requires: %{name}%{soname} = %{version} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q %build %{_bindir}/autoreconf -fi %configure --disable-static --enable-shared --enable-silent-rules %{__make} %{?_smp_mflags} %install %{__make} install DESTDIR=%{buildroot} find %{buildroot} -name '*.la' -exec %{__rm} -f {} ';' %check # %%{__make} check %post /sbin/ldconfig %postun /sbin/ldconfig %files %defattr(-,root,root,-) %{_libdir}/*.so.* %files devel %defattr(-,root,root,-) %{_includedir}/*.h %{_libdir}/*.so %doc README.md %license LICENSE %changelog