1 Summary: A collection of utilities and DSOs to handle compiled objects.
6 Group: Development/Tools
7 #URL: file://home/devel/drepper
8 Source0: %{name}-%{version}.tar.gz
9 Requires: elfutils-libelf = %{version}-%{release}
10 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
11 BuildRequires: gcc >= 3.2
12 BuildRequires: sharutils
14 %define _programprefix eu-
17 Elfutils is a collection of utilities, including ld (a linker), nm
18 (for listing symbols from object files), size (for listing the section
19 sizes of an object or archive file), strip (for discarding symbols),
20 readline (the see the raw ELF file structures), and elflint (to check
21 for well-formed ELF files). Also included are numerous helper
22 libraries which implement DWARF, ELF, and machine-specific ELF
26 Summary: Development libraries to handle compiled objects.
27 Group: Development/Tools
28 Obsoletes: libelf-devel
29 Requires: elfutils = %{version}-%{release}
32 The elfutils-devel package contains the libraries to create
33 applications for handling compiled objects. libelf allows you to
34 access the internals of the ELF object file format, so you can see the
35 different sections of an ELF file. libebl provides some higher-level
36 ELF access functionality. libdwarf provides access to the DWARF
37 debugging information. libasm provides a programmable assembler
41 Summary: Library to read and write ELF files.
42 Group: Development/Tools
46 The elfutils-libelf package provides a DSO which allows reading and
47 writing ELF files on a high level. Third party programs depend on this
48 package to read internals of ELF files. The programs of the elfutils
49 package use it also to generate new ELF files.
52 Summary: Development libraries to handle compiled objects - static.
53 Group: Development/Tools
54 Obsoletes: libelf-static
55 Requires: elfutils-devel = %{version}-%{release}
58 The elfutils-static package contains the static libraries to create
59 applications for handling compiled objects. libelf allows you to
60 access the internals of the ELF object file format, so you can see the
61 different sections of an ELF file. libebl provides some higher-level
62 ELF access functionality. libdwarf provides access to the DWARF
63 debugging information. libasm provides a programmable assembler
76 --program-prefix=%{_programprefix} \
80 rm -rf $RPM_BUILD_ROOT
81 install -d ${RPM_BUILD_ROOT}%{_prefix}
84 DESTDIR=$RPM_BUILD_ROOT
86 chmod +x ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/lib*.so*
87 chmod +x ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/elfutils/lib*.so*
93 rm -rf ${RPM_BUILD_ROOT}
95 %post -p /sbin/ldconfig
97 %postun -p /sbin/ldconfig
99 %post libelf -p /sbin/ldconfig
101 %postun libelf -p /sbin/ldconfig
104 %defattr(644,root,root,755)
106 %attr(755,root,root) %{_bindir}/*
107 %attr(755,root,root) %{_libdir}/lib*-*.so
108 %dir %{_libdir}/elfutils
109 %attr(755,root,root) %{_libdir}/elfutils/lib*.so
110 %exclude %{_libdir}/libelf-*.so
113 %defattr(644,root,root,755)
114 %doc libdwarf/AVAILABLE
117 %exclude %{_libdir}/lib*-*.so
120 %defattr(644,root,root,755)
121 %{_libdir}/libelf-*.so
124 %defattr(644,root,root,755)