]> git.pld-linux.org Git - packages/dwz.git/blob - dwz.spec
up to 0.15
[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.15
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:  d2867986d0df78bfbc22587628873fae
10 URL:            http://www.sourceware.org/dwz/
11 BuildRequires:  elfutils-devel
12 BuildRequires:  tar >= 1:1.22
13 BuildRequires:  xxHash-devel
14 BuildRequires:  xz
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
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
38 %prep
39 %setup -q -n %{name}
40
41 %build
42 %{__make} \
43         CC="%{__cc}" \
44         CFLAGS="%{rpmcflags}" \
45         prefix=%{_prefix}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} install \
51         prefix=%{_prefix} \
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*
This page took 0.127398 seconds and 4 git commands to generate.