82b9074
# rpmbuild parameters:
82b9074
# --without check: Do not run the testsuite.  Default is to run it.
82b9074
6932619
Summary: An unwinding library
cvsdist c09494a
Name: libunwind
6932619
Version: 0.99
413a800
%define snapshot 20110424git1e10c293
Paul Whalen eda4efe
Release: 3.%{snapshot}%{?dist}
cvsdist c09494a
License: BSD
cvsdist c09494a
Group: Development/Debuggers
5568974
Source: libunwind-%{snapshot}.tar.bz2
189cf20
#Fedora specific patch
3ebb80c
Patch1: libunwind-disable-setjmp.patch
170f437
Patch2: libunwind-install-ptrace.patch
6932619
URL: http://savannah.nongnu.org/projects/libunwind
Paul Whalen eda4efe
ExclusiveArch: %{arm} hppa ia64 mips ppc ppc64 %{ix86} x86_64
cvsdist c09494a
6932619
BuildRequires: automake libtool autoconf
cvsdist c09494a
5568974
# host != target would cause REMOTE_ONLY build even if building i386 on x86_64.
189cf20
%global _host %{_target_platform}
5568974
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
21c49f1
Requires: libunwind = %{version}-%{release}
189cf20
6932619
%description devel
6932619
The libunwind-devel package includes the libraries and header files for
6932619
libunwind.
6932619
cvsdist c09494a
%prep
5568974
%setup -q -n libunwind-%{snapshot}
3ebb80c
%patch1 -p1
170f437
%patch2 -p1
8cfbeef
cvsdist c09494a
%build
6932619
aclocal
5568974
libtoolize --force
6932619
autoheader
6932619
automake --add-missing
6932619
autoconf
170f437
%configure --enable-static --enable-shared
189cf20
make %{?_smp_mflags}
cvsdist c09494a
cvsdist c09494a
%install
189cf20
make install DESTDIR=$RPM_BUILD_ROOT
189cf20
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
170f437
170f437
# /usr/include/libunwind-ptrace.h
170f437
# [...] aren't really part of the libunwind API.  They are implemented in
170f437
# a archive library called libunwind-ptrace.a.
170f437
mv -f $RPM_BUILD_ROOT%{_libdir}/libunwind-ptrace.a $RPM_BUILD_ROOT%{_libdir}/libunwind-ptrace.a-save
170f437
rm -f $RPM_BUILD_ROOT%{_libdir}/libunwind*.a
170f437
mv -f $RPM_BUILD_ROOT%{_libdir}/libunwind-ptrace.a-save $RPM_BUILD_ROOT%{_libdir}/libunwind-ptrace.a
170f437
rm -f $RPM_BUILD_ROOT%{_libdir}/libunwind-ptrace*.so*
6932619
6932619
%check
5568974
%if 0%{?_with_check:1} || 0%{?_with_testsuite:1}
82b9074
echo ====================TESTING=========================
6932619
make check || true
82b9074
echo ====================TESTING END=====================
5568974
%else
5568974
echo ====================TESTSUITE DISABLED=========================
82b9074
%endif
cvsdist c09494a
6932619
%post -p /sbin/ldconfig
6932619
6932619
%postun -p /sbin/ldconfig
6932619
cvsdist c09494a
%files
189cf20
%defattr(-,root,root,-)
cvsdist c09494a
%doc COPYING README NEWS
6932619
%{_libdir}/libunwind*.so.*
6932619
6932619
%files devel
189cf20
%defattr(-,root,root,-)
6932619
%{_libdir}/libunwind*.so
170f437
%{_libdir}/libunwind-ptrace.a
cvsdist c09494a
%{_mandir}/*/*
5568974
# <unwind.h> does not get installed for REMOTE_ONLY targets - check it.
5568974
%{_includedir}/unwind.h
5568974
%{_includedir}/libunwind*.h
cvsdist c09494a
cvsdist c09494a
%changelog
Paul Whalen eda4efe
* Thu Jun 02 2011 Paul Whalen <paul.whalen@senecac.on.ca> - 0.99-3.20110424git1e10c293
Paul Whalen eda4efe
- Added arm macro to ExclusiveArch
Paul Whalen eda4efe
170f437
* Mon May  9 2011 Jan Kratochvil <jan.kratochvil@redhat.com> - 0.99-2.20110424git1e10c293
170f437
- Install static libunwind-ptrace library into system (for ltrace, BZ 703159).
170f437
413a800
* Sun Apr 24 2011 Jan Kratochvil <jan.kratochvil@redhat.com> - 0.99-1.20110424git1e10c293
413a800
- Rebase to the upstream post-0.99 snapshot (BZ 697453).
413a800
1709f2b
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99-0.16.20090430betagit4b8404d1
1709f2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
1709f2b
Jesse Keating 6b1518c
* Wed Sep 29 2010 jkeating - 0.99-0.15.20090430betagit4b8404d1
Jesse Keating 6b1518c
- Rebuilt for gcc bug 634757
Jesse Keating 6b1518c
189cf20
* Sat Sep 11 2010 Parag Nemade <paragn AT fedoraproject.org> 0.99-0.14.20090430betagit4b8404d1.fc15
189cf20
- Merge-review cleanup (#226052)
189cf20
21c49f1
* Fri Dec  4 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99-0.13.20090430betagit4b8404d1
21c49f1
- The devel package now requires also base package's %{release}.
21c49f1
- Update the obsolete macro %%{package_version}.
21c49f1
4e3906c
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99-0.12.20090430betagit4b8404d1
4e3906c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
4e3906c
3ebb80c
* Wed Jul 15 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 0.99-0.11.20090430betagit4b8404d1
3ebb80c
- Disable the libunwind-setjmp library as no longer compatible with glibc and
3ebb80c
  no Fedora dependencies on it (FTBSFS BZ 511562).
3ebb80c
de471ff
* Thu Apr 30 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 0.99-0.10.20090430betagit4b8404d1
de471ff
- Fix the ia64 variant of GetIPInfo() (BZ 480412).
de471ff
5568974
* Mon Apr 13 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 0.99-0.9.20090413betagitb483ea3f
5568974
- Rebase the package on the upstream variant: http://www.nongnu.org/libunwind/
5568974
  - Drop the patch libunwind-snap-070224-frysk20070405cvs.patch
5568974
    as even frysk-0.4-8.fc11 still has this library bundled statically.
5568974
- Disable the testsuite by default during the build.
5568974
  - It should be run separately as it crashes some ia64 kernels.
5568974
  - Drop the patch libunwind-snap-070224-orphanripper.patch.
5568974
- Drop the patch libunwind-snap-070224-dprintf-vs-stdio.h as no longer needed.
5568974
- Drop libunwind-snap-070224-multilib-rh342451.patch as accepted upstream.
5568974
- Fix and enable ppc (ppc32) arch.
5568974
69918d7
* Tue Mar  3 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 0.99-0.8.frysk20070405cvs
69918d7
- Fix .spec ExclusiveArch from i386 to %%{ix86}.
69918d7
- Remove `BuildRequires: glibc gcc make tar gzip' - minimum build environment.
69918d7
16e6870
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99-0.7.frysk20070405cvs
16e6870
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
16e6870
82b9074
* Mon Sep 22 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 0.99-0.6.frysk20070405cvs
82b9074
- Fix build error due to a `dprintf' conflict on recent glibc.
82b9074
- New rpmbuild parameter: --without check
82b9074
8cfbeef
* Sun Feb 24 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 0.99-0.5.frysk20070405cvs
8cfbeef
- Fix the multilib conflicts (BZ 342451).
8cfbeef
9f01fb1
* Sun Feb 24 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 0.99-0.4.frysk20070405cvs
9f01fb1
- Abort the possibly hung up testcases after 120 seconds (BZ 427850, BZ 434147).
9f01fb1
5198241
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.99-0.3.frysk20070405cvs
5198241
- Autorebuild for GCC 4.3
5198241
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