123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- Summary: An unwinding library
- Name: libunwind
- Version: 1.5.0
- Release: 1%{?_dist_release}
- Group: system
- Vendor: Project Vine
- Distribution: Vine Linux
- License: BSD
- URL: http://savannah.nongnu.org/projects/libunwind
- Source: http://download.savannah.nongnu.org/releases/libunwind/%{name}-%{version}.tar.gz
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- ExclusiveArch: %{ix86} x86_64 ia64
- BuildRequires: zlib-devel
- %description
- Libunwind provides a C ABI to determine the call-chain of a program.
- %package devel
- Summary: Development package for libunwind
- Group: programming
- Requires: libunwind = %{version}-%{release}
- %description devel
- The libunwind-devel package includes the libraries and header files for
- libunwind.
- %debug_package
- %prep
- %setup -q
- %build
- %configure --enable-static --enable-shared --enable-setjmp=no
- %__make %{?_smp_mflags}
- %install
- rm -rf $RPM_BUILD_ROOT
- %makeinstall
- find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
- # [...] aren't really part of the libunwind API. They are implemented in
- # a archive library called libunwind-ptrace.a.
- mv -f $RPM_BUILD_ROOT%{_libdir}/libunwind-ptrace.a $RPM_BUILD_ROOT%{_libdir}/libunwind-ptrace.a-save
- rm -f $RPM_BUILD_ROOT%{_libdir}/libunwind*.a
- mv -f $RPM_BUILD_ROOT%{_libdir}/libunwind-ptrace.a-save $RPM_BUILD_ROOT%{_libdir}/libunwind-ptrace.a
- rm -f $RPM_BUILD_ROOT%{_libdir}/libunwind-ptrace*.so*
- %if 0%{?_with_check:1} || 0%{?_with_testsuite:1}
- %check
- echo ====================TESTING=========================
- make check || true
- echo ====================TESTING END=====================
- %else
- echo ====================TESTSUITE DISABLED=========================
- %endif
- %clean
- rm -rf $RPM_BUILD_ROOT
- %post -p /sbin/ldconfig
- %postun -p /sbin/ldconfig
- %files
- %defattr(-,root,root)
- %license COPYING
- %doc README* NEWS
- %{_libdir}/*.so.*
- %files devel
- %defattr(-,root,root)
- %{_libdir}/*.so
- %{_libdir}/*.a
- %{_libdir}/pkgconfig/*.pc
- # <unwind.h> does not get installed for REMOTE_ONLY targets - check it.
- %{_includedir}/unwind.h
- %{_includedir}/libunwind*.h
- %changelog
- * Thu Feb 18 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.0-1
- - new upstream release.
- * Sun Feb 18 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.1-1
- - new upstream release.
- - dropped all patches.
- * Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1-1
- - update to 1.0.1
- * Tue Dec 2 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.98.6-2
- - ExclusiveArch set to %%{ix86} x86_64 ia64
- * Fri Nov 07 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.98.6-1
- - new upstream release
- - remove static libs
- * Fri Oct 03 2008 Shu KONNO <owa@bg.wakwak.com> 0.98.5-1vl5
- - applied new versioning policy
- * Sat Jun 09 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.98.5
- - initial build for Vine Linux
|