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