forked from pool/dwarves
Accepting request 78543 from home:jengelh:dev
- Update to new upstream release 1.9 * Add the "scncopy" tool - like object copy but tries not to change section content * pfunct: Introduce the -P option * dwarves fprintf: Add extra GNU tags - Update group and description with something more detailed - Remove redundant %clean section - Strip duplicate changelog - Remove redundant manual requires on libraries OBS-URL: https://build.opensuse.org/request/show/78543 OBS-URL: https://build.opensuse.org/package/show/devel:tools/dwarves?expand=0&rev=7
This commit is contained in:
parent
f7508ef6ab
commit
f80d52b5ac
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1d876e35958cc1d39e80a016d991e825909a56188c7b066d5471e2c15d9f1fb2
|
||||
size 93689
|
3
dwarves-1.9.tar.bz2
Normal file
3
dwarves-1.9.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1161337928e06a1c2b5caf418aca2ba38f03fca586e1a469e722bc23b95e6935
|
||||
size 96125
|
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 11 14:47:15 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
- Update to new upstream release 1.9
|
||||
* Add the "scncopy" tool - like object copy but tries not to change
|
||||
section content
|
||||
* pfunct: Introduce the -P option
|
||||
* dwarves fprintf: Add extra GNU tags
|
||||
- Update group and description with something more detailed
|
||||
- Remove redundant %clean section
|
||||
- Strip duplicate changelog
|
||||
- Remove redundant manual requires on libraries
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 13 16:37:41 UTC 2011 - mgorman@suse.de
|
||||
|
||||
|
70
dwarves.spec
70
dwarves.spec
@ -11,22 +11,45 @@
|
||||
# norootforbuild
|
||||
|
||||
Name: dwarves
|
||||
Url: http://oops.ghostprotocols.net:81/blog
|
||||
URL: http://fedorapeople.org/~acme/dwarves/
|
||||
Summary: DWARF utilities
|
||||
Version: 1.8
|
||||
Release: 2
|
||||
Version: 1.9
|
||||
Release: 0
|
||||
License: GPLv2
|
||||
Group: System/Libraries
|
||||
Group: Development/Tools/Debuggers
|
||||
|
||||
#Git-Clone: git://git.kernel.org/pub/scm/linux/kernel/git/acme/pahole
|
||||
#DL-URL: http://fedorapeople.org/~acme/dwarves/dwarves-1.9.tar.bz2
|
||||
Source: http://fedorapeople.org/~acme/dwarves/%{name}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: cmake libdw-devel libdwarf-devel libebl-devel libelf-devel
|
||||
BuildRequires: libelf zlib-devel
|
||||
Requires: libdwarves1 = %{version}
|
||||
%requires_eq libebl
|
||||
%requires_eq libdwarf
|
||||
BuildRequires: zlib-devel
|
||||
# Also known by its most prominent tool
|
||||
Provides: pahole = %version-%release
|
||||
|
||||
%description
|
||||
DWARF utitlies
|
||||
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!
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
@ -34,10 +57,16 @@ Authors:
|
||||
|
||||
%package -n libdwarves1
|
||||
Summary: DWARF processing libraries of dwarves tools
|
||||
Group: Development/Libraries
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libdwarves1
|
||||
DWARF library of dwarves tools
|
||||
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
|
||||
@ -45,7 +74,8 @@ Group: Development/Libraries
|
||||
Requires: libdwarves1 = %{version}-%{release}
|
||||
|
||||
%description -n libdwarves-devel
|
||||
DWARF processing library development files
|
||||
This package contains the development files for libdwarves, a library
|
||||
for processing DWARF, a debugging data format for ELF files.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
@ -66,28 +96,20 @@ make DESTDIR=%{buildroot} install
|
||||
|
||||
%postun -n libdwarves1 -p /sbin/ldconfig
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README NEWS
|
||||
%{_bindir}/*
|
||||
%{_mandir}/man1/pahole.1*
|
||||
%{_mandir}/man*/*
|
||||
|
||||
%files -n libdwarves1
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/*.*so.*
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files -n libdwarves-devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/*.*so
|
||||
%{_libdir}/*.so
|
||||
%{_includedir}/*
|
||||
%dir %{_datadir}/%{name}
|
||||
%{_datadir}/%{name}/*
|
||||
%{_datadir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Fri Feb 29 2008 dmueller@suse.de
|
||||
- update to 1.6 release
|
||||
* Sat Dec 01 2007 dgollub@suse.de
|
||||
- initial package of dwarves
|
||||
|
Loading…
Reference in New Issue
Block a user