1 Summary: A collection of utilities and DSOs to handle compiled objects.
6 Group: Development/Tools
7 #URL: file://home/devel/drepper
8 Source: elfutils-%{version}.tar.gz
9 Obsoletes: libelf libelf-devel
10 Requires: elfutils-libelf = %{version}-%{release}
14 BuildRoot: %{_tmppath}/%{name}-root
15 BuildRequires: gcc >= 3.2
16 BuildRequires: sharutils
19 %define _programprefix eu-
22 Elfutils is a collection of utilities, including ld (a linker),
23 nm (for listing symbols from object files), size (for listing the
24 section sizes of an object or archive file), strip (for discarding
25 symbols), readline (the see the raw ELF file structures), and elflint
26 (to check for well-formed ELF files). Also included are numerous
27 helper libraries which implement DWARF, ELF, and machine-specific ELF
31 Summary: Development libraries to handle compiled objects.
32 Group: Development/Tools
33 Requires: elfutils = %{version}-%{release}
36 The elfutils-devel package contains the libraries to create
37 applications for handling compiled objects. libelf allows you to
38 access the internals of the ELF object file format, so you can see the
39 different sections of an ELF file. libebl provides some higher-level
40 ELF access functionality. libdwarf provides access to the DWARF
41 debugging information. libasm provides a programmable assembler
45 Summary: Library to read and write ELF files.
46 Group: Development/Tools
49 The elfutils-libelf package provides a DSO which allows reading and
50 writing ELF files on a high level. Third party programs depend on
51 this package to read internals of ELF files. The programs of the
52 elfutils package use it also to generate new ELF files.
58 mkdir build-%{_target_platform}
59 cd build-%{_target_platform}
61 --prefix=%{_prefix} --exec-prefix=%{_exec_prefix} \
62 --bindir=%{_bindir} --sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} \
63 --datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir} \
64 --libexecdir=%{_libexecdir} --localstatedir=%{_localstatedir} \
65 --sharedstatedir=%{_sharedstatedir} --mandir=%{_mandir} \
66 --infodir=%{_infodir} --program-prefix=%{_programprefix} --enable-shared
70 rm -rf ${RPM_BUILD_ROOT}
71 mkdir -p ${RPM_BUILD_ROOT}%{_prefix}
73 cd build-%{_target_platform}
77 chmod +x ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/lib*.so*
78 chmod +x ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/elfutils/lib*.so*
82 # XXX Nuke unpackaged files
83 { cd ${RPM_BUILD_ROOT}
84 rm -f .%{_bindir}/eu-ld
85 rm -f .%{_includedir}/elfutils/libasm.h
86 rm -f .%{_includedir}/elfutils/libdw.h
87 rm -f .%{_includedir}/elfutils/libdwarf.h
88 rm -f .%{_libdir}/libasm-%{version}.so
89 rm -f .%{_libdir}/libasm.a
90 rm -f .%{_libdir}/libdw-%{version}.so
91 rm -f .%{_libdir}/libdw.a
92 rm -f .%{_libdir}/libdwarf.a
96 cd build-%{_target_platform}
100 rm -rf ${RPM_BUILD_ROOT}
102 %post -p /sbin/ldconfig
104 %postun -p /sbin/ldconfig
106 %post libelf -p /sbin/ldconfig
108 %postun libelf -p /sbin/ldconfig
111 %defattr(-,root,root)
112 %doc README TODO libdwarf/AVAILABLE
113 %{_bindir}/eu-elflint
116 %{_bindir}/eu-readelf
119 #%{_libdir}/libasm-%{version}.so
120 %{_libdir}/libebl-%{version}.so
121 #%{_libdir}/libdw-%{version}.so
122 %{_libdir}/libdwarf-%{version}.so
123 #%{_libdir}/libasm*.so.*
124 %{_libdir}/libebl*.so.*
125 #%{_libdir}/libdw*.so.*
126 %{_libdir}/libdwarf*.so.*
127 %dir %{_libdir}/elfutils
128 %{_libdir}/elfutils/lib*.so
131 %defattr(-,root,root)
132 %{_includedir}/dwarf.h
133 %{_includedir}/libelf.h
134 %{_includedir}/gelf.h
135 %{_includedir}/nlist.h
136 %dir %{_includedir}/elfutils
137 %{_includedir}/elfutils/elf-knowledge.h
138 %{_includedir}/elfutils/libebl.h
143 #%{_libdir}/libasm.so
147 #%{_libdir}/libdwarf.so
150 %defattr(-,root,root)
151 %{_libdir}/libelf-%{version}.so
152 %{_libdir}/libelf*.so.*
155 * Mon Feb 24 2003 Elliot Lee <sopwith@redhat.com>
158 * Thu Feb 20 2003 Jeff Johnson <jbj@redhat.com> 0.76-2
159 - use the correct way of identifying the section via the sh_info link.
161 * Sat Feb 15 2003 Jakub Jelinek <jakub@redhat.com> 0.75-2
162 - update to 0.75 (eu-strip -g fix)
164 * Tue Feb 11 2003 Jakub Jelinek <jakub@redhat.com> 0.74-2
165 - update to 0.74 (fix for writing with some non-dirty sections)
167 * Thu Feb 6 2003 Jeff Johnson <jbj@redhat.com> 0.73-3
168 - another -0.73 update (with sparc fixes).
169 - do "make check" in %%check, not %%install, section.
171 * Mon Jan 27 2003 Jeff Johnson <jbj@redhat.com> 0.73-2
172 - update to 0.73 (with s390 fixes).
174 * Wed Jan 22 2003 Tim Powers <timp@redhat.com>
177 * Wed Jan 22 2003 Jakub Jelinek <jakub@redhat.com> 0.72-4
178 - fix arguments to gelf_getsymshndx and elf_getshstrndx
180 - reenable checks on s390x
182 * Sat Jan 11 2003 Karsten Hopp <karsten@redhat.de> 0.72-3
183 - temporarily disable checks on s390x, until someone has
186 * Thu Dec 12 2002 Jakub Jelinek <jakub@redhat.com> 0.72-2
189 * Wed Dec 11 2002 Jakub Jelinek <jakub@redhat.com> 0.71-2
192 * Wed Dec 11 2002 Jeff Johnson <jbj@redhat.com> 0.69-4
194 - add "make check" and segfault avoidance patch.
195 - elfutils-libelf needs to run ldconfig.
197 * Tue Dec 10 2002 Jeff Johnson <jbj@redhat.com> 0.68-2
200 * Fri Dec 6 2002 Jeff Johnson <jbj@redhat.com> 0.67-2
203 * Tue Dec 3 2002 Jeff Johnson <jbj@redhat.com> 0.65-2
206 * Mon Dec 2 2002 Jeff Johnson <jbj@redhat.com> 0.64-2
209 * Sun Dec 1 2002 Ulrich Drepper <drepper@redhat.com> 0.64
210 - split packages further into elfutils-libelf
212 * Sat Nov 30 2002 Jeff Johnson <jbj@redhat.com> 0.63-2
215 * Fri Nov 29 2002 Ulrich Drepper <drepper@redhat.com> 0.62
216 - Adjust for dropping libtool
218 * Sun Nov 24 2002 Jeff Johnson <jbj@redhat.com> 0.59-2
221 * Thu Nov 14 2002 Jeff Johnson <jbj@redhat.com> 0.56-2
224 * Thu Nov 7 2002 Jeff Johnson <jbj@redhat.com> 0.54-2
227 * Sun Oct 27 2002 Jeff Johnson <jbj@redhat.com> 0.53-2
229 - drop x86_64 hack, ICE fixed in gcc-3.2-11.
231 * Sat Oct 26 2002 Jeff Johnson <jbj@redhat.com> 0.52-3
232 - get beehive to punch a rhpkg generated package.
234 * Wed Oct 23 2002 Jeff Johnson <jbj@redhat.com> 0.52-2
236 - x86_64: avoid gcc-3.2 ICE on x86_64 for now.
238 * Tue Oct 22 2002 Ulrich Drepper <drepper@redhat.com> 0.52
239 - Add libelf-devel to conflicts for elfutils-devel
241 * Mon Oct 21 2002 Ulrich Drepper <drepper@redhat.com> 0.50
242 - Split into runtime and devel package
244 * Fri Oct 18 2002 Ulrich Drepper <drepper@redhat.com> 0.49
245 - integrate into official sources
247 * Wed Oct 16 2002 Jeff Johnson <jbj@redhat.com> 0.46-1