]> git.pld-linux.org Git - packages/debugedit.git/blob - debugedit.spec
make debuginfo extraction applicable to shared objects and executables only; rel 3
[packages/debugedit.git] / debugedit.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # build without tests
4 #
5 Summary:        Tools for debuginfo creation
6 Summary(pl.UTF-8):      Narzędzia do tworzenia plików z danymi dla debuggerów
7 Name:           debugedit
8 Version:        5.0
9 Release:        3
10 License:        GPL v3+, GPL v2+
11 Group:          Development/Tools
12 Source0:        https://sourceware.org/ftp/debugedit/%{version}/%{name}-%{version}.tar.xz
13 # Source0-md5:  9961a1ae59b6417d27e3a646dc4078b7
14 Patch0:         0001-tests-Handle-zero-directory-entry-in-.debug_line-DWA.patch
15 Patch1:         no-exe-for-elf-debuginfo.patch
16 URL:            https://sourceware.org/debugedit/
17 BuildRequires:  autoconf >= 1.69
18 BuildRequires:  automake >= 1:1.11
19 BuildRequires:  elfutils-devel
20 BuildRequires:  help2man
21 BuildRequires:  pkgconfig
22 BuildRequires:  tar >= 1:1.22
23 BuildRequires:  xz
24 Requires:       awk
25 Requires:       binutils
26 Requires:       coreutils
27 Requires:       dwz
28 Requires:       elfutils
29 Requires:       findutils
30 Requires:       grep
31 Requires:       sed
32 Requires:       xz
33 Suggests:       gdb
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %description
37 Debugedit provides programs and scripts for creating debuginfo and
38 source file distributions, collect build-ids and rewrite source paths
39 in DWARF data for debugging, tracing and profiling.
40
41 %description -l pl.UTF-8
42 Ten pakiet zawiera programy i skrypty do tworzenia pakietów z plikami
43 debuginfo i źródłowymi, zbierania build-id oraz przepisywania ścieżek
44 do źródeł w danych DWARF w celu diagnozowania błędów, śledzenia i
45 profilowania oprogramowania.
46
47 %prep
48 %setup -q
49 %patch0 -p1
50 %patch1 -p1
51
52 %build
53 %{__aclocal}
54 %{__autoconf}
55 %{__automake}
56 %configure \
57         --disable-silent-rules
58 %{__make}
59
60 %{?with_tests:%{__make} check}
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64
65 %{__make} install \
66         DESTDIR=$RPM_BUILD_ROOT
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %files
72 %defattr(644,root,root,755)
73 %doc README
74 %attr(755,root,root) %{_bindir}/debugedit
75 %attr(755,root,root) %{_bindir}/find-debuginfo
76 %attr(755,root,root) %{_bindir}/sepdebugcrcfix
77 %{_mandir}/man1/debugedit.1*
78 %{_mandir}/man1/find-debuginfo.1*
79 %{_mandir}/man1/sepdebugcrcfix.1*
This page took 0.116238 seconds and 3 git commands to generate.