[521] | 1 | Summary: An unwinding library |
---|
| 2 | Name: libunwind |
---|
[6994] | 3 | Version: 1.0.1 |
---|
| 4 | Release: 1%{?_dist_release} |
---|
[521] | 5 | License: BSD |
---|
| 6 | Group: System Environment/Libraries |
---|
| 7 | URL: http://savannah.nongnu.org/projects/libunwind |
---|
| 8 | Source: http://download.savannah.nongnu.org/releases/libunwind/%{name}-%{version}.tar.gz |
---|
[6994] | 9 | Patch1: libunwind-disable-setjmp.patch |
---|
| 10 | Patch2: libunwind-install-ptrace.patch |
---|
| 11 | Patch3: libunwind-arm-register-rename.patch |
---|
[521] | 12 | |
---|
[6994] | 13 | |
---|
[521] | 14 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 15 | |
---|
| 16 | ExclusiveArch: %{ix86} x86_64 ia64 |
---|
| 17 | |
---|
| 18 | %description |
---|
| 19 | Libunwind provides a C ABI to determine the call-chain of a program. |
---|
| 20 | |
---|
| 21 | %package devel |
---|
| 22 | Summary: Development package for libunwind |
---|
| 23 | Group: Development/Libraries |
---|
[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 | |
---|
| 30 | %prep |
---|
| 31 | %setup -q |
---|
[6994] | 32 | %patch1 -p1 |
---|
| 33 | %patch2 -p1 |
---|
| 34 | %patch3 -p1 -b .arm |
---|
[521] | 35 | |
---|
[6994] | 36 | |
---|
[521] | 37 | %build |
---|
| 38 | %configure --disable-static --enable-shared |
---|
| 39 | %__make %{?_smp_mflags} |
---|
| 40 | |
---|
| 41 | %install |
---|
| 42 | rm -rf $RPM_BUILD_ROOT |
---|
| 43 | %makeinstall |
---|
| 44 | |
---|
| 45 | rm -f $RPM_BUILD_ROOT/%{_libdir}/libunwind*.la |
---|
| 46 | rm -f $RPM_BUILD_ROOT/%{_libdir}/libunwind*.a |
---|
| 47 | |
---|
| 48 | %clean |
---|
| 49 | rm -rf $RPM_BUILD_ROOT |
---|
| 50 | |
---|
| 51 | %post -p /sbin/ldconfig |
---|
| 52 | |
---|
| 53 | %postun -p /sbin/ldconfig |
---|
| 54 | |
---|
| 55 | %files |
---|
| 56 | %defattr(-,root,root) |
---|
| 57 | %doc COPYING README NEWS |
---|
| 58 | %{_libdir}/libunwind*.so.* |
---|
| 59 | |
---|
| 60 | %files devel |
---|
| 61 | %defattr(-,root,root) |
---|
| 62 | %{_libdir}/libunwind*.so |
---|
| 63 | #%{_libdir}/libunwind*.a |
---|
| 64 | %{_mandir}/*/* |
---|
| 65 | %{_includedir}/* |
---|
| 66 | |
---|
| 67 | %changelog |
---|
[6994] | 68 | * Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1-1 |
---|
| 69 | - update to 1.0.1 |
---|
| 70 | |
---|
[521] | 71 | * Tue Dec 2 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.98.6-2 |
---|
| 72 | - ExclusiveArch set to %%{ix86} x86_64 ia64 |
---|
| 73 | |
---|
| 74 | * Fri Nov 07 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.98.6-1 |
---|
| 75 | - new upstream release |
---|
| 76 | - remove static libs |
---|
| 77 | |
---|
| 78 | * Fri Oct 03 2008 Shu KONNO <owa@bg.wakwak.com> 0.98.5-1vl5 |
---|
| 79 | - applied new versioning policy |
---|
| 80 | |
---|
| 81 | * Sat Jun 09 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.98.5 |
---|
| 82 | - initial build for Vine Linux |
---|