libunwind-vl.spec 1.8 KB

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