]>
Commit | Line | Data |
---|---|---|
dca65dd8 | 1 | Summary: DWARF optimization and duplicate removal tool |
0836885d | 2 | Summary(pl.UTF-8): Narzędzie do optymalizacji DWARF i usuwania duplikatów |
dca65dd8 | 3 | Name: dwz |
99953bfb | 4 | Version: 0.15 |
dca65dd8 | 5 | Release: 1 |
0836885d | 6 | License: GPL v2+ and GPL v3+ with GCC Runtime Library Exception v3.1 |
dca65dd8 | 7 | Group: Development/Tools |
0836885d | 8 | Source0: ftp://sourceware.org/pub/dwz/releases/%{name}-%{version}.tar.xz |
99953bfb | 9 | # Source0-md5: d2867986d0df78bfbc22587628873fae |
0836885d | 10 | URL: http://www.sourceware.org/dwz/ |
dca65dd8 | 11 | BuildRequires: elfutils-devel |
0836885d | 12 | BuildRequires: tar >= 1:1.22 |
99953bfb | 13 | BuildRequires: xxHash-devel |
0836885d | 14 | BuildRequires: xz |
dca65dd8 ER |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
18 | The dwz package contains a program that attempts to optimize DWARF | |
19 | debugging information contained in ELF shared libraries and ELF | |
20 | executables for size, by replacing DWARF information representation | |
21 | with equivalent smaller representation where possible and by reducing | |
22 | the amount of duplication using techniques from DWARF standard | |
23 | appendix E - creating DW_TAG_partial_unit compilation units (CUs) for | |
24 | duplicated information and using DW_TAG_imported_unit to import it | |
25 | into each CU that needs it. | |
26 | ||
0836885d JB |
27 | %description -l pl.UTF-8 |
28 | Pakiet dwz zawiera program próbujący zoptymalizować informacje DWARF | |
29 | dla debuggerów, zawarte w bibliotekach współdzielonych i plikach | |
30 | wykonywalnych ELF, pod kątem rozmiaru, zastępując reprezentację | |
31 | informacji DWARF równoważną o mniejszym rozmiarze oraz zmniejszając | |
32 | stopień duplikacji przy użyciu technik opisanych w załączniku E do | |
33 | standardu DWARF - poprzez tworzenie jednostek kompilacji (CU) | |
34 | DW_TAG_partial_unit dla informacji zduplikowanych oraz używanie | |
35 | DW_TAG_imported_unit do importowania ich w każdej CU, która ich | |
36 | wymaga. | |
37 | ||
dca65dd8 | 38 | %prep |
0836885d | 39 | %setup -q -n %{name} |
dca65dd8 ER |
40 | |
41 | %build | |
42 | %{__make} \ | |
43 | CC="%{__cc}" \ | |
44 | CFLAGS="%{rpmcflags}" \ | |
0836885d | 45 | prefix=%{_prefix} |
dca65dd8 ER |
46 | |
47 | %install | |
48 | rm -rf $RPM_BUILD_ROOT | |
0836885d | 49 | |
dca65dd8 ER |
50 | %{__make} install \ |
51 | prefix=%{_prefix} \ | |
dca65dd8 ER |
52 | DESTDIR=$RPM_BUILD_ROOT |
53 | ||
54 | %clean | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %files | |
58 | %defattr(644,root,root,755) | |
59 | %doc COPYING.RUNTIME | |
60 | %attr(755,root,root) %{_bindir}/dwz | |
61 | %{_mandir}/man1/dwz.1* |