libunwind-vl.spec 2.7 KB

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