[521] | 1 | Summary: An unwinding library |
---|
| 2 | Name: libunwind |
---|
[12534] | 3 | Version: 1.5.0 |
---|
[6994] | 4 | Release: 1%{?_dist_release} |
---|
[12534] | 5 | Group: system |
---|
| 6 | Vendor: Project Vine |
---|
| 7 | Distribution: Vine Linux |
---|
| 8 | |
---|
[521] | 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 | |
---|
[12534] | 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[521] | 14 | ExclusiveArch: %{ix86} x86_64 ia64 |
---|
[12534] | 15 | BuildRequires: zlib-devel |
---|
[521] | 16 | |
---|
| 17 | %description |
---|
| 18 | Libunwind provides a C ABI to determine the call-chain of a program. |
---|
| 19 | |
---|
[12534] | 20 | |
---|
[521] | 21 | %package devel |
---|
| 22 | Summary: Development package for libunwind |
---|
[12534] | 23 | Group: programming |
---|
[6994] | 24 | Requires: libunwind = %{version}-%{release} |
---|
[521] | 25 | |
---|
| 26 | %description devel |
---|
| 27 | The libunwind-devel package includes the libraries and header files for |
---|
| 28 | libunwind. |
---|
| 29 | |
---|
[12534] | 30 | |
---|
| 31 | %debug_package |
---|
| 32 | |
---|
| 33 | |
---|
[521] | 34 | %prep |
---|
| 35 | %setup -q |
---|
| 36 | |
---|
[12534] | 37 | |
---|
[521] | 38 | %build |
---|
[11499] | 39 | %configure --enable-static --enable-shared --enable-setjmp=no |
---|
[521] | 40 | %__make %{?_smp_mflags} |
---|
| 41 | |
---|
[12534] | 42 | |
---|
[521] | 43 | %install |
---|
| 44 | rm -rf $RPM_BUILD_ROOT |
---|
| 45 | %makeinstall |
---|
| 46 | |
---|
[11499] | 47 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
[521] | 48 | |
---|
[11499] | 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 | |
---|
[12534] | 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 | |
---|
[521] | 66 | %clean |
---|
| 67 | rm -rf $RPM_BUILD_ROOT |
---|
| 68 | |
---|
[12534] | 69 | |
---|
[521] | 70 | %post -p /sbin/ldconfig |
---|
| 71 | %postun -p /sbin/ldconfig |
---|
| 72 | |
---|
[12534] | 73 | |
---|
[521] | 74 | %files |
---|
| 75 | %defattr(-,root,root) |
---|
[12534] | 76 | %license COPYING |
---|
| 77 | %doc README* NEWS |
---|
| 78 | %{_libdir}/*.so.* |
---|
[521] | 79 | |
---|
| 80 | %files devel |
---|
| 81 | %defattr(-,root,root) |
---|
[12534] | 82 | %{_libdir}/*.so |
---|
| 83 | %{_libdir}/*.a |
---|
| 84 | %{_libdir}/pkgconfig/*.pc |
---|
[11499] | 85 | # <unwind.h> does not get installed for REMOTE_ONLY targets - check it. |
---|
| 86 | %{_includedir}/unwind.h |
---|
| 87 | %{_includedir}/libunwind*.h |
---|
[521] | 88 | |
---|
[12534] | 89 | |
---|
[521] | 90 | %changelog |
---|
[12534] | 91 | * Thu Feb 18 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.0-1 |
---|
| 92 | - new upstream release. |
---|
| 93 | |
---|
[11499] | 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 | |
---|
[6994] | 98 | * Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1-1 |
---|
| 99 | - update to 1.0.1 |
---|
| 100 | |
---|
[521] | 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 |
---|