]> git.pld-linux.org Git - packages/dwz.git/blame - dwz.spec
updated to 0.11.
[packages/dwz.git] / dwz.spec
CommitLineData
dca65dd8
ER
1Summary: DWARF optimization and duplicate removal tool
2Name: dwz
4e07ed19 3Version: 0.11
dca65dd8
ER
4Release: 1
5License: GPL v2+ and GPL v3+
6Group: Development/Tools
7# git archive --format=tar --remote=git://sourceware.org/git/dwz.git \
8# --prefix=%{name}-%{version}/ %{name}-%{version} \
9# | bzip2 -9 > %{name}-%{version}.tar.bz2
10# using fedora tarballs from http://pkgs.fedoraproject.org/repo/pkgs/dwz/
11Source0: %{name}-%{version}.tar.bz2
4e07ed19 12# Source0-md5: 69944ddd03b259eace1370e94e6dd955
dca65dd8
ER
13BuildRequires: elfutils-devel
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17The dwz package contains a program that attempts to optimize DWARF
18debugging information contained in ELF shared libraries and ELF
19executables for size, by replacing DWARF information representation
20with equivalent smaller representation where possible and by reducing
21the amount of duplication using techniques from DWARF standard
22appendix E - creating DW_TAG_partial_unit compilation units (CUs) for
23duplicated information and using DW_TAG_imported_unit to import it
24into each CU that needs it.
25
26%prep
27%setup -q
28
29%build
30%{__make} \
31 CC="%{__cc}" \
32 CFLAGS="%{rpmcflags}" \
33 prefix=%{_prefix} \
34 mandir=%{_mandir} \
35 bindir=%{_bindir} \
36 %{nil}
37
38%install
39rm -rf $RPM_BUILD_ROOT
40%{__make} install \
41 prefix=%{_prefix} \
42 mandir=%{_mandir} \
43 bindir=%{_bindir} \
44 DESTDIR=$RPM_BUILD_ROOT
45
46%clean
47rm -rf $RPM_BUILD_ROOT
48
49%files
50%defattr(644,root,root,755)
51%doc COPYING.RUNTIME
52%attr(755,root,root) %{_bindir}/dwz
53%{_mandir}/man1/dwz.1*
This page took 0.092233 seconds and 4 git commands to generate.