SPECS: libunwind.spec - ghost soname symlinks - static-onlu libunwind-ptrac...

qboosh qboosh at pld-linux.org
Tue Aug 19 20:13:49 CEST 2008


Author: qboosh                       Date: Tue Aug 19 18:13:49 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- ghost soname symlinks
- static-onlu libunwind-ptrace.a moved to -devel

---- Files affected:
SPECS:
   libunwind.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SPECS/libunwind.spec
diff -u SPECS/libunwind.spec:1.11 SPECS/libunwind.spec:1.12
--- SPECS/libunwind.spec:1.11	Mon Aug 11 23:35:20 2008
+++ SPECS/libunwind.spec	Tue Aug 19 20:13:44 2008
@@ -10,7 +10,7 @@
 # Source0-md5:	dbe360f4ffabfbaf937dccf2b383fff9
 URL:		http://www.nongnu.org/libunwind/
 BuildRequires:  autoconf
-BuildRequires:  automake
+BuildRequires:  automake >= 1.6
 %ifarch %{x8664}
 BuildRequires:	binutils >= 2:2.15.94.0.2.2
 %endif
@@ -19,6 +19,17 @@
 ExclusiveArch:	%{ix86} %{x8664} hppa ia64
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# x86/x86_64/hppa/ia64
+%ifarch	%{ix86}
+%define	asuf	x86
+%else
+%ifarch	%{x8664}
+%define	asuf	x86_64
+%else
+%define	asuf	%{_target_cpu}
+%endif
+%endif
+
 %description
 The goal of the libunwind project is to define a portable and
 efficient C programming interface (API) to determine the call-chain
@@ -59,6 +70,7 @@
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
+%{__autoheader}
 %{__automake}
 %configure
 %{__make}
@@ -78,18 +90,36 @@
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS COPYING ChangeLog NEWS README TODO
-%attr(755,root,root) %{_libdir}/libunwind*.so.*.*.*
+%attr(755,root,root) %{_libdir}/libunwind.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libunwind.so.7
+%attr(755,root,root) %{_libdir}/libunwind-setjmp.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libunwind-setjmp.so.0
+%attr(755,root,root) %{_libdir}/libunwind-%{asuf}.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libunwind-%{asuf}.so.7
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libunwind*.so
-%{_libdir}/libunwind*.la
-%{_includedir}/*unwind*.h
-%{_mandir}/man3/*.3*
+%attr(755,root,root) %{_libdir}/libunwind.so
+%attr(755,root,root) %{_libdir}/libunwind-setjmp.so
+%attr(755,root,root) %{_libdir}/libunwind-generic.so
+%attr(755,root,root) %{_libdir}/libunwind-%{asuf}.so
+%{_libdir}/libunwind.la
+%{_libdir}/libunwind-setjmp.la
+%{_libdir}/libunwind-%{asuf}.la
+# static-only
+%{_libdir}/libunwind-ptrace.a
+%{_includedir}/libunwind*.h
+%{_includedir}/unwind.h
+%{_mandir}/man3/_U_dyn_*.3*
+%{_mandir}/man3/libunwind*.3*
+%{_mandir}/man3/unw_*.3*
 
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/libunwind*.a
+%{_libdir}/libunwind.a
+%{_libdir}/libunwind-setjmp.a
+%{_libdir}/libunwind-generic.a
+%{_libdir}/libunwind-%{asuf}.a
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -97,6 +127,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2008/08/19 18:13:44  qboosh
+- ghost soname symlinks
+- static-onlu libunwind-ptrace.a moved to -devel
+
 Revision 1.11  2008/08/11 21:35:20  lkrotowski
 - up to 0.98.6
 - autotools
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libunwind.spec?r1=1.11&r2=1.12&f=u



More information about the pld-cvs-commit mailing list