Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Maintenance:12.2_ArchPorts
libunwind
libunwind.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libunwind.spec of Package libunwind
# # spec file for package libunwind # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: libunwind BuildRequires: gcc-c++ BuildRequires: libtool Url: http://savannah.nongnu.org/projects/libunwind/ Summary: Unwind Library License: MIT Group: System/Base Version: 1.0.1 Release: 0 Source: libunwind-%{version}.tar.gz Patch0: libunwind-1.0.1-ia64.diff Patch1: libunwind-1.0.1-memset.diff Patch2: libunwind-1.0.1-tests.diff Patch3: 20120704_fix_arm_ftbfs.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: %ix86 ia64 x86_64 %arm %description A portable and efficient C programming interface (API) to determine the call chain of a program. Authors: -------- David Mosberger <David.Mosberger@acm.org> %package devel Summary: Unwind library Group: Development/Libraries/C and C++ Requires: libunwind = %{version}-%{release} Provides: libunwind:%{_libdir}/libunwind.so %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 %patch0 -p1 %patch1 -p1 %patch2 %patch3 -p1 # %patch %build autoreconf -fi export CFLAGS="%optflags -U_FORTIFY_SOURCE" %configure make %{?_smp_mflags} %check %if ! 0%{?qemu_user_space_build:1} # There are some expected failures make -k check || : %endif %install make install DESTDIR=$RPM_BUILD_ROOT rm -f "%buildroot/%_libdir"/*.la mkdir -p $RPM_BUILD_ROOT/%{_lib} mv $RPM_BUILD_ROOT%{_libdir}/libunwind.so.8* $RPM_BUILD_ROOT/%{_lib} ln -sf /%{_lib}/libunwind.so.8 $RPM_BUILD_ROOT%{_libdir}/libunwind.so # Check that ln did not create a dangling link stat "%buildroot"/$(readlink -f "%buildroot/%_libdir/libunwind.so"); %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-, root, root) /%_lib/lib* %{_libdir}/lib*.so.* %{_libdir}/libunwind.so %files devel %defattr(-, root, root) %{_prefix}/include/* %{_libdir}/lib*.a %{_libdir}/libunwind-*.so %doc %{_mandir}/man?/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor