2008-09-22 00:24:40 +00:00
|
|
|
# rpmbuild parameters:
|
|
|
|
# --without check: Do not run the testsuite. Default is to run it.
|
|
|
|
|
2004-09-09 07:46:33 +00:00
|
|
|
# Define this if you want to skip the strip step and preserve debug info.
|
|
|
|
# Useful for testing.
|
2007-04-22 13:30:46 +00:00
|
|
|
#define __debug_install_post : > %{_builddir}/%{?buildsubdir}/debugfiles.list
|
|
|
|
|
2007-04-05 22:17:46 +00:00
|
|
|
Summary: An unwinding library
|
2004-09-09 07:46:33 +00:00
|
|
|
Name: libunwind
|
2007-04-05 22:17:46 +00:00
|
|
|
Version: 0.99
|
2009-04-30 11:26:05 +00:00
|
|
|
%define snapshot 20090430betagit4b8404d1
|
|
|
|
Release: 0.10.%{snapshot}%{?dist}
|
2004-09-09 07:46:33 +00:00
|
|
|
License: BSD
|
|
|
|
Group: Development/Debuggers
|
2009-04-13 20:44:57 +00:00
|
|
|
Source: libunwind-%{snapshot}.tar.bz2
|
2007-04-05 22:17:46 +00:00
|
|
|
URL: http://savannah.nongnu.org/projects/libunwind
|
2009-04-13 20:44:57 +00:00
|
|
|
ExclusiveArch: arm hppa ia64 mips ppc ppc64 %{ix86} x86_64
|
2004-09-09 07:46:33 +00:00
|
|
|
|
2007-04-05 22:17:46 +00:00
|
|
|
BuildRequires: automake libtool autoconf
|
2007-04-22 13:30:46 +00:00
|
|
|
Conflicts: gdb < 6.6-9
|
2004-09-09 07:46:33 +00:00
|
|
|
|
2009-04-13 20:44:57 +00:00
|
|
|
# host != target would cause REMOTE_ONLY build even if building i386 on x86_64.
|
|
|
|
%define _host %{_target_platform}
|
|
|
|
|
2004-09-09 07:46:33 +00:00
|
|
|
%description
|
|
|
|
Libunwind provides a C ABI to determine the call-chain of a program.
|
|
|
|
This version of libunwind is targetted for the ia64 platform.
|
|
|
|
|
2007-04-05 22:17:46 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Development package for libunwind
|
|
|
|
Group: Development/Debuggers
|
|
|
|
Requires: libunwind = %{PACKAGE_VERSION}
|
|
|
|
%description devel
|
|
|
|
The libunwind-devel package includes the libraries and header files for
|
|
|
|
libunwind.
|
|
|
|
|
2004-09-09 07:46:33 +00:00
|
|
|
%prep
|
2009-04-13 20:44:57 +00:00
|
|
|
%setup -q -n libunwind-%{snapshot}
|
2008-02-24 06:31:44 +00:00
|
|
|
|
2004-09-09 07:46:33 +00:00
|
|
|
%build
|
2007-04-05 22:17:46 +00:00
|
|
|
aclocal
|
2009-04-13 20:44:57 +00:00
|
|
|
libtoolize --force
|
2007-04-05 22:17:46 +00:00
|
|
|
autoheader
|
|
|
|
automake --add-missing
|
|
|
|
autoconf
|
|
|
|
%configure --disable-static --enable-shared
|
2004-09-09 07:46:33 +00:00
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall
|
2009-04-13 20:44:57 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/libunwind*.{la,a}
|
2007-04-05 22:17:46 +00:00
|
|
|
|
|
|
|
%check
|
2009-04-13 20:44:57 +00:00
|
|
|
%if 0%{?_with_check:1} || 0%{?_with_testsuite:1}
|
2008-09-22 00:24:40 +00:00
|
|
|
echo ====================TESTING=========================
|
2007-04-05 22:17:46 +00:00
|
|
|
make check || true
|
2008-09-22 00:24:40 +00:00
|
|
|
echo ====================TESTING END=====================
|
2009-04-13 20:44:57 +00:00
|
|
|
%else
|
|
|
|
echo ====================TESTSUITE DISABLED=========================
|
2008-09-22 00:24:40 +00:00
|
|
|
%endif
|
2004-09-09 07:46:33 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2007-04-05 22:17:46 +00:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2004-09-09 07:46:33 +00:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING README NEWS
|
2007-04-05 22:17:46 +00:00
|
|
|
%{_libdir}/libunwind*.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libunwind*.so
|
2004-09-09 07:46:33 +00:00
|
|
|
%{_mandir}/*/*
|
2009-04-13 20:44:57 +00:00
|
|
|
# <unwind.h> does not get installed for REMOTE_ONLY targets - check it.
|
|
|
|
%{_includedir}/unwind.h
|
|
|
|
%{_includedir}/libunwind*.h
|
2004-09-09 07:46:33 +00:00
|
|
|
|
|
|
|
%changelog
|
2009-04-30 11:26:05 +00:00
|
|
|
* Thu Apr 30 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 0.99-0.10.20090430betagit4b8404d1
|
|
|
|
- Fix the ia64 variant of GetIPInfo() (BZ 480412).
|
|
|
|
|
2009-04-13 20:44:57 +00:00
|
|
|
* Mon Apr 13 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 0.99-0.9.20090413betagitb483ea3f
|
|
|
|
- Rebase the package on the upstream variant: http://www.nongnu.org/libunwind/
|
|
|
|
- Drop the patch libunwind-snap-070224-frysk20070405cvs.patch
|
|
|
|
as even frysk-0.4-8.fc11 still has this library bundled statically.
|
|
|
|
- Disable the testsuite by default during the build.
|
|
|
|
- It should be run separately as it crashes some ia64 kernels.
|
|
|
|
- Drop the patch libunwind-snap-070224-orphanripper.patch.
|
|
|
|
- Drop the patch libunwind-snap-070224-dprintf-vs-stdio.h as no longer needed.
|
|
|
|
- Drop libunwind-snap-070224-multilib-rh342451.patch as accepted upstream.
|
|
|
|
- Fix and enable ppc (ppc32) arch.
|
|
|
|
|
2009-03-03 17:45:21 +00:00
|
|
|
* Tue Mar 3 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 0.99-0.8.frysk20070405cvs
|
|
|
|
- Fix .spec ExclusiveArch from i386 to %%{ix86}.
|
|
|
|
- Remove `BuildRequires: glibc gcc make tar gzip' - minimum build environment.
|
|
|
|
|
2009-02-25 19:39:12 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99-0.7.frysk20070405cvs
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-09-22 00:24:40 +00:00
|
|
|
* Mon Sep 22 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 0.99-0.6.frysk20070405cvs
|
|
|
|
- Fix build error due to a `dprintf' conflict on recent glibc.
|
|
|
|
- New rpmbuild parameter: --without check
|
|
|
|
|
2008-02-24 06:31:44 +00:00
|
|
|
* Sun Feb 24 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 0.99-0.5.frysk20070405cvs
|
|
|
|
- Fix the multilib conflicts (BZ 342451).
|
|
|
|
|
2008-02-24 04:55:53 +00:00
|
|
|
* Sun Feb 24 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 0.99-0.4.frysk20070405cvs
|
|
|
|
- Abort the possibly hung up testcases after 120 seconds (BZ 427850, BZ 434147).
|
|
|
|
|
2008-02-19 06:26:26 +00:00
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.99-0.3.frysk20070405cvs
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2007-04-22 13:30:46 +00:00
|
|
|
* Sun Apr 22 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 0.99-0.2.frysk20070405cvs
|
|
|
|
- Require conflict with gdb < gdb-6.6-9 as it would not find `libunwind.so'.
|
|
|
|
- Fixed (unused - commented) rule for a RPM build with embedded debug info.
|
|
|
|
|
2007-04-05 22:17:46 +00:00
|
|
|
* Thu Apr 5 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 0.99-0.1.frysk20070405cvs
|
|
|
|
- Update to the upstream snapshot snap-070224.
|
|
|
|
- Use the Frysk's modified version, currently snapshot 20070405cvs.
|
|
|
|
- Extend the supported architectures from ia64 also to x86_64, i386 and ppc64.
|
|
|
|
- Spec file fixups.
|
|
|
|
- Split the package to its base and the `devel' part.
|
|
|
|
- Drop the statically built libraries.
|
|
|
|
|
2006-10-01 20:20:01 +00:00
|
|
|
* Sun Oct 01 2006 Jesse Keating <jkeating@redhat.com> - 0.98.5-3
|
|
|
|
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
|
|
|
|
|
2006-09-22 10:08:18 +00:00
|
|
|
* Sat Sep 22 2006 Jan Kratochvil <jan.kratochvil@redhat.com> - 0.98.5-2
|
|
|
|
- SELinux compatibility fix - stack is now non-exec (Jakub Jelinek suggestion).
|
|
|
|
|
2006-07-12 06:58:10 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.98.5-1.1
|
|
|
|
- rebuild
|
|
|
|
|
2006-05-27 04:05:13 +00:00
|
|
|
* Sat May 27 2006 Alexandre Oliva <aoliva@redhat.com> - 0.98.5-1
|
|
|
|
- Import version 0.98.5.
|
|
|
|
|
2006-02-09 15:09:31 +00:00
|
|
|
* Thu Feb 09 2006 Florian La Roche <laroche@redhat.com>
|
|
|
|
- remove empty scripts
|
|
|
|
|
2006-02-07 12:45:12 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.98.2-3.2
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2005-12-09 22:41:43 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-03-02 00:48:16 +00:00
|
|
|
* Tue Mar 01 2005 Jeff Johnston <jjohnstn@redhat.com> 0.98.2.3
|
|
|
|
- Bump up release number
|
|
|
|
|
2004-11-11 21:48:10 +00:00
|
|
|
* Thu Nov 11 2004 Jeff Johnston <jjohnstn@redhat.com> 0.98.2.2
|
|
|
|
- Import version 0.98.2.
|
|
|
|
|
2004-11-10 20:44:12 +00:00
|
|
|
* Wed Nov 10 2004 Jeff Johnston <jjohnstn@redhat.com> 0.97.6
|
2004-11-10 19:38:59 +00:00
|
|
|
- Bump up release number
|
|
|
|
|
2004-09-09 07:48:12 +00:00
|
|
|
* Thu Aug 19 2004 Jeff Johnston <jjohnstn@redhat.com> 0.97.3
|
|
|
|
- Remove debug file from files list.
|
|
|
|
|
2004-09-09 07:48:07 +00:00
|
|
|
* Fri Aug 13 2004 Jeff Johnston <jjohnstn@redhat.com> 0.97.2
|
|
|
|
- Import version 0.97.
|
|
|
|
|
2004-09-09 07:47:57 +00:00
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 07:47:38 +00:00
|
|
|
* Wed Jun 09 2004 Elena Zannoni <ezannoni@redhat.com> 0.96.4
|
|
|
|
- Bump release number.
|
|
|
|
|
|
|
|
* Mon Feb 23 2004 Elena Zannoni <ezannoni@redhat.com> 0.96.3
|
|
|
|
- Bump release number.
|
|
|
|
|
2004-09-09 07:47:12 +00:00
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 07:47:01 +00:00
|
|
|
* Thu Jan 29 2004 Jeff Johnston <jjohnstn@redhat.com> 0.96.1
|
|
|
|
- Import version 0.96.
|
|
|
|
|
2004-09-09 07:46:52 +00:00
|
|
|
* Tue Jan 06 2004 Jeff Johnston <jjohnstn@redhat.com> 0.92.2
|
|
|
|
- Bump release number.
|
|
|
|
|
2004-09-09 07:46:33 +00:00
|
|
|
* Mon Oct 06 2003 Jeff Johnston <jjohnstn@redhat.com> 0.92.1
|
|
|
|
- Initial release
|
|
|
|
|