1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- Summary: An unwinding library
- Name: libunwind
- Version: 1.2.1
- Release: 1%{?_dist_release}
- License: BSD
- Group: System Environment/Libraries
- 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
- %description
- Libunwind provides a C ABI to determine the call-chain of a program.
- %package devel
- Summary: Development package for libunwind
- Group: Development/Libraries
- Requires: libunwind = %{version}-%{release}
- %description devel
- The libunwind-devel package includes the libraries and header files for
- libunwind.
- %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*
- %clean
- rm -rf $RPM_BUILD_ROOT
- %post -p /sbin/ldconfig
- %postun -p /sbin/ldconfig
- %files
- %defattr(-,root,root)
- %doc COPYING README NEWS
- %{_libdir}/libunwind*.so.*
- %files devel
- %defattr(-,root,root)
- %{_libdir}/libunwind*.so
- %{_libdir}/libunwind-ptrace.a
- %{_libdir}/pkgconfig/libunwind*.pc
- # <unwind.h> does not get installed for REMOTE_ONLY targets - check it.
- %{_includedir}/unwind.h
- %{_includedir}/libunwind*.h
- %changelog
- * 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
|