Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
dwarves
dwarves.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dwarves.spec of Package dwarves
# # spec file for package dwarves # # 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: dwarves Url: http://acmel.wordpress.com/ Summary: DWARF utilities License: GPL-2.0 Group: Development/Tools/Debuggers Version: 1.10 Release: 0 #Git-Clone: git://git.kernel.org/pub/scm/linux/kernel/git/acme/pahole #DL-URL: http://fedorapeople.org/~acme/dwarves/ Source: http://fedorapeople.org/~acme/dwarves/%{name}-%{version}.tar.bz2 Source2: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: cmake BuildRequires: libdw-devel >= 0.142 BuildRequires: libdwarf-devel BuildRequires: libebl-devel BuildRequires: libelf-devel BuildRequires: zlib-devel # Also known by its most prominent tool Provides: pahole = %version-%release %description dwarves is a set of tools that use the DWARF debugging information inserted in ELF binaries by compilers such as GCC, used by well known debuggers such as GDB, and more recent ones such as systemtap. Utilities in the dwarves suite include pahole, that can be used to find alignment holes in structs and classes in languages such as C, C++, but not limited to these. It also extracts other information such as CPU cacheline alignment, helping pack those structures to achieve more cache hits. A diff like tool, codiff can be used to compare the effects changes in source code generate on the resulting binaries. Another tool is pfunct, that can be used to find all sorts of information about functions, inlines, decisions made by the compiler about inlining, etc. The documentation about ctracer is not updated to the latest developments: it now generates systemtap scripts, stay tuned for improvements in this area! %package -n libdwarves1 Summary: DWARF processing libraries of dwarves tools Group: System/Libraries %description -n libdwarves1 This package contains the libdwarves shared library for the dwarves toolset, providing processing for DWARF, a debugging data format for ELF files. dwarves is a set of tools that use the DWARF debugging information inserted in ELF binaries by compilers such as GCC, used by well known debuggers such as GDB, and more recent ones such as systemtap. %package -n libdwarves-devel Summary: DWARF processing library development files Group: Development/Libraries Requires: libdwarves1 = %{version}-%{release} %description -n libdwarves-devel This package contains the development files for libdwarves, a library for processing DWARF, a debugging data format for ELF files. %prep %setup -q -c %build export CFLAGS="$RPM_OPT_FLAGS" cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -D__LIB=%{_lib} . make %{?_smp_mflags} %install make DESTDIR=%{buildroot} install %post -n libdwarves1 -p /sbin/ldconfig %postun -n libdwarves1 -p /sbin/ldconfig %files %defattr(-,root,root) %doc README NEWS %{_bindir}/* %{_mandir}/man*/* %files -n libdwarves1 %defattr(-,root,root) %{_libdir}/*.so.* %files -n libdwarves-devel %defattr(-,root,root) %{_libdir}/*.so %{_includedir}/* %{_datadir}/%{name} %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