| 1 | Summary: An unwinding library |
|---|
| 2 | Name: libunwind |
|---|
| 3 | Version: 0.98.6 |
|---|
| 4 | Release: 3%{?_dist_release} |
|---|
| 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 |
|---|
| 9 | |
|---|
| 10 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 11 | |
|---|
| 12 | ExclusiveArch: %{ix86} x86_64 ia64 |
|---|
| 13 | |
|---|
| 14 | %description |
|---|
| 15 | Libunwind provides a C ABI to determine the call-chain of a program. |
|---|
| 16 | |
|---|
| 17 | %package devel |
|---|
| 18 | Summary: Development package for libunwind |
|---|
| 19 | Group: Development/Libraries |
|---|
| 20 | Requires: %{name} = %{version} |
|---|
| 21 | |
|---|
| 22 | %description devel |
|---|
| 23 | The libunwind-devel package includes the libraries and header files for |
|---|
| 24 | libunwind. |
|---|
| 25 | |
|---|
| 26 | %prep |
|---|
| 27 | %setup -q |
|---|
| 28 | |
|---|
| 29 | %build |
|---|
| 30 | %configure --disable-static --enable-shared |
|---|
| 31 | %__make %{?_smp_mflags} |
|---|
| 32 | |
|---|
| 33 | %install |
|---|
| 34 | rm -rf $RPM_BUILD_ROOT |
|---|
| 35 | %makeinstall |
|---|
| 36 | |
|---|
| 37 | rm -f $RPM_BUILD_ROOT/%{_libdir}/libunwind*.la |
|---|
| 38 | rm -f $RPM_BUILD_ROOT/%{_libdir}/libunwind*.a |
|---|
| 39 | |
|---|
| 40 | %clean |
|---|
| 41 | rm -rf $RPM_BUILD_ROOT |
|---|
| 42 | |
|---|
| 43 | %post -p /sbin/ldconfig |
|---|
| 44 | |
|---|
| 45 | %postun -p /sbin/ldconfig |
|---|
| 46 | |
|---|
| 47 | %files |
|---|
| 48 | %defattr(-,root,root) |
|---|
| 49 | %doc COPYING README NEWS |
|---|
| 50 | %{_libdir}/libunwind*.so.* |
|---|
| 51 | |
|---|
| 52 | %files devel |
|---|
| 53 | %defattr(-,root,root) |
|---|
| 54 | %{_libdir}/libunwind*.so |
|---|
| 55 | #%{_libdir}/libunwind*.a |
|---|
| 56 | %{_mandir}/*/* |
|---|
| 57 | %{_includedir}/* |
|---|
| 58 | |
|---|
| 59 | %changelog |
|---|
| 60 | * Sat Jul 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.98.6-3 |
|---|
| 61 | - rebuild with current Vine6 environment |
|---|
| 62 | |
|---|
| 63 | * Tue Dec 2 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.98.6-2 |
|---|
| 64 | - ExclusiveArch set to %%{ix86} x86_64 ia64 |
|---|
| 65 | |
|---|
| 66 | * Fri Nov 07 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.98.6-1 |
|---|
| 67 | - new upstream release |
|---|
| 68 | - remove static libs |
|---|
| 69 | |
|---|
| 70 | * Fri Oct 03 2008 Shu KONNO <owa@bg.wakwak.com> 0.98.5-1vl5 |
|---|
| 71 | - applied new versioning policy |
|---|
| 72 | |
|---|
| 73 | * Sat Jun 09 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.98.5 |
|---|
| 74 | - initial build for Vine Linux |
|---|