1 Summary: Library to read DWARF debug information of an ELF object
2 Summary(pl.UTF-8): Biblioteka do odczytu informacji debugowych DWARF z obiektów ELF
6 License: LGPL v2.1 (library), GPL v2 (utilities)
8 #Source0Download: https://www.prevanders.net/dwarf.html
9 Source0: https://www.prevanders.net/%{name}-%{version}.tar.gz
10 # Source0-md5: f5927304b32525f93bccefe2828e802d
11 URL: https://www.prevanders.net/dwarf.html
12 BuildRequires: elfutils-devel
13 BuildRequires: libstdc++-devel
14 BuildRequires: zlib-devel
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Library to read DWARF debug information of an ELF object.
20 %description -l pl.UTF-8
21 Biblioteka do odczytu informacji debugowych DWARF z obiektów ELF.
24 Summary: Header files for libdwarf library
25 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libdwarf
26 Group: Development/Libraries
27 Requires: %{name} = %{version}-%{release}
28 Requires: elfutils-devel
32 Header files for libdwarf library.
34 %description devel -l pl.UTF-8
35 Pliki nagłówkowe biblioteki libdwarf.
38 Summary: Static libdwarf library
39 Summary(pl.UTF-8): Statyczna biblioteka libdwarf
40 Group: Development/Libraries
41 Requires: %{name}-devel = %{version}-%{release}
44 Static libdwarf library.
46 %description static -l pl.UTF-8
47 Statyczna biblioteka libdwarf.
50 Summary: Tool for dumps DWARF debug information of an ELF object
51 Summary(pl.UTF-8): Narzędzie wypisujące informacje debugowe DWARF z obiektów ELF
53 Group: Development/Tools
55 %description -n dwarfdump
56 Tool for dumps DWARF debug information of an ELF object.
58 %description -n dwarfdump -l pl.UTF-8
59 Narzędzie wypisujące informacje debugowe DWARF z obiektów ELF.
67 --disable-silent-rules
72 rm -rf $RPM_BUILD_ROOT
75 DESTDIR=$RPM_BUILD_ROOT
77 # (another implementation) provided by elfutils
78 %{__rm} $RPM_BUILD_ROOT%{_includedir}/dwarf.h
81 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/libdwarf/libdwarf-devel
84 rm -rf $RPM_BUILD_ROOT
86 %post -p /sbin/ldconfig
87 %postun -p /sbin/ldconfig
90 %defattr(644,root,root,755)
91 %doc libdwarf/{CHANGES,COPYING,ChangeLog*,NEWS,README}
92 %attr(755,root,root) %{_libdir}/libdwarf.so.*.*
93 %attr(755,root,root) %ghost %{_libdir}/libdwarf.so.1
96 %defattr(644,root,root,755)
97 %doc libdwarf/libdwarf*.pdf
98 %attr(755,root,root) %{_libdir}/libdwarf.so
99 %{_libdir}/libdwarf.la
100 %{_includedir}/libdwarf.h
103 %defattr(644,root,root,755)
104 %{_libdir}/libdwarf.a
107 %defattr(644,root,root,755)
108 %doc dwarfdump/{COPYING,ChangeLog*,NEWS,README}
109 %attr(755,root,root) %{_bindir}/dwarfdump
110 %{_datadir}/dwarfdump
111 %{_mandir}/man1/dwarfdump.1*
114 # not really useful yet
116 %defattr(644,root,root,755)
117 %doc dwarfgen/{COPYING,ChangeLog,README}
118 %{_sysconfdir}/dwarfgen.conf
119 %attr(755,root,root) %{_bindir}/dwarfgen
120 %{_mandir}/man1/dwarfgen.1*