- Initial package
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/dwz?expand=0&rev=1
This commit is contained in:
commit
3cb9e8aa3c
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
dwz-0.2.tar.xz
Normal file
3
dwz-0.2.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4be392382a85d0baeb9492ba20e9d73da3163844381e98caf2b004e220c46e80
|
||||||
|
size 146428
|
6
dwz.changes
Normal file
6
dwz.changes
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 27 14:04:01 CEST 2012 - pth@suse.de
|
||||||
|
|
||||||
|
- Initial package
|
||||||
|
|
||||||
|
|
67
dwz.spec
Normal file
67
dwz.spec
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
#
|
||||||
|
# spec file for package [spectemplate]
|
||||||
|
#
|
||||||
|
# Copyright (c) 2012 openSUSE
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
|
# norootforbuild
|
||||||
|
|
||||||
|
Name: dwz
|
||||||
|
Group: Development/Tools/Building
|
||||||
|
Version: 0.2
|
||||||
|
Release: 1
|
||||||
|
Summary: A DWARF optimizer
|
||||||
|
License: GPL-2.0
|
||||||
|
Source0: %{name}-%{version}.tar.xz
|
||||||
|
BuildRequires: libelf-devel
|
||||||
|
|
||||||
|
%description
|
||||||
|
Dwz is a program that attempts to optimize DWARF debugging information
|
||||||
|
contained in ELF shared libraries and ELF executables for size, by
|
||||||
|
replacing DWARF information representation with equivalent smaller
|
||||||
|
representation where possible and by reducing the amount of duplication
|
||||||
|
using techniques from the DWARF standard appendix E - creating
|
||||||
|
DW_TAG_partial_unit compilation units (CUs) for duplicated information and using
|
||||||
|
DW_TAG_imported_unit to import it into each CU that needs it.
|
||||||
|
|
||||||
|
The tool handles DWARF 32-bit format debugging sections of versions
|
||||||
|
2, 3 and 4 and GNU extensions on top of those, though using DWARF 4
|
||||||
|
or worst case DWARF 3 is strongly recommended.
|
||||||
|
|
||||||
|
When not using the -m option (multifile mode), GDB CVS snapshot (soon to be
|
||||||
|
7.5) is sufficient, when using -m option, GDB from a git branch
|
||||||
|
http://sources.redhat.com/git/?p=archer.git;a=shortlog;h=refs/heads/archer-tromey-dwz-multifile
|
||||||
|
is needed.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
%makeinstall
|
||||||
|
gzip -9 %{buildroot}/%{_mandir}/man1/dwz.1
|
||||||
|
|
||||||
|
%clean
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc COPYING
|
||||||
|
%{_bindir}/dwz
|
||||||
|
%{_mandir}/man1/dwz.1.gz
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user