2 %define testsdir %{_libdir}/libunwind
5 Url: http://savannah.nongnu.org/projects/libunwind/
6 Summary: Unwind Library
8 Group: System/Libraries
11 Source: libunwind-%{version}.tar.gz
12 Source1001: libunwind.manifest
13 ExclusiveArch: %ix86 x86_64 %arm aarch64
15 BuildRequires: gcc-c++
16 BuildRequires: libtool
17 BuildRequires: pkg-config
20 A portable and efficient C programming interface (API) to determine the
21 call chain of a program.
24 Summary: Unwind library
25 Group: Development/Libraries
26 Requires: libunwind = %{version}-%{release}
29 A portable and efficient C programming interface (API) to determine the
30 call-chain of a program.
33 Summary: Package with binaries and data for libunwind tests
36 This package contains installable tests in Bash.
49 make -C tests test-ptrace
54 mkdir -p %{buildroot}%{testsdir}
55 install -m 750 tests/.libs/test-ptrace %{buildroot}%{testsdir}
56 install -m 750 tests/test-ptrace-misc %{buildroot}%{testsdir}
57 install -m 750 tests/run-ptrace-misc %{buildroot}%{testsdir}
59 %post -p /sbin/ldconfig
61 %postun -p /sbin/ldconfig
64 %manifest %{name}.manifest
66 %defattr(-, root, root)
67 %{_libdir}/libunwind.so.*
68 %{_libdir}/libunwind-*.so.*
71 %manifest %{name}.manifest
72 %defattr(-, root, root)
74 %{_libdir}/libunwind*a
75 %{_libdir}/libunwind*so
76 %{_libdir}/pkgconfig/libunwind-generic.pc
77 %{_libdir}/pkgconfig/libunwind-ptrace.pc
78 %{_libdir}/pkgconfig/libunwind-setjmp.pc
79 %{_libdir}/pkgconfig/libunwind.pc
80 %{_libdir}/pkgconfig/libunwind-coredump.pc