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