1 | Summary: An unwinding library |
---|
2 | Name: libunwind |
---|
3 | Version: 1.5.0 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | Group: system |
---|
6 | Vendor: Project Vine |
---|
7 | Distribution: Vine Linux |
---|
8 | |
---|
9 | License: BSD |
---|
10 | URL: http://savannah.nongnu.org/projects/libunwind |
---|
11 | Source: http://download.savannah.nongnu.org/releases/libunwind/%{name}-%{version}.tar.gz |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | ExclusiveArch: %{ix86} x86_64 ia64 |
---|
15 | BuildRequires: zlib-devel |
---|
16 | |
---|
17 | %description |
---|
18 | Libunwind provides a C ABI to determine the call-chain of a program. |
---|
19 | |
---|
20 | |
---|
21 | %package devel |
---|
22 | Summary: Development package for libunwind |
---|
23 | Group: programming |
---|
24 | Requires: libunwind = %{version}-%{release} |
---|
25 | |
---|
26 | %description devel |
---|
27 | The libunwind-devel package includes the libraries and header files for |
---|
28 | libunwind. |
---|
29 | |
---|
30 | |
---|
31 | %debug_package |
---|
32 | |
---|
33 | |
---|
34 | %prep |
---|
35 | %setup -q |
---|
36 | |
---|
37 | |
---|
38 | %build |
---|
39 | %configure --enable-static --enable-shared --enable-setjmp=no |
---|
40 | %__make %{?_smp_mflags} |
---|
41 | |
---|
42 | |
---|
43 | %install |
---|
44 | rm -rf $RPM_BUILD_ROOT |
---|
45 | %makeinstall |
---|
46 | |
---|
47 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
48 | |
---|
49 | # [...] aren't really part of the libunwind API. They are implemented in |
---|
50 | # a archive library called libunwind-ptrace.a. |
---|
51 | mv -f $RPM_BUILD_ROOT%{_libdir}/libunwind-ptrace.a $RPM_BUILD_ROOT%{_libdir}/libunwind-ptrace.a-save |
---|
52 | rm -f $RPM_BUILD_ROOT%{_libdir}/libunwind*.a |
---|
53 | mv -f $RPM_BUILD_ROOT%{_libdir}/libunwind-ptrace.a-save $RPM_BUILD_ROOT%{_libdir}/libunwind-ptrace.a |
---|
54 | rm -f $RPM_BUILD_ROOT%{_libdir}/libunwind-ptrace*.so* |
---|
55 | |
---|
56 | |
---|
57 | %if 0%{?_with_check:1} || 0%{?_with_testsuite:1} |
---|
58 | %check |
---|
59 | echo ====================TESTING========================= |
---|
60 | make check || true |
---|
61 | echo ====================TESTING END===================== |
---|
62 | %else |
---|
63 | echo ====================TESTSUITE DISABLED========================= |
---|
64 | %endif |
---|
65 | |
---|
66 | %clean |
---|
67 | rm -rf $RPM_BUILD_ROOT |
---|
68 | |
---|
69 | |
---|
70 | %post -p /sbin/ldconfig |
---|
71 | %postun -p /sbin/ldconfig |
---|
72 | |
---|
73 | |
---|
74 | %files |
---|
75 | %defattr(-,root,root) |
---|
76 | %license COPYING |
---|
77 | %doc README* NEWS |
---|
78 | %{_libdir}/*.so.* |
---|
79 | |
---|
80 | %files devel |
---|
81 | %defattr(-,root,root) |
---|
82 | %{_libdir}/*.so |
---|
83 | %{_libdir}/*.a |
---|
84 | %{_libdir}/pkgconfig/*.pc |
---|
85 | # <unwind.h> does not get installed for REMOTE_ONLY targets - check it. |
---|
86 | %{_includedir}/unwind.h |
---|
87 | %{_includedir}/libunwind*.h |
---|
88 | |
---|
89 | |
---|
90 | %changelog |
---|
91 | * Thu Feb 18 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.0-1 |
---|
92 | - new upstream release. |
---|
93 | |
---|
94 | * Sun Feb 18 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.1-1 |
---|
95 | - new upstream release. |
---|
96 | - dropped all patches. |
---|
97 | |
---|
98 | * Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1-1 |
---|
99 | - update to 1.0.1 |
---|
100 | |
---|
101 | * Tue Dec 2 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.98.6-2 |
---|
102 | - ExclusiveArch set to %%{ix86} x86_64 ia64 |
---|
103 | |
---|
104 | * Fri Nov 07 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.98.6-1 |
---|
105 | - new upstream release |
---|
106 | - remove static libs |
---|
107 | |
---|
108 | * Fri Oct 03 2008 Shu KONNO <owa@bg.wakwak.com> 0.98.5-1vl5 |
---|
109 | - applied new versioning policy |
---|
110 | |
---|
111 | * Sat Jun 09 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.98.5 |
---|
112 | - initial build for Vine Linux |
---|