2006-12-19 00:16:58 +01:00
|
|
|
#
|
|
|
|
# spec file for package libunwind (Version 0.98.5)
|
|
|
|
#
|
2008-04-20 15:13:41 +02:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2006-12-19 00:16:58 +01:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
2007-06-07 13:15:07 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2006-12-19 00:16:58 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-20 15:13:41 +02:00
|
|
|
|
2007-06-07 13:15:07 +02:00
|
|
|
Name: libunwind
|
|
|
|
BuildRequires: gcc-c++
|
2008-04-20 15:13:41 +02:00
|
|
|
Url: http://savannah.nongnu.org/projects/libunwind/
|
2007-06-07 13:15:07 +02:00
|
|
|
Summary: Unwind Library
|
|
|
|
Version: 0.98.5
|
2008-04-20 15:13:41 +02:00
|
|
|
Release: 108
|
2007-06-07 13:15:07 +02:00
|
|
|
Group: System/Base
|
|
|
|
License: X11/MIT
|
|
|
|
Source: libunwind-%{version}.tar.gz
|
|
|
|
Patch: libunwind-%{version}.diff
|
2008-04-20 15:13:41 +02:00
|
|
|
Patch1: libunwind-%{version}-buildfix.diff
|
2007-06-07 13:15:07 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2008-04-20 15:13:41 +02:00
|
|
|
ExclusiveArch: %ix86 ia64 x86_64
|
2006-12-19 00:16:58 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
A portable and efficient C programming interface (API) to determine the
|
|
|
|
call chain of a program.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
2007-06-07 13:15:07 +02:00
|
|
|
David Mosberger <David.Mosberger@acm.org>
|
2006-12-19 00:16:58 +01:00
|
|
|
|
|
|
|
%package devel
|
2008-04-20 15:13:41 +02:00
|
|
|
License: X11/MIT
|
2007-06-07 13:15:07 +02:00
|
|
|
Summary: Unwind library
|
2008-04-20 15:13:41 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2007-06-07 13:15:07 +02:00
|
|
|
Requires: libunwind = %{version}-%{release}
|
|
|
|
Provides: libunwind:%{_libdir}/libunwind.so
|
2006-12-19 00:16:58 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
A portable and efficient C programming interface (API) to determine the
|
|
|
|
call-chain of a program.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
David Mosberger <davidm@hpl.hp.com>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch
|
2008-04-20 15:13:41 +02:00
|
|
|
%patch1
|
2006-12-19 00:16:58 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
#chmod +w aclocal.m4 configure
|
|
|
|
#autoreconf -fi
|
|
|
|
./configure "CFLAGS=$RPM_OPT_FLAGS" --prefix=/usr --mandir=%{_mandir} \
|
|
|
|
--libdir=%{_libdir} --build=%{_target_cpu}-suse-linux
|
|
|
|
make %{?jobs:-j%jobs}
|
|
|
|
%ifarch ia64
|
|
|
|
make -k check
|
|
|
|
%else
|
|
|
|
# There are some expected failures
|
|
|
|
make -k check || :
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_lib}
|
|
|
|
mv $RPM_BUILD_ROOT%{_libdir}/libunwind.so.7* $RPM_BUILD_ROOT/%{_lib}
|
|
|
|
cd $RPM_BUILD_ROOT%{_libdir}
|
|
|
|
ln -sf ../../%{_lib}/libunwind.so.7.* libunwind.so
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
/%_lib/lib*
|
|
|
|
%{_libdir}/lib*.so.*
|
|
|
|
%{_libdir}/libunwind.so
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_prefix}/include/*
|
|
|
|
%{_libdir}/lib*.a
|
|
|
|
%{_libdir}/lib*.la
|
|
|
|
%{_libdir}/libunwind-*.so
|
|
|
|
%doc %{_mandir}/man?/*
|
|
|
|
|
2007-06-07 13:15:07 +02:00
|
|
|
%changelog
|
2008-04-20 15:13:41 +02:00
|
|
|
* Fri Apr 18 2008 rguenther@suse.de
|
|
|
|
- Fix build.
|
|
|
|
* Wed Jun 06 2007 schwab@suse.de
|
2007-06-07 13:15:07 +02:00
|
|
|
- Fix memory leak.
|
2008-04-20 15:13:41 +02:00
|
|
|
* Thu Jan 26 2006 schwab@suse.de
|
2006-12-19 00:16:58 +01:00
|
|
|
- Run ldconfig.
|
2008-04-20 15:13:41 +02:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2006-12-19 00:16:58 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-04-20 15:13:41 +02:00
|
|
|
* Mon Nov 14 2005 schwab@suse.de
|
2006-12-19 00:16:58 +01:00
|
|
|
- Undo last change.
|
2008-04-20 15:13:41 +02:00
|
|
|
* Mon Oct 31 2005 dmueller@suse.de
|
2006-12-19 00:16:58 +01:00
|
|
|
- build with nonexecutable stack
|
2008-04-20 15:13:41 +02:00
|
|
|
* Fri Jul 22 2005 schwab@suse.de
|
2006-12-19 00:16:58 +01:00
|
|
|
- Remove broken tests.
|
2008-04-20 15:13:41 +02:00
|
|
|
* Tue May 03 2005 schwab@suse.de
|
2006-12-19 00:16:58 +01:00
|
|
|
- Fix broken test.
|
2008-04-20 15:13:41 +02:00
|
|
|
* Sat Apr 23 2005 schwab@suse.de
|
2006-12-19 00:16:58 +01:00
|
|
|
- Only libunwind needs to be in /lib.
|
|
|
|
- There are no expected testsuite failures on ia64 any more.
|
2008-04-20 15:13:41 +02:00
|
|
|
* Thu Apr 21 2005 schwab@suse.de
|
2006-12-19 00:16:58 +01:00
|
|
|
- Update to libunwind 0.98.5.
|
2008-04-20 15:13:41 +02:00
|
|
|
* Fri Feb 25 2005 schwab@suse.de
|
2006-12-19 00:16:58 +01:00
|
|
|
- Update to libunwind 0.98.4.
|
2008-04-20 15:13:41 +02:00
|
|
|
* Fri Feb 04 2005 schwab@suse.de
|
2006-12-19 00:16:58 +01:00
|
|
|
- Fix libdir.
|
|
|
|
- Fix warning.
|
2008-04-20 15:13:41 +02:00
|
|
|
* Tue Dec 07 2004 schwab@suse.de
|
2006-12-19 00:16:58 +01:00
|
|
|
- Update to libunwind 0.98.3.
|
2008-04-20 15:13:41 +02:00
|
|
|
* Mon Nov 15 2004 schwab@suse.de
|
2006-12-19 00:16:58 +01:00
|
|
|
- Don't move around libtool libraries.
|
2008-04-20 15:13:41 +02:00
|
|
|
* Sun Nov 14 2004 schwab@suse.de
|
2006-12-19 00:16:58 +01:00
|
|
|
- Split off libunwind-devel.
|
|
|
|
- Move library to /lib.
|
|
|
|
- Remove broken test.
|
2008-04-20 15:13:41 +02:00
|
|
|
* Fri Nov 05 2004 schwab@suse.de
|
2006-12-19 00:16:58 +01:00
|
|
|
- Update to libunwind 0.98.2.
|
2008-04-20 15:13:41 +02:00
|
|
|
* Thu Oct 28 2004 schwab@suse.de
|
2006-12-19 00:16:58 +01:00
|
|
|
- Update to libunwind 0.98.1.
|
2008-04-20 15:13:41 +02:00
|
|
|
* Wed Sep 29 2004 schwab@suse.de
|
2006-12-19 00:16:58 +01:00
|
|
|
- Fix installed headers.
|
2008-04-20 15:13:41 +02:00
|
|
|
* Fri Sep 10 2004 schwab@suse.de
|
2006-12-19 00:16:58 +01:00
|
|
|
- Update to libunwind 0.98.
|
|
|
|
- Enable building on x86_64.
|
2008-04-20 15:13:41 +02:00
|
|
|
* Thu Aug 19 2004 schwab@suse.de
|
2006-12-19 00:16:58 +01:00
|
|
|
- Update to libunwind 0.97.
|
2008-04-20 15:13:41 +02:00
|
|
|
* Sun Apr 18 2004 schwab@suse.de
|
2006-12-19 00:16:58 +01:00
|
|
|
- Pacify autobuild.
|
2008-04-20 15:13:41 +02:00
|
|
|
* Fri Dec 05 2003 schwab@suse.de
|
2006-12-19 00:16:58 +01:00
|
|
|
- Update to libunwind 0.96.
|
2008-04-20 15:13:41 +02:00
|
|
|
* Thu Dec 04 2003 schwab@suse.de
|
2006-12-19 00:16:58 +01:00
|
|
|
- Update to libunwind 0.95.
|
2008-04-20 15:13:41 +02:00
|
|
|
* Fri Sep 26 2003 schwab@suse.de
|
2006-12-19 00:16:58 +01:00
|
|
|
- Update to libunwind 0.93.
|
2008-04-20 15:13:41 +02:00
|
|
|
* Wed Jul 23 2003 schwab@suse.de
|
2006-12-19 00:16:58 +01:00
|
|
|
- Fix typo in specfile.
|
2008-04-20 15:13:41 +02:00
|
|
|
* Thu Jul 11 2002 schwab@suse.de
|
2006-12-19 00:16:58 +01:00
|
|
|
- Initial version.
|