libunwind-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. Summary: An unwinding library
  2. Name: libunwind
  3. Version: 1.6.2
  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. %files
  50. %defattr(-,root,root)
  51. %license COPYING
  52. %doc README* NEWS
  53. %{_libdir}/*.so.*
  54. %files devel
  55. %defattr(-,root,root)
  56. %{_libdir}/*.so
  57. %{_libdir}/*.a
  58. %{_libdir}/pkgconfig/*.pc
  59. # <unwind.h> does not get installed for REMOTE_ONLY targets - check it.
  60. %{_includedir}/unwind.h
  61. %{_includedir}/libunwind*.h
  62. %changelog
  63. * Tue Sep 13 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.6.2-1
  64. - new upstream release.
  65. - dropped ldconfig scriptlets.
  66. * Thu Feb 18 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.0-1
  67. - new upstream release.
  68. * Sun Feb 18 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.1-1
  69. - new upstream release.
  70. - dropped all patches.
  71. * Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1-1
  72. - update to 1.0.1
  73. * Tue Dec 2 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.98.6-2
  74. - ExclusiveArch set to %%{ix86} x86_64 ia64
  75. * Fri Nov 07 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.98.6-1
  76. - new upstream release
  77. - remove static libs
  78. * Fri Oct 03 2008 Shu KONNO <owa@bg.wakwak.com> 0.98.5-1vl5
  79. - applied new versioning policy
  80. * Sat Jun 09 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.98.5
  81. - initial build for Vine Linux